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