Permalink
Browse files

Added development dependencies (rcov, mocha)

  • Loading branch information...
1 parent 8afd4d4 commit c78c0ee749e1cd4b05b40b0fea0d6ca69e44b49b @porras porras committed with porras Oct 29, 2010
Showing with 11 additions and 3 deletions.
  1. +2 −0 Rakefile
  2. +9 −3 carrot.gemspec
View
@@ -12,6 +12,8 @@ begin
s.description = "A synchronous version of the ruby amqp client"
s.summary = "A synchronous version of the ruby amqp client"
s.authors = ["Amos Elliston"]
+ s.add_development_dependency "rcov"
+ s.add_development_dependency "mocha"
end
Jeweler::GemcutterTasks.new
rescue LoadError
View
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
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-10-29}
s.description = %q{A synchronous version of the ruby amqp client}
s.email = %q{amos@geni.com}
s.extra_rdoc_files = [
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
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",
@@ -54,10 +54,16 @@ Gem::Specification.new do |s|
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

0 comments on commit c78c0ee

Please sign in to comment.