Skip to content

Commit

Permalink
bump some dev dep versions and move them to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jan 6, 2012
1 parent 3d89aec commit 73c6b68
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
10 changes: 3 additions & 7 deletions 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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions features/step_definitions/additional_cli_steps.rb
Expand Up @@ -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
7 changes: 6 additions & 1 deletion rspec-expectations.gemspec
Expand Up @@ -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.