Rakefile in dchelimsky-rspec-rails-1.1.12 vs Rakefile in dchelimsky-rspec-rails-1.1.99.1
- old
+ new
@@ -18,11 +18,11 @@
p.summary = Spec::Rails::VERSION::SUMMARY
p.url = 'http://rspec.info/'
p.description = "Behaviour Driven Development for Ruby on Rails."
p.rubyforge_name = 'rspec'
p.developer('RSpec Development Team', 'rspec-devel@rubyforge.org')
- p.extra_deps = [["rspec","1.1.12"]]
+ p.extra_deps = [["rspec","1.1.99.1"],["rack",">=0.4.0"]]
p.extra_dev_deps = [["cucumber",">= 0.1.13"]]
p.remote_rdoc_dir = "rspec-rails/#{Spec::Rails::VERSION::STRING}"
end
['audit','test','test_deps','default','post_blog', 'release'].each do |task|
@@ -46,6 +46,18 @@
Spec::Rake::SpecTask.new
Cucumber::Rake::Task.new
-task :default => [:features]
\ No newline at end of file
+task :default => [:features]
+
+namespace :update do
+ desc "update the manfest"
+ task :manifest do
+ system %q[touch Manifest.txt; rake check_manifest | grep -v "(in " | patch]
+ end
+
+ desc "update the gemspec"
+ task :gemspec do
+ system %q[rake debug_gem | grep -v "(in " | grep -v "s.add_dependency(%q<hoe" | grep -v "s.add_dependency(%q<cuc" > `basename \\`pwd\\``.gemspec]
+ end
+end