Skip to content
Browse files

bump some dev dep versions and move them to gemspec

  • Loading branch information...
1 parent 3d89aec commit 73c6b68291b7a1da95552dfb5a2ceaa553360073 @dchelimsky dchelimsky committed Jan 6, 2012
Showing with 13 additions and 12 deletions.
  1. +3 −7 Gemfile
  2. +4 −4 features/step_definitions/additional_cli_steps.rb
  3. +6 −1 rspec-expectations.gemspec
View
10 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,12 +12,6 @@ source "http://rubygems.org"
end
end
-### dev dependencies
-gem "rake"
-gem "cucumber", "1.0.1"
-gem "aruba", "0.4.2"
-gem "nokogiri", "1.5.0"
-
platforms :jruby do
gem "jruby-openssl"
end
View
8 features/step_definitions/additional_cli_steps.rb
@@ -12,11 +12,11 @@
end
Then /^the example(?:s)? should(?: all)? pass$/ do
- Then %q{the output should contain "0 failures"}
- Then %q{the exit status should be 0}
+ step %q{the output should contain "0 failures"}
+ step %q{the exit status should be 0}
end
Then /^the example should fail$/ do
- Then %q{the output should contain "1 failure"}
- Then %q{the exit status should not be 0}
+ step %q{the output should contain "1 failure"}
+ step %q{the exit status should not be 0}
end
View
7 rspec-expectations.gemspec
@@ -22,5 +22,10 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.require_path = "lib"
- s.add_runtime_dependency 'diff-lcs', '~> 1.1.2'
+ s.add_runtime_dependency 'diff-lcs', '~> 1.1.3'
+
+ s.add_development_dependency 'rake', '~> 0.9.2'
+ s.add_development_dependency 'cucumber', '~> 1.1.0'
+ s.add_development_dependency 'aruba', '~> 0.4.5'
+ s.add_development_dependency 'nokogiri', '1.5.0'
end

0 comments on commit 73c6b68

Please sign in to comment.
Something went wrong with that request. Please try again.