From ff2de4ca56f50fa9487d3fb9f09bda9a71169c38 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 31 Dec 2020 07:01:43 +0000 Subject: [PATCH] Update RBI files for plist. --- .../gems/{plist@3.5.0.rbi => plist@3.6.0.rbi} | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{plist@3.5.0.rbi => plist@3.6.0.rbi} (76%) diff --git a/Library/Homebrew/sorbet/rbi/gems/plist@3.5.0.rbi b/Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi similarity index 76% rename from Library/Homebrew/sorbet/rbi/gems/plist@3.5.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi index b0e4e03527..75cbcab250 100644 --- a/Library/Homebrew/sorbet/rbi/gems/plist@3.5.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi @@ -1,6 +1,6 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `plist` gem. -# Please instead update this file by running `tapioca generate --exclude json`. +# Please instead update this file by running `tapioca sync`. # typed: true @@ -15,36 +15,35 @@ module Plist::Emit def to_plist(envelope = T.unsafe(nil), options = T.unsafe(nil)); end class << self - def comment(content); end def dump(obj, envelope = T.unsafe(nil), options = T.unsafe(nil)); end - def element_type(item); end - def plist_node(element, options = T.unsafe(nil)); end def save_plist(obj, filename, options = T.unsafe(nil)); end - def tag(type, contents = T.unsafe(nil), options = T.unsafe(nil), &block); end def wrap(contents); end end end Plist::Emit::DEFAULT_INDENT = T.let(T.unsafe(nil), String) -class Plist::Emit::IndentedString - def initialize(str = T.unsafe(nil)); end +class Plist::Emit::PlistBuilder + def initialize(indent_str); end - def <<(val); end - def indent_string; end - def indent_string=(_); end - def lower_indent; end - def raise_indent; end - def to_s; end + def build(element, level = T.unsafe(nil)); end + + private + + def comment_tag(content); end + def data_tag(data, level); end + def element_type(item); end + def indent(str, level); end + def tag(type, contents, level, &block); end end class Plist::Listener def initialize; end def open; end - def open=(_); end + def open=(_arg0); end def result; end - def result=(_); end + def result=(_arg0); end def tag_end(name); end def tag_start(name, attributes); end def text(contents); end @@ -94,9 +93,9 @@ class Plist::PTag def initialize; end def children; end - def children=(_); end + def children=(_arg0); end def text; end - def text=(_); end + def text=(_arg0); end def to_ruby; end class << self @@ -119,6 +118,8 @@ class Plist::StreamParser def parse_encoding_from_xml_declaration(xml_declaration); end end +Plist::StreamParser::CDATA = T.let(T.unsafe(nil), Regexp) + Plist::StreamParser::COMMENT_END = T.let(T.unsafe(nil), Regexp) Plist::StreamParser::COMMENT_START = T.let(T.unsafe(nil), Regexp) @@ -127,6 +128,11 @@ Plist::StreamParser::DOCTYPE_PATTERN = T.let(T.unsafe(nil), Regexp) Plist::StreamParser::TEXT = T.let(T.unsafe(nil), Regexp) +Plist::StreamParser::UNIMPLEMENTED_ERROR = T.let(T.unsafe(nil), String) + Plist::StreamParser::XMLDECL_PATTERN = T.let(T.unsafe(nil), Regexp) +class Plist::UnimplementedElementError < ::RuntimeError +end + Plist::VERSION = T.let(T.unsafe(nil), String)