Skip to content

Commit

Permalink
Update rubocop: 0.88.0 → 0.89.1 (major) (#209)
Browse files Browse the repository at this point in the history
* Update rubocop to version 0.89.1

* address rubocop offenses

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Jonas Hübotter <jonas.huebotter@gmail.com>
  • Loading branch information
depfu[bot] and jonhue committed Aug 16, 2020
1 parent 605d062 commit f462c75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,17 @@ GEM
rspec-mocks (~> 3.9)
rspec-support (~> 3.9)
rspec-support (3.9.3)
rubocop (0.88.0)
rubocop (0.89.1)
parallel (~> 1.10)
parser (>= 2.7.1.1)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.7)
rexml
rubocop-ast (>= 0.1.0, < 1.0)
rubocop-ast (>= 0.3.0, < 1.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (0.1.0)
parser (>= 2.7.0.1)
rubocop-ast (0.3.0)
parser (>= 2.7.1.4)
rubocop-rspec (1.42.0)
rubocop (>= 0.87.0)
ruby-progressbar (1.10.1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ def method_missing(method, *args)
end
end

# rubocop:disable Style/OptionalBooleanParameter
def respond_to_missing?(method, include_private = false)
super || method.to_s[/(.+)_type/]
end
# rubocop:enable Style/OptionalBooleanParameter
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ def method_missing(method, *args)
end
end

# rubocop:disable Style/OptionalBooleanParameter
def respond_to_missing?(method, include_private = false)
super || method.to_s[/(.+)_category/]
end
# rubocop:enable Style/OptionalBooleanParameter
end
end
end

0 comments on commit f462c75

Please sign in to comment.