Rakefile in iCuke-0.6.6 vs Rakefile in iCuke-0.7.0
- old
+ new
@@ -12,15 +12,15 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "iCuke"
- gem.summary = %Q{Cucumber support for iPhone applications}
- gem.description = %Q{Cucumber support for iPhone applications}
+ gem.summary = %Q{Cucumber support for iOS applications}
+ gem.description = %Q{Cucumber support for iOS applications}
gem.email = "jason.felice@bluefroggaming.com"
gem.homepage = "http://github.com/BlueFrogGaming/iCuke"
- gem.authors = ["Rob Holland"]
+ gem.authors = ["Jason Felice"]
gem.add_dependency "cucumber", ">= 0"
gem.add_dependency "httparty", ">= 0"
gem.add_dependency "nokogiri", ">= 0"
gem.add_dependency "rake", ">= 0"
gem.add_dependency "background_process"
@@ -58,29 +58,17 @@
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
end
end
begin
- require 'spec/rake/spectask'
+ require 'rspec/core/rake_task'
desc "Run all examples"
- Spec::Rake::SpecTask.new(:spec) do |t|
- t.spec_files = FileList['spec/**/*.rb']
- end
+ RSpec::Core::RakeTask.new(:spec)
rescue LoadError
desc "Run all examples (not available)"
task :spec do
abort "Rspec is not available. In order to run specs, you must: sudo gem install rspec"
end
end
task :default => [:spec, :features]
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "iCuke #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end