Permalink
Browse files

Bump rake version, use double quotes if possible.

  • Loading branch information...
1 parent 091cc7c commit dee7c1c3539583bf2d5c4ecfb0dd888ac08b151b @jyurek jyurek committed Jul 4, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Gemfile.lock
  2. +2 −2 spec/support/with_exitstatus.rb
View
@@ -11,7 +11,7 @@ GEM
diff-lcs (1.1.2)
mocha (0.9.8)
rake
- rake (0.9.1)
+ rake (0.9.2)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -2,10 +2,10 @@ module WithExitstatus
def with_exitstatus_returning(code)
saved_exitstatus = $?.nil? ? 0 : $?.exitstatus
begin
- `ruby -e 'exit #{code.to_i}'`
+ `ruby -e "exit #{code.to_i}"`
yield
ensure
- `ruby -e 'exit #{saved_exitstatus.to_i}'`
+ `ruby -e "exit #{saved_exitstatus.to_i}"`
end
end
end

0 comments on commit dee7c1c

Please sign in to comment.