-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
* This is required for rubocop to work on 1.9.2
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ gem 'rake' | |
group :test do | ||
gem 'backports' | ||
gem 'coveralls', :require => false | ||
gem 'json', :platforms => [:ruby_19] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dkubb
Author
Owner
|
||
gem 'reek' | ||
gem 'rspec', '~> 2.14' | ||
gem 'rubocop', :platforms => [:ruby_19, :ruby_20] | ||
|
Then, by definition, shouldn’t it be a dependency of
rubocop
? Or doesrubocop
not officially support Ruby 1.9.2 (in which case, it should specify arequired_ruby_version >= '1.9.3'
in its gemspec)?I also noticed that
yardstick
would not run withoutbackports
. If you’re usingbackports
to support older Ruby versions, shouldn’tyardstick
specify it as a dependency. My understand of the waybackports
is written is that it’s basically a no-op if yourequire 'backports'
on the current Ruby version, since everything is conditionally defined.