Browse files

Specify development deps in gemspec

  • Loading branch information...
1 parent f159b53 commit f0724c0184dfb5aee6e83748bf919fa128406a32 @nicksieger nicksieger committed Nov 30, 2012
Showing with 19 additions and 2 deletions.
  1. +6 −1 Rakefile
  2. +13 −1 ci_reporter.gemspec
View
7 Rakefile
@@ -23,7 +23,12 @@ begin
p.description = p.paragraphs_of('README.rdoc', 0...1).join("\n\n")
p.extra_rdoc_files += ["README.rdoc"]
p.test_globs = ["spec/**/*_spec.rb"]
- p.extra_deps << ['builder', ">= 2.1.2"]
+ p.extra_deps << [ 'builder', '>= 2.1.2' ]
+ p.extra_dev_deps << [ 'cucumber', '~> 0.10.0' ]
+ p.extra_dev_deps << [ 'rspec', '> 2.0.0' ]
+ p.extra_dev_deps << [ 'test-unit', '> 2.0.0' ]
+ p.extra_dev_deps << [ 'minitest', '~> 2.2.0' ]
+
p.clean_globs += ["spec/reports", "acceptance/reports"]
end
hoe.spec.rdoc_options += ["-SHN", "-f", "darkfish"]
View
14 ci_reporter.gemspec
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nick Sieger"]
- s.date = "2012-10-09"
+ s.date = "2012-11-30"
s.description = "CI::Reporter is an add-on to Test::Unit, RSpec and Cucumber that allows you to generate XML reports of your test, spec and/or feature runs. The resulting files can be read by a continuous integration system that understands Ant's JUnit report XML format, thus allowing your CI system to track test/spec successes and failures."
s.email = "nick@nicksieger.com"
s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "Manifest.txt", "README.rdoc"]
@@ -25,17 +25,29 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
+ s.add_development_dependency(%q<cucumber>, ["~> 0.10.0"])
+ s.add_development_dependency(%q<rspec>, ["> 2.0.0"])
+ s.add_development_dependency(%q<test-unit>, ["> 2.0.0"])
+ s.add_development_dependency(%q<minitest>, ["~> 2.2.0"])
s.add_development_dependency(%q<hoe>, ["~> 2.12"])
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
else
s.add_dependency(%q<builder>, [">= 2.1.2"])
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
+ s.add_dependency(%q<cucumber>, ["~> 0.10.0"])
+ s.add_dependency(%q<rspec>, ["> 2.0.0"])
+ s.add_dependency(%q<test-unit>, ["> 2.0.0"])
+ s.add_dependency(%q<minitest>, ["~> 2.2.0"])
s.add_dependency(%q<hoe>, ["~> 2.12"])
s.add_dependency(%q<rdoc>, ["~> 3.10"])
end
else
s.add_dependency(%q<builder>, [">= 2.1.2"])
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
+ s.add_dependency(%q<cucumber>, ["~> 0.10.0"])
+ s.add_dependency(%q<rspec>, ["> 2.0.0"])
+ s.add_dependency(%q<test-unit>, ["> 2.0.0"])
+ s.add_dependency(%q<minitest>, ["~> 2.2.0"])
s.add_dependency(%q<hoe>, ["~> 2.12"])
s.add_dependency(%q<rdoc>, ["~> 3.10"])
end

0 comments on commit f0724c0

Please sign in to comment.