Skip to content
Snippets Groups Projects
Unverified Commit cfdd358c authored by Carlo Cabrera's avatar Carlo Cabrera Committed by GitHub
Browse files

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
parents 9f5afcbf 41baec1a
No related branches found
No related tags found
No related merge requests found
Showing
with 6 additions and 9 deletions
......@@ -132,7 +132,7 @@ GEM
rubocop-ast (>= 1.1.0)
rubocop-sorbet (0.6.1)
rubocop
ruby-macho (2.5.0)
ruby-macho (2.5.1)
ruby-progressbar (1.11.0)
rubyntlm (0.6.3)
simplecov (0.21.2)
......
# DO NOT EDIT MANUALLY
# 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
......
......@@ -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-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/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_json_formatter-0.1.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib"
......
......@@ -16,7 +16,7 @@ require_relative "macho/tools"
# The primary namespace for ruby-macho.
module MachO
# release version
VERSION = "2.5.0"
VERSION = "2.5.1"
# Opens the given filename as a MachOFile or FatFile, depending on its magic.
# @param filename [String] the file being opened
......
......@@ -418,11 +418,8 @@ module MachO
rpath_cmds = command(:LC_RPATH).select { |r| r.path.to_s == path }
raise RpathUnknownError, path if rpath_cmds.empty?
# delete the commands in reverse order, offset descending. this
# allows us to defer (expensive) field population until the very end
rpath_cmds.reverse_each { |cmd| delete_command(cmd, :repopulate => false) }
populate_fields
# delete the commands in reverse order, offset descending.
rpath_cmds.reverse_each { |cmd| delete_command(cmd) }
end
# Write all Mach-O data to the given filename.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment