Merge pull request #12030 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.12.1
build(deps): bump rubocop-rails from 2.12.0 to 2.12.1 in /Library/Homebrew
This commit is contained in:
commit
3c9ae8fd01
@ -126,7 +126,7 @@ GEM
|
|||||||
rubocop-performance (1.11.5)
|
rubocop-performance (1.11.5)
|
||||||
rubocop (>= 1.7.0, < 2.0)
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
rubocop-ast (>= 0.4.0)
|
rubocop-ast (>= 0.4.0)
|
||||||
rubocop-rails (2.12.0)
|
rubocop-rails (2.12.1)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
rack (>= 1.1)
|
rack (>= 1.1)
|
||||||
rubocop (>= 1.7.0, < 2.0)
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
|||||||
@ -160,5 +160,8 @@ module Cask
|
|||||||
|
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def quarantine?; end
|
def quarantine?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def quiet?; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -83,7 +83,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-progressbar-1.11
|
|||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-2.0.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-2.0.0/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.20.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.20.0/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.11.5/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.11.5/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.12.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.12.1/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.4.0/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.4.0/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.2/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.2/lib"
|
||||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.1/lib"
|
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.1/lib"
|
||||||
|
|||||||
@ -100,8 +100,8 @@ module RuboCop
|
|||||||
end
|
end
|
||||||
|
|
||||||
def contain_valid_options_in_with_options_block?(node)
|
def contain_valid_options_in_with_options_block?(node)
|
||||||
if with_options_block(node)
|
if (options = with_options_block(node))
|
||||||
return true if valid_options?(with_options_block(node))
|
return true if valid_options?(options)
|
||||||
|
|
||||||
return false unless node.parent
|
return false unless node.parent
|
||||||
|
|
||||||
@ -114,6 +114,8 @@ module RuboCop
|
|||||||
end
|
end
|
||||||
|
|
||||||
def valid_options?(options)
|
def valid_options?(options)
|
||||||
|
return false if options.nil?
|
||||||
|
|
||||||
options = options.first.children.first.pairs if options.first.kwsplat_type?
|
options = options.first.children.first.pairs if options.first.kwsplat_type?
|
||||||
|
|
||||||
return true unless options
|
return true unless options
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user