Permalink
Browse files

bump some dev deps and move their declarations to gemspec

  • Loading branch information...
1 parent cd58cb1 commit 88868ff7191cd60fb1c371eeccd0d6d6bc126b27 @dchelimsky dchelimsky committed Jan 6, 2012
Showing with 14 additions and 24 deletions.
  1. +3 −23 Gemfile
  2. +0 −1 Rakefile
  3. +11 −0 rspec-core.gemspec
View
26 Gemfile
@@ -1,7 +1,9 @@
source "http://rubygems.org"
+gemspec
+
### rspec libs
-%w[rspec rspec-core rspec-expectations rspec-mocks].each do |lib|
+%w[rspec-core rspec-expectations rspec-mocks].each do |lib|
library_path = File.expand_path("../../#{lib}", __FILE__)
if File.exist?(library_path)
gem lib, :path => library_path
@@ -10,30 +12,8 @@ source "http://rubygems.org"
end
end
-### dev dependencies
-gem "rake", "~> 0.9.2"
-gem "cucumber", "1.0.1"
-gem "aruba", "0.4.2"
-gem "ZenTest", "4.6.2"
-gem "nokogiri", "1.5.0"
-gem "fakefs", "0.4.0", :require => "fakefs/safe"
-
platforms :jruby do
gem "jruby-openssl"
end
-### rspec-core only
-gem "mocha", "~> 0.9.10"
-gem "rr", "~> 1.0.2"
-gem "flexmock", "0.8.8"
-
-### optional runtime deps
-gem "syntax", "1.0.0"
-
-group :development do
- platforms :mri_18, :jruby do
- gem "rcov", "0.9.10"
- end
-end
-
eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')
View
@@ -1,5 +1,4 @@
require "bundler"
-Bundler.setup
Bundler::GemHelper.install_tasks
task :build => :raise_if_psych_is_defined
View
@@ -22,4 +22,15 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
s.rdoc_options = ["--charset=UTF-8"]
s.require_path = "lib"
+
+ s.add_development_dependency "rake", "~> 0.9.2"
+ s.add_development_dependency "cucumber", "~> 1.1.0"
+ s.add_development_dependency "aruba", "~> 0.4.11"
+ s.add_development_dependency "ZenTest", "4.6.2"
+ s.add_development_dependency "nokogiri", "1.5.0"
+ s.add_development_dependency "fakefs", "0.4.0"
+
+ s.add_development_dependency "mocha", "~> 0.10.0"
+ s.add_development_dependency "rr", "~> 1.0.2"
+ s.add_development_dependency "flexmock", "~> 0.9.0"
end

0 comments on commit 88868ff

Please sign in to comment.