-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRakefile
More file actions
33 lines (30 loc) · 1.2 KB
/
Rakefile
File metadata and controls
33 lines (30 loc) · 1.2 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
require 'rubygems'
require 'rake/rdoctask'
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "bradleypriest-mollom"
gemspec.summary = "Ruby class for easy interfacing with the mollom.com open API for spam detection and content quality assesment."
gemspec.description = "Ruby class for easy interfacing with the mollom.com open API for spam detection and content quality assesment."
gemspec.email = "mollom@openminds.be"
gemspec.homepage = "http://mollom.rubyforge.com"
gemspec.authors = ["Jan De Poorter"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'docs'
rdoc.title = "Mollom -- Ruby class for easy interfacing with the mollom.com open API for spam detection and content quality assesment."
rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
rdoc.options << '--charset' << 'utf-8'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
}