Skip to content

Commit

Permalink
Merge pull request #15207 from Homebrew/dependabot/bundler/Library/Ho…
Browse files Browse the repository at this point in the history
…mebrew/rubocop-1.50.0

build(deps): bump rubocop from 1.49.0 to 1.50.0 in /Library/Homebrew
  • Loading branch information
issyl0 committed Apr 12, 2023
2 parents 0d749b5 + 5aa2483 commit 14ff148
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ GEM
rspec-support (3.12.0)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.49.0)
rubocop (1.50.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/debrew.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def self.debug(exception)
raise(exception) if !active? || !debugged_exceptions.add?(exception) || !mu_try_lock

begin
puts exception.backtrace.first.to_s
puts exception.backtrace.first
puts Formatter.error(exception, label: exception.class.name)

loop do
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Library/Homebrew/test/language/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@

it "raises error with non zero exitstatus" do
allow(Utils).to receive(:popen_read).with(*npm_pack_cmd).and_return(`false`)
expect { described_class.std_npm_install_args(npm_install_arg) }.to \
raise_error("npm failed to pack #{Dir.pwd}")
expect { described_class.std_npm_install_args(npm_install_arg) }.to raise_error("npm failed to pack #{Dir.pwd}")
end

it "raises error with empty npm pack output" do
allow(Utils).to receive(:popen_read).with(*npm_pack_cmd).and_return(`true`)
expect { described_class.std_npm_install_args(npm_install_arg) }.to \
raise_error("npm failed to pack #{Dir.pwd}")
expect { described_class.std_npm_install_args(npm_install_arg) }.to raise_error("npm failed to pack #{Dir.pwd}")
end

it "does not raise error with a zero exitstatus" do
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 @@ -103,7 +103,7 @@ def self.extension_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.28.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-2.4.2/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.49.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.50.0/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.17.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.17.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rails-2.19.0/lib")
Expand Down

0 comments on commit 14ff148

Please sign in to comment.