Zfilipin has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/395524 )
Change subject: Update RuboCop Ruby gem
......................................................................
Update RuboCop Ruby gem
Bug: T180878
Change-Id: If5cff4da8e10271089a3766abb478cccb1b4b2d1
---
M .rubocop_todo.yml
M Gemfile
M Gemfile.lock
3 files changed, 8 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/24/395524/1
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 4e1ebb2..3445b29 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2017-11-28 12:11:12 -0800 using RuboCop version 0.51.0.
+# on 2017-12-05 13:57:26 +0100 using RuboCop version 0.51.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -41,12 +41,14 @@
Exclude:
- '.jsduck/CustomTags.rb'
-# Offense count: 4
+# Offense count: 6
# Cop supports --auto-correct.
-# Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues,
PreferHashRocketsForNonAlnumEndingSymbols.
+# Configuration parameters: EnforcedStyle, SupportedStyles,
UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
Style/HashSyntax:
- EnforcedStyle: hash_rockets
+ Exclude:
+ - '.jsduck/CustomTags.rb'
+ - 'Rakefile'
# Offense count: 4
# Cop supports --auto-correct.
diff --git a/Gemfile b/Gemfile
index 449daca..916bec0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
-gem 'rubocop', :require => false
+gem 'rubocop', '~> 0.51.0', require: false
diff --git a/Gemfile.lock b/Gemfile.lock
index 3e7127c..0175105 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -23,7 +23,7 @@
ruby
DEPENDENCIES
- rubocop
+ rubocop (~> 0.51.0)
BUNDLED WITH
1.16.0
--
To view, visit https://gerrit.wikimedia.org/r/395524
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If5cff4da8e10271089a3766abb478cccb1b4b2d1
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits