Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 427
- Log:
Version 1.0.1 of the Hub application, which adds reCaptcha
verification to the sign-up form. Implemented after spambots
attacked the ROOL site and signed up hundreds of bogus users.
- Author:
- rool
- Date:
- Tue Aug 30 11:48:22 +0100 2011
- Size:
- 1586 Bytes
1 | require 'rake' |
2 | |
3 | begin |
4 | require 'jeweler' |
5 | Jeweler::Tasks.new do |gem| |
6 | gem.name = "recaptcha" |
7 | gem.description = "This plugin adds helpers for the reCAPTCHA API " |
8 | gem.summary = "Helpers for the reCAPTCHA API" |
9 | gem.homepage = "http://ambethia.com/recaptcha" |
10 | gem.authors = ["Jason L. Perry"] |
11 | gem.email = "jasper@ambethia.com" |
12 | gem.files.reject! { |fn| fn.include? ".gitignore" } |
13 | gem.add_development_dependency "mocha" |
14 | gem.add_development_dependency "activesupport" |
15 | end |
16 | Jeweler::GemcutterTasks.new |
17 | rescue LoadError |
18 | puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" |
19 | end |
20 | |
21 | require 'rake/rdoctask' |
22 | Rake::RDocTask.new do |rd| |
23 | if File.exist?('VERSION.yml') |
24 | config = YAML.load(File.read('VERSION.yml')) |
25 | version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" |
26 | else |
27 | version = "" |
28 | end |
29 | |
30 | rd.main = "README.rdoc" |
31 | rd.rdoc_files.include "README.rdoc", "LICENSE", "lib/**/*.rb" |
32 | rd.rdoc_dir = 'rdoc' |
33 | rd.options << '-N' # line numbers |
34 | rd.options << '-S' # inline source |
35 | end |
36 | |
37 | require 'rake/testtask' |
38 | Rake::TestTask.new(:test) do |test| |
39 | test.libs << 'test' |
40 | test.pattern = 'test/**/*_test.rb' |
41 | # test.verbose = true |
42 | end |
43 | |
44 | begin |
45 | require 'rcov/rcovtask' |
46 | Rcov::RcovTask.new do |test| |
47 | test.libs << 'test' |
48 | test.pattern = 'test/**/*_test.rb' |
49 | test.verbose = true |
50 | end |
51 | rescue LoadError |
52 | task :rcov do |
53 | abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" |
54 | end |
55 | end |
56 | |
57 | task :default => :test |
58 | |
59 | |
60 |