2009-10-11 00:44:59 +00:00
|
|
|
namespace :jeweler do
|
|
|
|
|
|
|
|
begin
|
|
|
|
require 'jeweler'
|
2009-10-31 06:56:05 +00:00
|
|
|
require 'rake'
|
2009-10-11 00:44:59 +00:00
|
|
|
Jeweler::Tasks.new do |gemspec|
|
|
|
|
gemspec.name = "jasmine-ruby"
|
|
|
|
gemspec.summary = "Jasmine Ruby"
|
|
|
|
gemspec.description = "Javascript BDD testings"
|
|
|
|
gemspec.email = "ragaskar@gmail.com"
|
|
|
|
gemspec.homepage = "http://github.com/ragaskar/jasmine-ruby"
|
|
|
|
gemspec.description = "Jasmine Ruby"
|
|
|
|
gemspec.authors = ["Rajan Agaskar"]
|
2009-12-05 21:06:34 +00:00
|
|
|
gemspec.files = FileList.new('bin/*', 'lib/**/**', 'jasmine/lib/**', 'tasks/**', 'templates/**')
|
2009-11-26 17:11:25 +00:00
|
|
|
|
|
|
|
gemspec.add_dependency('rspec', '>= 1.1.5')
|
|
|
|
gemspec.add_dependency('rack', '>= 1.0.0')
|
2009-12-05 21:06:34 +00:00
|
|
|
gemspec.add_dependency('json', '>= 1.1.9')
|
|
|
|
gemspec.add_dependency('pivotal-selenium-rc', '>= 1.11.20090610')
|
|
|
|
gemspec.add_dependency('selenium-client', '>= 1.2.17')
|
|
|
|
gemspec.add_dependency('thin', '= 1.2.4')
|
2009-10-11 00:44:59 +00:00
|
|
|
end
|
|
|
|
Jeweler::GemcutterTasks.new
|
|
|
|
rescue LoadError
|
|
|
|
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
|
|
|
end
|
|
|
|
end
|