diff options
| author | Martin Afanasjew | 2016-07-12 07:49:55 +0200 |
|---|---|---|
| committer | GitHub | 2016-07-12 07:49:55 +0200 |
| commit | 768ba34b1428782a2df6c6d0b4d49241d257439e (patch) | |
| tree | 40302fb5951e6cd39b198ae95bd951ddd2f7e08b /Library/Homebrew/cmd | |
| parent | 842862c6535e6846e13d1abf17676ac1a4011bba (diff) | |
| download | brew-768ba34b1428782a2df6c6d0b4d49241d257439e.tar.bz2 | |
style: use RuboCop 0.41.2, adjust defaults (#489)
Changes to our style configuration:
- Consolidate all rules related to Ruby 1.8 compatibility in one place.
- Codify our de-facto preference for `alias_method` over `alias` (drops
offense count by 54 after turning this on).
- Drop `Style/SignalException` as `only_raise` has been the new default
for quite a while (since RuboCop 0.37.0).
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/style.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 0e756ad0c..ca28ca712 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -47,7 +47,7 @@ module Homebrew def check_style_impl(files, output_type, options = {}) fix = options[:fix] - Homebrew.install_gem_setup_path! "rubocop", "0.41.1" + Homebrew.install_gem_setup_path! "rubocop", "0.41.2" args = %W[ --force-exclusion |
