-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRakefile
More file actions
49 lines (38 loc) · 1.61 KB
/
Rakefile
File metadata and controls
49 lines (38 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
require 'rake'
require 'rake/rdoctask'
require './lib/panmind/recaptcha'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'panmind-recaptcha'
gemspec.summary = 'ReCaptcha for Rails - With AJAX Validation'
gemspec.description = 'ReCaptcha implements view helpers to generate ReCaptcha code, ' \
'with the noscript counterpart, required methods that interface ' \
'with the HTTP API for captcha verification, a DSL to generate a ' \
'before_filter and the code to implement AJAX captcha validation.'
gemspec.authors = ['Marcello Barnaba', 'Panmind staff']
gemspec.email = ['vjt@openssl.it', 'info@panmind.com']
gemspec.homepage = 'http://github.com/Panmind/recaptcha'
gemspec.files = %w( README.md Rakefile rails/init.rb ) + Dir['lib/**/*']
gemspec.extra_rdoc_files = %w( README.md )
gemspec.has_rdoc = true
gemspec.version = Panmind::Recaptcha::Version
gemspec.date = '2011-09-20'
gemspec.require_path = 'lib'
gemspec.add_dependency 'rails', '~> 3.0'
end
rescue LoadError
puts 'Jeweler not available. Install it with: gem install jeweler'
end
desc 'Generate the rdoc'
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.add %w( README.md lib/**/*.rb )
rdoc.main = 'README.md'
rdoc.title = 'ReCaptcha for Rails - With AJAX Validation'
end
desc 'Will someone help write tests?'
task :default do
puts
puts 'Can you help in writing tests? Please do :-)'
puts
end