diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index d3aba1f2ed..5a0c849f8c 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -114,7 +114,7 @@ GEM rubocop-factory_bot (~> 2.22) rubocop-sorbet (0.7.7) rubocop (>= 0.90.0) - ruby-macho (4.0.0) + ruby-macho (4.0.1) ruby-prof (1.7.0) ruby-progressbar (1.13.0) simplecov (0.22.0) diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-macho@4.0.0.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-macho@4.0.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/ruby-macho@4.0.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-macho@4.0.1.rbi index 26aaa25235..af14c57171 100644 --- a/Library/Homebrew/sorbet/rbi/gems/ruby-macho@4.0.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/ruby-macho@4.0.1.rbi @@ -3123,12 +3123,17 @@ class MachO::MachOFile def delete_command(lc, options = T.unsafe(nil)); end # Delete the given runtime path from the Mach-O. - # instance (by offset) of the requested path. Incompatible with :uniq. # # @example - # file.rpaths # => ["/lib"] - # file.delete_rpath("/lib") - # file.rpaths # => [] + # file1.rpaths # => ["/lib", "/usr/lib", "/lib"] + # file1.delete_rpath("/lib") + # file1.rpaths # => ["/usr/lib", "/lib"] + # file2.rpaths # => ["foo", "foo"] + # file2.delete_rpath("foo", :uniq => true) + # file2.rpaths # => [] + # file3.rpaths # => ["foo", "bar", "foo"] + # file3.delete_rpath("foo", :last => true) + # file3.rpaths # => ["foo", "bar"] # @option options # @option options # @param options [Hash] @@ -3137,7 +3142,7 @@ class MachO::MachOFile # @raise [ArgumentError] if both :uniq and :last are true # @return void # - # source://ruby-macho//lib/macho/macho_file.rb#428 + # source://ruby-macho//lib/macho/macho_file.rb#434 def delete_rpath(path, options = T.unsafe(nil)); end # @return [Boolean] whether or not the file is of type `MH_DSYM` @@ -3369,7 +3374,7 @@ class MachO::MachOFile # @return [Hash] a hash representation of this {MachOFile} # - # source://ruby-macho//lib/macho/macho_file.rb#463 + # source://ruby-macho//lib/macho/macho_file.rb#469 def to_h; end # Write all Mach-O data to the given filename. @@ -3377,7 +3382,7 @@ class MachO::MachOFile # @param filename [String] the file to write to # @return [void] # - # source://ruby-macho//lib/macho/macho_file.rb#448 + # source://ruby-macho//lib/macho/macho_file.rb#454 def write(filename); end # Write all Mach-O data to the file used to initialize the instance. @@ -3386,7 +3391,7 @@ class MachO::MachOFile # @raise [MachOError] if the instance was initialized without a file # @return [void] # - # source://ruby-macho//lib/macho/macho_file.rb#456 + # source://ruby-macho//lib/macho/macho_file.rb#462 def write!; end private @@ -3397,7 +3402,7 @@ class MachO::MachOFile # @param cpusubtype [Integer] the CPU subtype # @raise [CPUSubtypeError] if the CPU sub-type is unknown # - # source://ruby-macho//lib/macho/macho_file.rb#565 + # source://ruby-macho//lib/macho/macho_file.rb#571 def check_cpusubtype(cputype, cpusubtype); end # Check the file's CPU type. @@ -3406,7 +3411,7 @@ class MachO::MachOFile # @param cputype [Integer] the CPU type # @raise [CPUTypeError] if the CPU type is unknown # - # source://ruby-macho//lib/macho/macho_file.rb#557 + # source://ruby-macho//lib/macho/macho_file.rb#563 def check_cputype(cputype); end # Check the file's type. @@ -3415,7 +3420,7 @@ class MachO::MachOFile # @param filetype [Integer] the file type # @raise [FiletypeError] if the file type is unknown # - # source://ruby-macho//lib/macho/macho_file.rb#574 + # source://ruby-macho//lib/macho/macho_file.rb#580 def check_filetype(filetype); end # Attempt to decompress a Mach-O file from the data specified in a prelinked kernel header. @@ -3426,7 +3431,7 @@ class MachO::MachOFile # @raise [DecompressionError] if decompression is impossible or fails # @return [void] # - # source://ruby-macho//lib/macho/macho_file.rb#518 + # source://ruby-macho//lib/macho/macho_file.rb#524 def decompress_macho_lzvn; end # The low file offset (offset to first section data). @@ -3434,7 +3439,7 @@ class MachO::MachOFile # @api private # @return [Integer] the offset # - # source://ruby-macho//lib/macho/macho_file.rb#615 + # source://ruby-macho//lib/macho/macho_file.rb#621 def low_fileoff; end # Read just the file's magic number and check its validity. @@ -3444,7 +3449,7 @@ class MachO::MachOFile # @raise [FatBinaryError] if the magic is for a Fat file # @return [Integer] the magic # - # source://ruby-macho//lib/macho/macho_file.rb#542 + # source://ruby-macho//lib/macho/macho_file.rb#548 def populate_and_check_magic; end # All load commands in the file. @@ -3453,7 +3458,7 @@ class MachO::MachOFile # @raise [LoadCommandError] if an unknown load command is encountered # @return [Array] an array of load commands # - # source://ruby-macho//lib/macho/macho_file.rb#582 + # source://ruby-macho//lib/macho/macho_file.rb#588 def populate_load_commands; end # The file's Mach-O header structure. @@ -3463,7 +3468,7 @@ class MachO::MachOFile # @return [Headers::MachHeader] if the Mach-O is 32-bit # @return [Headers::MachHeader64] if the Mach-O is 64-bit # - # source://ruby-macho//lib/macho/macho_file.rb#477 + # source://ruby-macho//lib/macho/macho_file.rb#483 def populate_mach_header; end # Read a compressed Mach-O header and check its validity, as well as whether we're able @@ -3474,7 +3479,7 @@ class MachO::MachOFile # @raise [DecompressionError] if decompression is impossible or fails # @return [void] # - # source://ruby-macho//lib/macho/macho_file.rb#501 + # source://ruby-macho//lib/macho/macho_file.rb#507 def populate_prelinked_kernel_header; end # Updates the number of load commands in the raw data. @@ -3483,7 +3488,7 @@ class MachO::MachOFile # @param ncmds [Integer] the new number of commands # @return [void] # - # source://ruby-macho//lib/macho/macho_file.rb#636 + # source://ruby-macho//lib/macho/macho_file.rb#642 def update_ncmds(ncmds); end # Updates the size of all load commands in the raw data. @@ -3492,7 +3497,7 @@ class MachO::MachOFile # @param size [Integer] the new size, in bytes # @return [void] # - # source://ruby-macho//lib/macho/macho_file.rb#646 + # source://ruby-macho//lib/macho/macho_file.rb#652 def update_sizeofcmds(size); end class << self @@ -3605,7 +3610,7 @@ class MachO::MachOStructure # @api private # @param name [Symbol] name of internal field # @param idx [Integer] the index of the field value in the @values array - # @param unpack [String] the format code used for futher binary unpacking + # @param unpack [String] the format code used for further binary unpacking # # source://ruby-macho//lib/macho/structure.rb#241 def def_unpack_reader(name, idx, unpack); end @@ -3622,7 +3627,7 @@ class MachO::MachOStructure # @api private # @param name [Symbol] name of internal field # @param type [Symbol] type of field in terms of binary size - # @param options [Hash] set of additonal options + # @param options [Hash] set of additional options # @raise [ArgumentError] # # source://ruby-macho//lib/macho/structure.rb#144 diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index b88d9e38a7..60a2ca3b16 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -99,7 +99,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-performance-1.20.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-2.26.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.7.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.0.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.0.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-html-0.12.3/lib") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/LICENSE b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/LICENSE similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/LICENSE rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/LICENSE diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho.rb similarity index 99% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho.rb index f11343c81d..12f701364b 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho.rb @@ -16,7 +16,7 @@ require_relative "macho/tools" # The primary namespace for ruby-macho. module MachO # release version - VERSION = "4.0.0" + VERSION = "4.0.1" # Opens the given filename as a MachOFile or FatFile, depending on its magic. # @param filename [String] the file being opened diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/exceptions.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/exceptions.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/exceptions.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/exceptions.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/fat_file.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/fat_file.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/fat_file.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/fat_file.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/headers.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/headers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/headers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/headers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/load_commands.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/load_commands.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/load_commands.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/load_commands.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/macho_file.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/macho_file.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/macho_file.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/macho_file.rb index f48bfa5eb2..15dadbcf78 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/macho_file.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/macho_file.rb @@ -411,9 +411,15 @@ module MachO # Delete the given runtime path from the Mach-O. # @example - # file.rpaths # => ["/lib"] - # file.delete_rpath("/lib") - # file.rpaths # => [] + # file1.rpaths # => ["/lib", "/usr/lib", "/lib"] + # file1.delete_rpath("/lib") + # file1.rpaths # => ["/usr/lib", "/lib"] + # file2.rpaths # => ["foo", "foo"] + # file2.delete_rpath("foo", :uniq => true) + # file2.rpaths # => [] + # file3.rpaths # => ["foo", "bar", "foo"] + # file3.delete_rpath("foo", :last => true) + # file3.rpaths # => ["foo", "bar"] # @param path [String] the runtime path to delete # @param options [Hash] # @option options [Boolean] :uniq (false) if true, also delete @@ -421,7 +427,7 @@ module MachO # instance (by offset) of the requested path, unless :last is true. # Incompatible with :last. # @option options [Boolean] :last (false) if true, delete the last - # instance (by offset) of the requested path. Incompatible with :uniq. + # instance (by offset) of the requested path. Incompatible with :uniq. # @return void # @raise [RpathUnknownError] if no such runtime path exists # @raise [ArgumentError] if both :uniq and :last are true diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/sections.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/sections.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/sections.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/sections.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/structure.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/structure.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/structure.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/structure.rb index 06949a9376..ed5b3a5f73 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/structure.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/structure.rb @@ -131,7 +131,7 @@ module MachO # @param name [Symbol] name of internal field # @param type [Symbol] type of field in terms of binary size - # @param options [Hash] set of additonal options + # @param options [Hash] set of additional options # Expected options # :size [Integer] size in bytes # :mask [Integer] bitmask @@ -236,7 +236,7 @@ module MachO # Generates a reader method for fields that need further unpacking. # @param name [Symbol] name of internal field # @param idx [Integer] the index of the field value in the @values array - # @param unpack [String] the format code used for futher binary unpacking + # @param unpack [String] the format code used for further binary unpacking # @api private def def_unpack_reader(name, idx, unpack) define_method(name) do diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/tools.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/tools.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/tools.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/tools.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/view.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/view.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.0/lib/macho/view.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/ruby-macho-4.0.1/lib/macho/view.rb