-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from airbrake/rubocop-fix
Fix Rubocop not installing on 1.9.3 by using Ruby 2.3.1
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
source 'https://rubygems.org' | ||
gemspec | ||
|
||
# Rubocop supports only >=1.9.3 | ||
gem 'rubocop', '~> 0.40', require: false unless RUBY_VERSION == '1.9.2' | ||
# Rubocop supports only >=2.0.0 | ||
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.0.0') | ||
gem 'rubocop', '~> 0.42', require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
machine: | ||
ruby: | ||
version: 2.3.1 | ||
|
||
dependencies: | ||
cache_directories: | ||
- vendor | ||
|