-
-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec| | |||
|
|||
spec.add_development_dependency "bundler", "~> 1.7" | |||
spec.add_development_dependency "rake", "~> 10.0" | |||
spec.add_development_dependency "rspec", "~> 2.6" | |||
spec.add_development_dependency "rspec", "~> 3.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are differences between rspec 2.x and rspec 3.x.
They recommend upgrading to rspec 2.99 first.
I assume they have been addressed...
Other than a couple of comments, LGTM |
streams = STDOUT, STDERR | ||
on_hold = streams.collect { |stream| stream.dup } | ||
streams.each do |stream| | ||
stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about moving this ternary out for clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
stream.reopen(null_stream)
...
def null_stream
if RUBY_PLATFORM =~ /mswin/
'NUL:'
else
'/dev/null'
end
end
Does this look better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks great to me
@elle @jyurek @tabfugnic Adjustments made and commits squashed! |
* Before all specs remove `spec/dummy` folder used for cloning the repo * Add scenario for middleman kit * it's slow because it's not being stubbed * it does everything quietly (STDOUT and STDERR are being silenced)
git ls-remote
.output
.[Closes #9]