Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumpb rubocop version to 0.75 #140

Merged
merged 3 commits into from
Oct 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ PATH
remote: .
specs:
standard (0.1.4)
rubocop (~> 0.72.0)
rubocop-performance (~> 1.4.0)
rubocop (~> 0.75.0)
rubocop-performance (~> 1.5.0)

GEM
remote: https://rubygems.org/
Expand All @@ -16,22 +16,22 @@ GEM
json (2.1.0)
method_source (0.9.2)
minitest (5.11.3)
parallel (1.17.0)
parser (2.6.4.1)
parallel (1.18.0)
parser (2.6.5.0)
ast (~> 2.4.0)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
rainbow (3.0.0)
rake (12.3.2)
rubocop (0.72.0)
rubocop (0.75.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
rubocop-performance (1.4.1)
rubocop-performance (1.5.0)
rubocop (>= 0.71.0)
ruby-progressbar (1.10.1)
simplecov (0.16.1)
Expand Down
2 changes: 0 additions & 2 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,9 @@ Performance/CompareWithBlock:

Performance/Count:
Enabled: true
SafeMode: true

Performance/Detect:
Enabled: true
SafeMode: true

Performance/DoubleStartEndWith:
Enabled: true
Expand Down
4 changes: 2 additions & 2 deletions standard.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "rubocop", "~> 0.72.0"
spec.add_dependency "rubocop-performance", "~> 1.4.0"
spec.add_dependency "rubocop", "~> 0.75.0"
spec.add_dependency "rubocop-performance", "~> 1.5.0"

spec.add_development_dependency "bundler", "~> 1.17"
spec.add_development_dependency "minitest", "~> 5.0"
Expand Down
7 changes: 4 additions & 3 deletions test/standard/runners/rubocop_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ def test_print_corrected_output_on_stdin
C: 1: 1: [Corrected] Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.
C: 1: 1: [Corrected] Style/SingleLineMethods: Avoid single-line method definitions.
C: 1: 8: [Corrected] Layout/SpaceAfterSemicolon: Space missing after semicolon.
C: 2: 1: [Corrected] Layout/EmptyLineAfterMagicComment: Add an empty line after magic comments.
C: 2: 8: [Corrected] Style/Semicolon: Do not use semicolons to terminate expressions.
C: 2: 9: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
C: 3: 5: Naming/MethodName: Use snake_case for method names.
C: 3: 8: [Corrected] Style/Semicolon: Do not use semicolons to terminate expressions.
C: 3: 9: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.

1 file inspected, 6 offenses detected, 5 offenses corrected
1 file inspected, 7 offenses detected, 6 offenses corrected
====================
# frozen_string_literal: true

Expand Down