Zfilipin has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/395497 )
Change subject: Update RuboCop Ruby gem ...................................................................... Update RuboCop Ruby gem Bug: T180878 Change-Id: Ie87b10f4f2659bb85772d5dcd0e08f9d5e31c4ee --- M .rubocop.yml A .rubocop_todo.yml M Gemfile M Gemfile.lock 4 files changed, 32 insertions(+), 15 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/QuickSurveys refs/changes/97/395497/1 diff --git a/.rubocop.yml b/.rubocop.yml index 84567a5..3c8a650 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +inherit_from: .rubocop_todo.yml + AllCops: StyleGuideCopsOnly: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 0000000..9bc51b5 --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,13 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2017-12-05 12:14:06 +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: 2 +# Cop supports --auto-correct. +Layout/EmptyLines: + Exclude: + - 'tests/browser/features/support/step_definitions/common_steps.rb' diff --git a/Gemfile b/Gemfile index 35c7f03..7ee5bc6 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,4 @@ gem 'mediawiki_selenium', '~> 1.8' gem 'rake', '~> 10.4', '>= 10.4.2' -gem 'rubocop', '~> 0.34.1', require: false +gem 'rubocop', '~> 0.51.0', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 7809458..48f308d 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.2.6) - 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 (10.4.2) rest-client (1.8.0) http-cookie (>= 1.0.2, < 2.0) @@ -77,13 +77,14 @@ rspec-core (2.99.2) rspec-expectations (2.99.2) diff-lcs (>= 1.1.3, < 2.0) - rubocop (0.34.1) - astrolabe (~> 1.3) - parser (>= 2.2.2.5, < 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) - ruby-progressbar (~> 1.4) - ruby-progressbar (1.7.5) + rainbow (>= 2.2.2, < 3.0) + ruby-progressbar (~> 1.7) + 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) @@ -94,6 +95,7 @@ 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) @@ -105,7 +107,7 @@ DEPENDENCIES mediawiki_selenium (~> 1.8) rake (~> 10.4, >= 10.4.2) - rubocop (~> 0.34.1) + rubocop (~> 0.51.0) BUNDLED WITH - 1.14.5 + 1.16.0 -- To view, visit https://gerrit.wikimedia.org/r/395497 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie87b10f4f2659bb85772d5dcd0e08f9d5e31c4ee Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/QuickSurveys Gerrit-Branch: master Gerrit-Owner: Zfilipin <zfili...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits