From d2ac5ab6ba46d294bbb394ac49177fea786f1439 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 13 Mar 2023 19:09:01 +0000 Subject: [PATCH] Update RBI files for activesupport. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...@6.1.7.2.rbi => activesupport@6.1.7.3.rbi} | 51 +++++++++++++ .../sorbet/rbi/hidden-definitions/hidden.rbi | 74 ------------------- 2 files changed, 51 insertions(+), 74 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{activesupport@6.1.7.2.rbi => activesupport@6.1.7.3.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.7.2.rbi b/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.7.3.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.7.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.7.3.rbi index 8840430c24..deda6468e4 100644 --- a/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.7.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.7.3.rbi @@ -2193,6 +2193,7 @@ class ActiveSupport::SafeBuffer < ::String def <<(value); end def [](*args); end def []=(*args); end + def bytesplice(*args, value); end def capitalize(*args, &block); end def capitalize!(*args); end def chomp(*args, &block); end @@ -3415,6 +3416,56 @@ class Regexp::Token < ::Struct end end +class String + include ::Comparable + include ::JSON::Ext::Generator::GeneratorMethods::String + include ::MessagePack::CoreExt + extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend + + def acts_like_string?; end + def as_json(options = T.unsafe(nil)); end + def at(position); end + def blank?; end + def camelcase(first_letter = T.unsafe(nil)); end + def camelize(first_letter = T.unsafe(nil)); end + def classify; end + def constantize; end + def dasherize; end + def deconstantize; end + def demodulize; end + def first(limit = T.unsafe(nil)); end + def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end + def from(position); end + def html_safe; end + def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end + def is_utf8?; end + def last(limit = T.unsafe(nil)); end + def mb_chars; end + def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end + def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end + def remove(*patterns); end + def remove!(*patterns); end + def safe_constantize; end + def singularize(locale = T.unsafe(nil)); end + def squish; end + def squish!; end + def tableize; end + def titlecase(keep_id_suffix: T.unsafe(nil)); end + def titleize(keep_id_suffix: T.unsafe(nil)); end + def to(position); end + def to_date; end + def to_datetime; end + def to_time(form = T.unsafe(nil)); end + def truncate(truncate_at, options = T.unsafe(nil)); end + def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end + def truncate_words(words_count, options = T.unsafe(nil)); end + def underscore; end + def upcase_first; end +end + +String::BLANK_RE = T.let(T.unsafe(nil), Regexp) +String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map) + class Struct include ::Enumerable diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index 6ccdcd9075..d486da96ff 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -8178,80 +8178,18 @@ module Stdenv end class String - def acts_like_string?(); end - - def at(position); end - - def camelcase(first_letter=T.unsafe(nil)); end - - def camelize(first_letter=T.unsafe(nil)); end - - def classify(); end - - def constantize(); end - - def dasherize(); end - - def deconstantize(); end - - def demodulize(); end - def exclude?(string); end def fast_xs(); end - def first(limit=T.unsafe(nil)); end - - def foreign_key(separate_class_name_and_id_with_underscore=T.unsafe(nil)); end - - def from(position); end - - def html_safe(); end - - def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end - def indent(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end def indent!(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end - def is_utf8?(); end - - def last(limit=T.unsafe(nil)); end - - def mb_chars(); end - - def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end - - def pluralize(count=T.unsafe(nil), locale=T.unsafe(nil)); end - - def remove(*patterns); end - - def remove!(*patterns); end - - def safe_constantize(); end - def shellescape(); end def shellsplit(); end - def singularize(locale=T.unsafe(nil)); end - - def squish(); end - - def squish!(); end - - def tableize(); end - - def titlecase(keep_id_suffix: T.unsafe(nil)); end - - def titleize(keep_id_suffix: T.unsafe(nil)); end - - def to(position); end - - def to_date(); end - - def to_datetime(); end - def to_nfc(); end def to_nfd(); end @@ -8259,18 +8197,6 @@ class String def to_nfkc(); end def to_nfkd(); end - - def to_time(form=T.unsafe(nil)); end - - def truncate(truncate_at, options=T.unsafe(nil)); end - - def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end - - def truncate_words(words_count, options=T.unsafe(nil)); end - - def underscore(); end - - def upcase_first(); end end class StringScanner