brew vendor-gems: commit updates.
This commit is contained in:
parent
800e45b007
commit
d4e2da3d7b
@ -165,6 +165,8 @@ GEM
|
|||||||
yard (>= 0.9)
|
yard (>= 0.9)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
aarch64-linux
|
||||||
|
arm-linux
|
||||||
arm64-darwin
|
arm64-darwin
|
||||||
x86_64-darwin
|
x86_64-darwin
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|||||||
@ -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-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-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/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}/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/ruby-prof-1.7.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-html-0.12.3/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-html-0.12.3/lib")
|
||||||
|
|||||||
@ -16,7 +16,7 @@ require_relative "macho/tools"
|
|||||||
# The primary namespace for ruby-macho.
|
# The primary namespace for ruby-macho.
|
||||||
module MachO
|
module MachO
|
||||||
# release version
|
# release version
|
||||||
VERSION = "4.0.0"
|
VERSION = "4.0.1"
|
||||||
|
|
||||||
# Opens the given filename as a MachOFile or FatFile, depending on its magic.
|
# Opens the given filename as a MachOFile or FatFile, depending on its magic.
|
||||||
# @param filename [String] the file being opened
|
# @param filename [String] the file being opened
|
||||||
@ -411,9 +411,15 @@ module MachO
|
|||||||
|
|
||||||
# Delete the given runtime path from the Mach-O.
|
# Delete the given runtime path from the Mach-O.
|
||||||
# @example
|
# @example
|
||||||
# file.rpaths # => ["/lib"]
|
# file1.rpaths # => ["/lib", "/usr/lib", "/lib"]
|
||||||
# file.delete_rpath("/lib")
|
# file1.delete_rpath("/lib")
|
||||||
# file.rpaths # => []
|
# 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 path [String] the runtime path to delete
|
||||||
# @param options [Hash]
|
# @param options [Hash]
|
||||||
# @option options [Boolean] :uniq (false) if true, also delete
|
# @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.
|
# instance (by offset) of the requested path, unless :last is true.
|
||||||
# Incompatible with :last.
|
# Incompatible with :last.
|
||||||
# @option options [Boolean] :last (false) if true, delete the 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
|
# @return void
|
||||||
# @raise [RpathUnknownError] if no such runtime path exists
|
# @raise [RpathUnknownError] if no such runtime path exists
|
||||||
# @raise [ArgumentError] if both :uniq and :last are true
|
# @raise [ArgumentError] if both :uniq and :last are true
|
||||||
@ -131,7 +131,7 @@ module MachO
|
|||||||
|
|
||||||
# @param name [Symbol] name of internal field
|
# @param name [Symbol] name of internal field
|
||||||
# @param type [Symbol] type of field in terms of binary size
|
# @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
|
# Expected options
|
||||||
# :size [Integer] size in bytes
|
# :size [Integer] size in bytes
|
||||||
# :mask [Integer] bitmask
|
# :mask [Integer] bitmask
|
||||||
@ -236,7 +236,7 @@ module MachO
|
|||||||
# Generates a reader method for fields that need further unpacking.
|
# Generates a reader method for fields that need further unpacking.
|
||||||
# @param name [Symbol] name of internal field
|
# @param name [Symbol] name of internal field
|
||||||
# @param idx [Integer] the index of the field value in the @values array
|
# @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
|
# @api private
|
||||||
def def_unpack_reader(name, idx, unpack)
|
def def_unpack_reader(name, idx, unpack)
|
||||||
define_method(name) do
|
define_method(name) do
|
||||||
Loading…
x
Reference in New Issue
Block a user