Rakefile in http_configuration-1.0.3 vs Rakefile in http_configuration-1.0.4

- old
+ new

@@ -4,18 +4,17 @@ desc 'Default: run unit tests.' task :default => :test begin - require 'spec/rake/spectask' - desc 'Test the gem.' - Spec::Rake::SpecTask.new(:test) do |t| - t.spec_files = FileList.new('spec/**/*_spec.rb') - end + require 'rspec' + require 'rspec/core/rake_task' + desc 'Run the unit tests' + RSpec::Core::RakeTask.new(:test) rescue LoadError - tast :test do - STDERR.puts "You must have rspec >= 1.3.0 to run the tests" + task :test do + STDERR.puts "You must have rspec 2.0 installed to run the tests" end end desc 'Generate documentation for the gem.' Rake::RDocTask.new(:rdoc) do |rdoc| @@ -30,14 +29,14 @@ Jeweler::Tasks.new do |gem| gem.name = "http_configuration" gem.summary = %Q{Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP.} gem.description = %Q(Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP. Simplifies integration of HTTP calls into any environment and provides a unified interface for setting values.) gem.email = "brian@embellishedvisions.com" - gem.homepage = "http://github.com/bdurand/acts_as_revisionable" + gem.homepage = "http://github.com/bdurand/http_configuration" gem.authors = ["Brian Durand"] gem.rdoc_options = ["--charset=UTF-8", "--main", "README.rdoc"] - gem.add_development_dependency('rspec', '>= 1.3.0') + gem.add_development_dependency('rspec', '>= 2.0.0') gem.add_development_dependency('jeweler') end Jeweler::GemcutterTasks.new rescue LoadError