Merge "Update RuboCop Ruby gem"

This commit is contained in:
Hashar 2017-12-08 10:53:53 +00:00 committed by Gerrit Code Review
commit 55d2d11dab
3 changed files with 42 additions and 20 deletions

View file

@ -1,15 +1,37 @@
# This configuration was generated by # This configuration was generated by
# `rubocop --auto-gen-config` # `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 # The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base. # one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new # Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again. # versions of RuboCop, may require this file to be generated again.
# Offense count: 76 # Offense count: 1
# Configuration parameters: AllowURI, URISchemes. 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: 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 # Offense count: 3
# Configuration parameters: AllowedVariables. # Configuration parameters: AllowedVariables.

View file

@ -2,4 +2,4 @@ source 'https://rubygems.org'
gem 'mediawiki_selenium', '~> 1.8' gem 'mediawiki_selenium', '~> 1.8'
gem 'rake', '~> 11.1', '>= 11.1.1' gem 'rake', '~> 11.1', '>= 11.1.1'
gem 'rubocop', '~> 0.35.1', require: false gem 'rubocop', '~> 0.51.0', require: false

View file

@ -1,9 +1,7 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
ast (2.1.0) ast (2.3.0)
astrolabe (1.3.1)
parser (~> 2.2)
builder (3.2.3) builder (3.2.3)
childprocess (0.6.2) childprocess (0.6.2)
ffi (~> 1.0, >= 1.0.11) ffi (~> 1.0, >= 1.0.11)
@ -65,10 +63,12 @@ GEM
watir (~> 6.0) watir (~> 6.0)
page_navigation (0.10) page_navigation (0.10)
data_magic (>= 0.22) data_magic (>= 0.22)
parser (2.2.3.0) parallel (1.12.0)
ast (>= 1.1, < 3.0) parser (2.4.0.2)
ast (~> 2.3)
powerpack (0.1.1) powerpack (0.1.1)
rainbow (2.0.0) rainbow (2.2.2)
rake
rake (11.1.1) rake (11.1.1)
rest-client (1.8.0) rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0) http-cookie (>= 1.0.2, < 2.0)
@ -77,14 +77,14 @@ GEM
rspec-core (2.99.2) rspec-core (2.99.2)
rspec-expectations (2.99.2) rspec-expectations (2.99.2)
diff-lcs (>= 1.1.3, < 2.0) diff-lcs (>= 1.1.3, < 2.0)
rubocop (0.35.1) rubocop (0.51.0)
astrolabe (~> 1.3) parallel (~> 1.10)
parser (>= 2.2.3.0, < 3.0) parser (>= 2.3.3.1, < 3.0)
powerpack (~> 0.1) powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0) rainbow (>= 2.2.2, < 3.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
tins (<= 1.6.0) unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.7.5) ruby-progressbar (1.9.0)
rubyzip (1.2.1) rubyzip (1.2.1)
selenium-webdriver (3.1.0) selenium-webdriver (3.1.0)
childprocess (~> 0.5) childprocess (~> 0.5)
@ -92,10 +92,10 @@ GEM
websocket (~> 1.0) websocket (~> 1.0)
syntax (1.2.1) syntax (1.2.1)
thor (0.19.4) thor (0.19.4)
tins (1.6.0)
unf (0.1.4) unf (0.1.4)
unf_ext unf_ext
unf_ext (0.0.7.2) unf_ext (0.0.7.2)
unicode-display_width (1.3.0)
watir (6.2.0) watir (6.2.0)
selenium-webdriver (~> 3.0) selenium-webdriver (~> 3.0)
websocket (1.2.4) websocket (1.2.4)
@ -107,7 +107,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
mediawiki_selenium (~> 1.8) mediawiki_selenium (~> 1.8)
rake (~> 11.1, >= 11.1.1) rake (~> 11.1, >= 11.1.1)
rubocop (~> 0.35.1) rubocop (~> 0.51.0)
BUNDLED WITH BUNDLED WITH
1.14.5 1.16.0