mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-02 10:15:47 +00:00
AutoFix RuboCop Style/RedundantConstantBase
This commit is contained in:
parent
e6af1dabf8
commit
3a71be798e
2 changed files with 1 additions and 7 deletions
|
|
@ -224,12 +224,6 @@ Style/QuotedSymbols:
|
|||
Exclude:
|
||||
- 'spec/lib/grape_logging/loggers/response_spec.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
Style/RedundantConstantBase:
|
||||
Exclude:
|
||||
- 'lib/grape_logging/util/parameter_filter.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
if defined?(::Rails.application)
|
||||
if defined?(Rails.application)
|
||||
if Gem::Version.new(Rails.version) < Gem::Version.new('6.0.0')
|
||||
class ParameterFilter < ActionDispatch::Http::ParameterFilter
|
||||
def initialize(_replacement, filter_parameters)
|
||||
|
|
|
|||
Loading…
Reference in a new issue