Skip to content

Commit 541d887

Browse files
authored
Merge pull request #19900 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.75.5
build(deps-dev): bump rubocop from 1.75.2 to 1.75.5 in /Library/Homebrew
2 parents 2af5eab + 6169cd5 commit 541d887

File tree

11 files changed

+406
-341
lines changed

11 files changed

+406
-341
lines changed

Library/Homebrew/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ GEM
7878
rspec-support (3.13.3)
7979
rspec_junit_formatter (0.6.0)
8080
rspec-core (>= 2, < 4, != 2.12.0)
81-
rubocop (1.75.2)
81+
rubocop (1.75.5)
8282
json (~> 2.3)
8383
language_server-protocol (~> 3.17.0.2)
8484
lint_roller (~> 1.1.0)

Library/Homebrew/cask/artifact/abstract_uninstall.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def recursive_rmdir(*directories, command: nil, **_)
514514
end
515515

516516
# Directory counts as empty if it only contains a `.DS_Store`.
517-
if children.include?((ds_store = resolved_path/".DS_Store"))
517+
if children.include?(ds_store = resolved_path/".DS_Store")
518518
Utils.gain_permissions_remove(ds_store, command:)
519519
children.delete(ds_store)
520520
end

Library/Homebrew/cli/named_args.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def to_formulae_and_casks_and_unavailable(only: parent.only_formula_or_cask, met
147147
{},
148148
T.nilable(T::Hash[
149149
T.nilable(Symbol),
150-
T::Array[T.any(Formula, Keg, Cask::Cask, T::Array[Keg], FormulaOrCaskUnavailableError)]
150+
T::Array[T.any(Formula, Keg, Cask::Cask, T::Array[Keg], FormulaOrCaskUnavailableError)],
151151
]),
152152
)
153153
@to_formulae_casks_unknowns[method] = downcased_unique_named.map do |name|

Library/Homebrew/cmd/outdated.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def json_version(version)
177177
sig { returns(T::Array[Formula]) }
178178
def outdated_formulae
179179
T.cast(
180-
select_outdated((args.named.to_resolved_formulae.presence || Formula.installed)).sort,
180+
select_outdated(args.named.to_resolved_formulae.presence || Formula.installed).sort,
181181
T::Array[Formula],
182182
)
183183
end

Library/Homebrew/development_tools.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def locate(tool)
1717
# Give the name of the binary you look for as a string to this method
1818
# in order to get the full path back as a Pathname.
1919
(@locate ||= T.let({}, T.nilable(T::Hash[T.any(String, Symbol), T.untyped]))).fetch(tool) do |key|
20-
@locate[key] = if File.executable?((path = "/usr/bin/#{tool}"))
20+
@locate[key] = if File.executable?(path = "/usr/bin/#{tool}")
2121
Pathname.new path
2222
# Homebrew GCCs most frequently; much faster to check this before xcrun
2323
elsif (path = HOMEBREW_PREFIX/"bin/#{tool}").executable?

Library/Homebrew/extend/os/linux/development_tools.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def locate(tool)
2020
glibc_path
2121
elsif (homebrew_path = HOMEBREW_PREFIX/"bin/#{tool}").executable?
2222
homebrew_path
23-
elsif File.executable?((system_path = "/usr/bin/#{tool}"))
23+
elsif File.executable?(system_path = "/usr/bin/#{tool}")
2424
Pathname.new system_path
2525
end
2626
end

Library/Homebrew/sbom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def generate_relations_json(runtime_dependency_declaration, compiler_declaration
192192
T::Array[
193193
T::Hash[
194194
Symbol,
195-
T.any(String, T::Array[T::Hash[Symbol, String]])
195+
T.any(String, T::Array[T::Hash[Symbol, String]]),
196196
],
197197
],
198198
)

0 commit comments

Comments
 (0)