diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index d76eece168..72612f6998 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -181,6 +181,7 @@ GEM zeitwerk (2.6.12) PLATFORMS + aarch64-linux arm-linux arm64-darwin x86_64-darwin diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index dc1774b1ba..f5cd0336e7 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -74,7 +74,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11155/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-8.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prettier_print-1.2.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-darwin-15/#{Gem.extension_api_version}/prism-0.19.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-0.19.0/lib") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/LICENSE.txt b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/LICENSE.txt similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/LICENSE.txt rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/LICENSE.txt diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist.rb similarity index 95% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist.rb index 2304992dfa..0939cb359a 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist.rb @@ -9,7 +9,6 @@ # Distributed under the MIT License # -require 'base64' require 'cgi' require 'stringio' diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/generator.rb similarity index 96% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/generator.rb index 0b8af54b3f..5d17d55f5f 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/generator.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/generator.rb @@ -124,11 +124,9 @@ module Plist def data_tag(data, level) # note that apple plists are wrapped at a different length then - # what ruby's base64 wraps by default. - # I used #encode64 instead of #b64encode (which allows a length arg) - # because b64encode is b0rked and ignores the length arg. + # what ruby's pack wraps by default. tag('data', nil, level) do - Base64.encode64(data) + [data].pack("m") # equivalent to Base64.encode64(data) .gsub(/\s+/, '') .scan(/.{1,68}/o) .collect { |line| indent(line, level) } diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/parser.rb similarity index 98% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/parser.rb index 6b83ed42ed..038b194387 100755 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/parser.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/parser.rb @@ -246,10 +246,10 @@ module Plist end end - require 'base64' class PData < PTag def to_ruby - data = Base64.decode64(text.gsub(/\s+/, '')) unless text.nil? + # unpack("m")[0] is equivalent to Base64.decode64 + data = text.gsub(/\s+/, '').unpack("m")[0] unless text.nil? begin return Marshal.load(data) if options[:marshal] rescue Exception diff --git a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/version.rb b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/version.rb similarity index 57% rename from Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/version.rb rename to Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/version.rb index 4d1d5685f6..6417e8f9b4 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.0/lib/plist/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/plist-3.7.1/lib/plist/version.rb @@ -1,5 +1,5 @@ # encoding: utf-8 module Plist - VERSION = '3.7.0'.freeze + VERSION = '3.7.1'.freeze end