carrot.gemspec in carrot-0.8.0 vs carrot.gemspec in carrot-0.8.1

- old
+ new

@@ -3,15 +3,15 @@ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{carrot} - s.version = "0.8.0" + s.version = "0.8.1" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Amos Elliston"] - s.date = %q{2010-06-10} + s.date = %q{2010-11-01} s.description = %q{A synchronous version of the ruby amqp client} s.email = %q{amos@geni.com} s.extra_rdoc_files = [ "LICENSE", "README.markdown" @@ -41,23 +41,29 @@ "test/test_helper.rb" ] s.homepage = %q{http://github.com/famoseagle/carrot} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.5} + s.rubygems_version = %q{1.3.7} s.summary = %q{A synchronous version of the ruby amqp client} s.test_files = [ "test/carrot_test.rb", "test/test_helper.rb" ] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_development_dependency(%q<rcov>, [">= 0"]) + s.add_development_dependency(%q<mocha>, [">= 0"]) else + s.add_dependency(%q<rcov>, [">= 0"]) + s.add_dependency(%q<mocha>, [">= 0"]) end else + s.add_dependency(%q<rcov>, [">= 0"]) + s.add_dependency(%q<mocha>, [">= 0"]) end end