Skip to content

Commit

Permalink
Merge pull request #140 from raorao/bumb-rubocop-version
Browse files Browse the repository at this point in the history
bumpb rubocop version to 0.75
  • Loading branch information
searls authored Oct 18, 2019
2 parents d59935b + 73ce59c commit e14f233
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
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

0 comments on commit e14f233

Please sign in to comment.