Rakefile in optionsful-0.5.0 vs Rakefile in optionsful-0.5.1
- old
+ new
@@ -3,19 +3,18 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "optionsful"
- gem.summary = %Q{Support HTTP OPTIONS verb on your Rails 3 app.}
+ gem.summary = %Q{Support the HTTP OPTIONS verb on your Rails 3 app.}
gem.description = %Q{Build RESTful web services supporting the HTTP OPTIONS verb on Ruby on Rails applications.}
gem.email = "kayaman@baurets.net"
gem.homepage = "http://github.com/kayaman/optionsful"
gem.authors = ["Marco Antonio Gonzalez Junior"]
gem.rubyforge_project = "optionsful"
gem.add_development_dependency "rspec", ">= 1.2.9"
gem.add_development_dependency "yard", ">= 0"
- gem.add_development_dependency "cucumber", ">= 0"
gem.add_dependency "rails", "= 3.0.0"
end
Jeweler::GemcutterTasks.new
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "yardoc"
@@ -35,22 +34,9 @@
Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
-end
-
-task :spec => :check_dependencies
-
-begin
- require 'cucumber/rake/task'
- Cucumber::Rake::Task.new(:features)
-
- task :features => :check_dependencies
-rescue LoadError
- task :features do
- abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
- end
end
task :default => :spec
begin