Skip to content

Commit

Permalink
Added development dependencies (rcov, mocha)
Browse files Browse the repository at this point in the history
  • Loading branch information
porras committed Oct 29, 2010
1 parent 8afd4d4 commit c78c0ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 9 additions & 3 deletions carrot.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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",
Expand All @@ -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.