brew vendor-gems: commit updates.

This commit is contained in:
BrewTestBot 2024-02-16 17:25:24 +00:00
parent 800e45b007
commit d4e2da3d7b
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
14 changed files with 16 additions and 8 deletions

View File

@ -165,6 +165,8 @@ GEM
yard (>= 0.9)
PLATFORMS
aarch64-linux
arm-linux
arm64-darwin
x86_64-darwin
x86_64-linux

View File

@ -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")

View File

@ -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

View File

@ -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

View File

@ -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