forked from simonoff/roo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
36 lines (31 loc) · 1.15 KB
/
Rakefile
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
$:.unshift('lib')
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'roo'
s.rubyforge_project = 'roo'
s.platform = Gem::Platform::RUBY
s.email = 'hugh_mcgowan@yahoo.com'
s.homepage = "http://roo.rubyforge.org"
s.summary = "roo"
s.description = "roo can access the contents of OpenOffice-, Excel- or Google-Spreadsheets"
s.authors = ['Hugh McGowan','Thomas Preymesser']
s.files = FileList[ "{lib,test}/**/*"]
s.has_rdoc = true
s.extra_rdoc_files = ["README.markdown", "History.txt"]
s.rdoc_options = ["--main","README.markdown"]
s.add_dependency "spreadsheet", [">= 0.6.4"]
s.add_dependency "rubyzip", [">= 0.9.1"]
s.add_dependency "GData", [">= 0.0.4"]
s.add_dependency "nokogiri", [">= 1.4.1"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test_roo.rb']
t.verbose = true
end
task :default => :test