Skip to content

Commit

Permalink
Merge pull request #6338 from Homebrew/dependabot/bundler/Library/Hom…
Browse files Browse the repository at this point in the history
…ebrew/rubocop-rspec-1.34.1

build: bump rubocop-rspec from 1.34.0 to 1.34.1 in /Library/Homebrew
  • Loading branch information
MikeMcQuaid authored Jul 31, 2019
2 parents 3dab112 + 5aecef8 commit 9d39aef
Show file tree
Hide file tree
Showing 98 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ GEM
unicode-display_width (>= 1.4.0, < 1.7)
rubocop-performance (1.4.1)
rubocop (>= 0.71.0)
rubocop-rspec (1.34.0)
rubocop-rspec (1.34.1)
rubocop (>= 0.60.0)
ruby-macho (2.2.0)
ruby-progressbar (1.10.1)
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/vendor/bundle/bundler/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-1.6.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-0.73.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.4.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-1.34.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-1.34.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.2.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-1.3.1/lib"
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ def const_name(node)
# rubocop:enable InternalAffairs/NodeDestructuring
if !namespace
[name]
elsif namespace.cbase_type?
[nil, name]
else
elsif namespace.const_type?
[*const_name(namespace), name]
elsif namespace.lvar_type? || namespace.cbase_type?
[nil, name]
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ module RSpec
# end
#
# # good - anonymous class, no constant needs to be defined
# let(:foo_class) do
# Class.new(described_class) do
# def double_that
# some_base_method * 2
# describe SomeClass do
# let(:foo_class) do
# Class.new(described_class) do
# def double_that
# some_base_method * 2
# end
# end
# end
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module RSpec
# Version information for the RSpec RuboCop plugin.
module Version
STRING = '1.34.0'
STRING = '1.34.1'
end
end
end

0 comments on commit 9d39aef

Please sign in to comment.