Zfilipin has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/395025 )
Change subject: Update RuboCop Ruby gem ...................................................................... Update RuboCop Ruby gem Bug: T180878 Change-Id: I2f559ded2f029bda8ba8bc2d87054330643bac09 --- M .rubocop_todo.yml M Gemfile M Gemfile.lock 3 files changed, 42 insertions(+), 20 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer refs/changes/25/395025/1 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3e40090..f90453c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,15 +1,37 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2015-12-09 17:16:31 +0100 using RuboCop version 0.35.1. +# on 2017-12-04 16:52:05 +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 # versions of RuboCop, may require this file to be generated again. -# Offense count: 76 -# Configuration parameters: AllowURI, URISchemes. +# Offense count: 1 +Lint/RescueWithoutErrorClass: + Exclude: + - 'tests/browser/features/step_definitions/mmv_steps.rb' + +# Offense count: 71 +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# URISchemes: http, https Metrics/LineLength: - Max: 254 + Max: 249 + +# Offense count: 2 +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: lowercase, uppercase +Naming/HeredocDelimiterCase: + Exclude: + - 'tests/browser/features/support/pages/commons_page.rb' + +# Offense count: 4 +# Cop supports --auto-correct. +Style/Encoding: + Exclude: + - 'tests/browser/features/step_definitions/mmv_download_steps.rb' + - 'tests/browser/features/step_definitions/mmv_navigation_steps.rb' + - 'tests/browser/features/step_definitions/mmv_options_steps.rb' + - 'tests/browser/features/step_definitions/mmv_steps.rb' # Offense count: 3 # Configuration parameters: AllowedVariables. diff --git a/Gemfile b/Gemfile index 0f4ba53..591fd6b 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,4 @@ gem 'mediawiki_selenium', '~> 1.8' gem 'rake', '~> 11.1', '>= 11.1.1' -gem 'rubocop', '~> 0.35.1', require: false +gem 'rubocop', '~> 0.51.0', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 6d89e7c..1b16d93 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,7 @@ GEM remote: https://rubygems.org/ specs: - ast (2.1.0) - astrolabe (1.3.1) - parser (~> 2.2) + ast (2.3.0) builder (3.2.3) childprocess (0.6.2) ffi (~> 1.0, >= 1.0.11) @@ -65,10 +63,12 @@ watir (~> 6.0) page_navigation (0.10) data_magic (>= 0.22) - parser (2.2.3.0) - ast (>= 1.1, < 3.0) + parallel (1.12.0) + parser (2.4.0.2) + ast (~> 2.3) powerpack (0.1.1) - rainbow (2.0.0) + rainbow (2.2.2) + rake rake (11.1.1) rest-client (1.8.0) http-cookie (>= 1.0.2, < 2.0) @@ -77,14 +77,14 @@ rspec-core (2.99.2) rspec-expectations (2.99.2) diff-lcs (>= 1.1.3, < 2.0) - rubocop (0.35.1) - astrolabe (~> 1.3) - parser (>= 2.2.3.0, < 3.0) + rubocop (0.51.0) + parallel (~> 1.10) + parser (>= 2.3.3.1, < 3.0) powerpack (~> 0.1) - rainbow (>= 1.99.1, < 3.0) + rainbow (>= 2.2.2, < 3.0) ruby-progressbar (~> 1.7) - tins (<= 1.6.0) - ruby-progressbar (1.7.5) + unicode-display_width (~> 1.0, >= 1.0.1) + ruby-progressbar (1.9.0) rubyzip (1.2.1) selenium-webdriver (3.1.0) childprocess (~> 0.5) @@ -92,10 +92,10 @@ websocket (~> 1.0) syntax (1.2.1) thor (0.19.4) - tins (1.6.0) unf (0.1.4) unf_ext unf_ext (0.0.7.2) + unicode-display_width (1.3.0) watir (6.2.0) selenium-webdriver (~> 3.0) websocket (1.2.4) @@ -107,7 +107,7 @@ DEPENDENCIES mediawiki_selenium (~> 1.8) rake (~> 11.1, >= 11.1.1) - rubocop (~> 0.35.1) + rubocop (~> 0.51.0) BUNDLED WITH - 1.14.5 + 1.16.0 -- To view, visit https://gerrit.wikimedia.org/r/395025 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2f559ded2f029bda8ba8bc2d87054330643bac09 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MultimediaViewer Gerrit-Branch: master Gerrit-Owner: Zfilipin <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
