Merge pull request #17048 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.0
build(deps-dev): bump rubocop from 1.62.1 to 1.63.0 in /Library/Homebrew
This commit is contained in:
commit
cb42d2769c
@ -77,7 +77,7 @@ GEM
|
||||
rspec-support (3.13.1)
|
||||
rspec_junit_formatter (0.6.0)
|
||||
rspec-core (>= 2, < 4, != 2.12.0)
|
||||
rubocop (1.62.1)
|
||||
rubocop (1.63.0)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (>= 3.17.0)
|
||||
parallel (~> 1.10)
|
||||
|
||||
@ -510,7 +510,7 @@ module Cask
|
||||
end
|
||||
|
||||
# Directory counts as empty if it only contains a `.DS_Store`.
|
||||
if children.include?(ds_store = resolved_path/".DS_Store")
|
||||
if children.include?((ds_store = resolved_path/".DS_Store"))
|
||||
Utils.gain_permissions_remove(ds_store, command:)
|
||||
children.delete(ds_store)
|
||||
end
|
||||
|
||||
@ -59,7 +59,7 @@ module Homebrew
|
||||
if args.suggest_typed?
|
||||
ohai "Bumping Sorbet `typed` sigils..."
|
||||
# --sorbet needed because of https://github.com/Shopify/spoom/issues/488
|
||||
safe_system "bundle", "exec", "spoom", "bump", "--dry", "--sorbet",
|
||||
safe_system "bundle", "exec", "spoom", "srb", "bump", "--dry", "--sorbet",
|
||||
"#{Gem.bin_path("sorbet", "srb")} tc"
|
||||
end
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ class DevelopmentTools
|
||||
# Give the name of the binary you look for as a string to this method
|
||||
# in order to get the full path back as a Pathname.
|
||||
(@locate ||= {}).fetch(tool) do |key|
|
||||
@locate[key] = if File.executable?(path = "/usr/bin/#{tool}")
|
||||
@locate[key] = if File.executable?((path = "/usr/bin/#{tool}"))
|
||||
Pathname.new path
|
||||
# Homebrew GCCs most frequently; much faster to check this before xcrun
|
||||
elsif (path = HOMEBREW_PREFIX/"bin/#{tool}").executable?
|
||||
|
||||
@ -13,7 +13,7 @@ class DevelopmentTools
|
||||
glibc_path
|
||||
elsif (homebrew_path = HOMEBREW_PREFIX/"bin/#{tool}").executable?
|
||||
homebrew_path
|
||||
elsif File.executable?(system_path = "/usr/bin/#{tool}")
|
||||
elsif File.executable?((system_path = "/usr/bin/#{tool}"))
|
||||
Pathname.new system_path
|
||||
end
|
||||
end
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,7 @@ gem:
|
||||
- rubocop-md
|
||||
- rubocop-performance
|
||||
- rubocop-rspec
|
||||
- rubocop-rspec_rails
|
||||
- rubocop-sorbet
|
||||
- ruby-prof
|
||||
- simplecov_json_formatter
|
||||
|
||||
@ -85,7 +85,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.31.2/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.5.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.62.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.63.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.20.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.25.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.2/lib")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user