Merge pull request #16402 from Homebrew/dependabot/bundler/Library/Homebrew/plist-3.7.1
build(deps): bump plist from 3.7.0 to 3.7.1 in /Library/Homebrew
This commit is contained in:
commit
67217f6e97
@ -52,7 +52,7 @@ GEM
|
||||
racc
|
||||
patchelf (1.4.0)
|
||||
elftools (>= 1.2)
|
||||
plist (3.7.0)
|
||||
plist (3.7.1)
|
||||
prettier_print (1.2.1)
|
||||
prism (0.19.0)
|
||||
pry (0.14.2)
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
require "api/analytics"
|
||||
require "api/cask"
|
||||
require "api/formula"
|
||||
require "base64" # TODO: Add this to the Gemfile or remove it before moving to Ruby 3.4.
|
||||
require "extend/cachable"
|
||||
|
||||
module Homebrew
|
||||
|
||||
@ -4,13 +4,13 @@
|
||||
# This is an autogenerated file for types exported from the `plist` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem plist`.
|
||||
|
||||
# source://plist//lib/plist/generator.rb#174
|
||||
# source://plist//lib/plist/generator.rb#172
|
||||
class Array
|
||||
include ::Enumerable
|
||||
include ::Plist::Emit
|
||||
end
|
||||
|
||||
# source://plist//lib/plist/generator.rb#178
|
||||
# source://plist//lib/plist/generator.rb#176
|
||||
class Hash
|
||||
include ::Enumerable
|
||||
include ::Plist::Emit
|
||||
@ -92,7 +92,7 @@ module Plist::Emit
|
||||
# source://plist//lib/plist/generator.rb#55
|
||||
def save_plist(obj, filename, options = T.unsafe(nil)); end
|
||||
|
||||
# source://plist//lib/plist/generator.rb#162
|
||||
# source://plist//lib/plist/generator.rb#160
|
||||
def wrap(contents); end
|
||||
end
|
||||
end
|
||||
@ -112,16 +112,16 @@ class Plist::Emit::PlistBuilder
|
||||
|
||||
private
|
||||
|
||||
# source://plist//lib/plist/generator.rb#157
|
||||
# source://plist//lib/plist/generator.rb#155
|
||||
def comment_tag(content); end
|
||||
|
||||
# source://plist//lib/plist/generator.rb#125
|
||||
def data_tag(data, level); end
|
||||
|
||||
# source://plist//lib/plist/generator.rb#144
|
||||
# source://plist//lib/plist/generator.rb#142
|
||||
def element_type(item); end
|
||||
|
||||
# source://plist//lib/plist/generator.rb#140
|
||||
# source://plist//lib/plist/generator.rb#138
|
||||
def indent(str, level); end
|
||||
|
||||
# source://plist//lib/plist/generator.rb#113
|
||||
@ -171,9 +171,9 @@ class Plist::PArray < ::Plist::PTag
|
||||
def to_ruby; end
|
||||
end
|
||||
|
||||
# source://plist//lib/plist/parser.rb#250
|
||||
# source://plist//lib/plist/parser.rb#249
|
||||
class Plist::PData < ::Plist::PTag
|
||||
# source://plist//lib/plist/parser.rb#251
|
||||
# source://plist//lib/plist/parser.rb#250
|
||||
def to_ruby; end
|
||||
end
|
||||
|
||||
@ -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")
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
# Distributed under the MIT License
|
||||
#
|
||||
|
||||
require 'base64'
|
||||
require 'cgi'
|
||||
require 'stringio'
|
||||
|
||||
@ -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) }
|
||||
@ -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
|
||||
@ -1,5 +1,5 @@
|
||||
# encoding: utf-8
|
||||
|
||||
module Plist
|
||||
VERSION = '3.7.0'.freeze
|
||||
VERSION = '3.7.1'.freeze
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user