Merge pull request #11391 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-macho-2.5.1

build(deps): bump ruby-macho from 2.5.0 to 2.5.1 in /Library/Homebrew
This commit is contained in:
Carlo Cabrera 2021-05-16 22:20:35 +01:00 committed by GitHub
commit cfdd358c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 6 additions and 9 deletions

View File

@ -132,7 +132,7 @@ GEM
rubocop-ast (>= 1.1.0) rubocop-ast (>= 1.1.0)
rubocop-sorbet (0.6.1) rubocop-sorbet (0.6.1)
rubocop rubocop
ruby-macho (2.5.0) ruby-macho (2.5.1)
ruby-progressbar (1.11.0) ruby-progressbar (1.11.0)
rubyntlm (0.6.3) rubyntlm (0.6.3)
simplecov (0.21.2) simplecov (0.21.2)

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ruby-macho` gem. # This is an autogenerated file for types exported from the `ruby-macho` gem.
# Please instead update this file by running `tapioca sync`. # Please instead update this file by running `bin/tapioca sync`.
# typed: true # typed: true

View File

@ -84,7 +84,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.10.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.10.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.3.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.3.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-html-0.12.3/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-html-0.12.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib"

View File

@ -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 = "2.5.0" VERSION = "2.5.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

View File

@ -418,11 +418,8 @@ module MachO
rpath_cmds = command(:LC_RPATH).select { |r| r.path.to_s == path } rpath_cmds = command(:LC_RPATH).select { |r| r.path.to_s == path }
raise RpathUnknownError, path if rpath_cmds.empty? raise RpathUnknownError, path if rpath_cmds.empty?
# delete the commands in reverse order, offset descending. this # delete the commands in reverse order, offset descending.
# allows us to defer (expensive) field population until the very end rpath_cmds.reverse_each { |cmd| delete_command(cmd) }
rpath_cmds.reverse_each { |cmd| delete_command(cmd, :repopulate => false) }
populate_fields
end end
# Write all Mach-O data to the given filename. # Write all Mach-O data to the given filename.