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-11-26 17:11:25 +00:00
|
|
|
gemspec.files = FileList.new('bin/*', 'lib/**/**', 'jasmine/lib/**', 'jasmine/contrib/ruby/**', 'tasks/**', 'templates/**')
|
|
|
|
|
|
|
|
gemspec.add_dependency('rspec', '>= 1.1.5')
|
|
|
|
gemspec.add_dependency('rack', '>= 1.0.0')
|
|
|
|
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
|