brew vendor-gems: commit updates.

This commit is contained in:
BrewTestBot 2023-12-26 18:38:11 +00:00
parent b46a48df72
commit 2d2282196f
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
7 changed files with 7 additions and 9 deletions

View File

@ -181,6 +181,7 @@ GEM
zeitwerk (2.6.12) zeitwerk (2.6.12)
PLATFORMS PLATFORMS
aarch64-linux
arm-linux arm-linux
arm64-darwin arm64-darwin
x86_64-darwin x86_64-darwin

View File

@ -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/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/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/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}/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}/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") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-0.19.0/lib")

View File

@ -9,7 +9,6 @@
# Distributed under the MIT License # Distributed under the MIT License
# #
require 'base64'
require 'cgi' require 'cgi'
require 'stringio' require 'stringio'

View File

@ -124,11 +124,9 @@ module Plist
def data_tag(data, level) def data_tag(data, level)
# note that apple plists are wrapped at a different length then # note that apple plists are wrapped at a different length then
# what ruby's base64 wraps by default. # what ruby's pack wraps by default.
# I used #encode64 instead of #b64encode (which allows a length arg)
# because b64encode is b0rked and ignores the length arg.
tag('data', nil, level) do tag('data', nil, level) do
Base64.encode64(data) [data].pack("m") # equivalent to Base64.encode64(data)
.gsub(/\s+/, '') .gsub(/\s+/, '')
.scan(/.{1,68}/o) .scan(/.{1,68}/o)
.collect { |line| indent(line, level) } .collect { |line| indent(line, level) }

View File

@ -246,10 +246,10 @@ module Plist
end end
end end
require 'base64'
class PData < PTag class PData < PTag
def to_ruby 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 begin
return Marshal.load(data) if options[:marshal] return Marshal.load(data) if options[:marshal]
rescue Exception rescue Exception

View File

@ -1,5 +1,5 @@
# encoding: utf-8 # encoding: utf-8
module Plist module Plist
VERSION = '3.7.0'.freeze VERSION = '3.7.1'.freeze
end end