diff --git a/.gitignore b/.gitignore index 358c84fdb2..026f2af621 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,9 @@ **/vendor/bundle/ruby/*/plugins **/vendor/bundle/ruby/*/specifications +# Ignore Bundler binary files +**/vendor/bundle/ruby/*/gems/**/*.bundle + # Ignore YARD files **/.yardoc @@ -276,6 +279,7 @@ **/vendor/bundle/ruby/*/gems/powerpack-*/ **/vendor/bundle/ruby/*/gems/psych-*/ **/vendor/bundle/ruby/*/gems/pry-*/ +**/vendor/bundle/ruby/*/gems/racc-*/ **/vendor/bundle/ruby/*/gems/rainbow-*/ **/vendor/bundle/ruby/*/gems/rbi-*/ **/vendor/bundle/ruby/*/gems/rdiscount-*/ @@ -297,6 +301,7 @@ **/vendor/bundle/ruby/*/gems/ruby-prof-*/ **/vendor/bundle/ruby/*/gems/simplecov-*/ **/vendor/bundle/ruby/*/gems/simplecov-html-*/ +**/vendor/bundle/ruby/*/gems/simpleidn-*/ **/vendor/bundle/ruby/*/gems/sorbet-*/ !**/vendor/bundle/ruby/*/gems/sorbet-runtime-*/ **/vendor/bundle/ruby/*/gems/spoom-*/ @@ -305,6 +310,8 @@ **/vendor/bundle/ruby/*/gems/tapioca-*/ **/vendor/bundle/ruby/*/gems/thor-*/ **/vendor/bundle/ruby/*/gems/tzinfo-*/ +**/vendor/bundle/ruby/*/gems/unf-*/ +**/vendor/bundle/ruby/*/gems/unf_ext-*/ **/vendor/bundle/ruby/*/gems/unicode-display_width-*/ **/vendor/bundle/ruby/*/gems/unparser-*/ **/vendor/bundle/ruby/*/gems/uri_template-*/ diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8658e086d3..0cd62b191d 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -31,10 +31,11 @@ GEM i18n (1.14.1) concurrent-ruby (~> 1.0) json (2.6.3) - json_schemer (0.2.24) + json_schemer (0.2.25) ecma-re-validator (~> 0.3) hana (~> 1.3) regexp_parser (~> 2.0) + simpleidn (~> 0.2) uri_template (~> 0.7) method_source (1.0.0) minitest (5.18.1) @@ -133,6 +134,8 @@ GEM simplecov (~> 0.19) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) + simpleidn (0.2.1) + unf (~> 0.1.4) sorbet (0.5.10461) sorbet-static (= 0.5.10461) sorbet-runtime (0.5.10461) @@ -166,6 +169,9 @@ GEM thor (1.2.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) + unf (0.1.4) + unf_ext + unf_ext (0.0.8.2) unicode-display_width (2.4.2) unparser (0.6.4) diff-lcs (~> 1.3) diff --git a/Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.24.rbi b/Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.25.rbi similarity index 70% rename from Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.24.rbi rename to Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.25.rbi index 22e0942e65..e99c600fdf 100644 --- a/Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.24.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/json_schemer@0.2.25.rbi @@ -6,11 +6,11 @@ module JSONSchemer class << self - def schema(schema, **options); end + def schema(schema, default_schema_class: T.unsafe(nil), **options); end private - def draft_class(schema); end + def draft_class(schema, default_schema_class); end end end @@ -22,9 +22,6 @@ class JSONSchemer::CachedResolver def call(*args); end end -JSONSchemer::DEFAULT_META_SCHEMA = T.let(T.unsafe(nil), String) -JSONSchemer::DRAFT_CLASS_BY_META_SCHEMA = T.let(T.unsafe(nil), Hash) - module JSONSchemer::Errors class << self def pretty(error); end @@ -34,12 +31,13 @@ end JSONSchemer::FILE_URI_REF_RESOLVER = T.let(T.unsafe(nil), Proc) module JSONSchemer::Format + include ::JSONSchemer::Format::Hostname + def iri_escape(data); end def parse_uri_scheme(data); end def valid_date_time?(data); end def valid_email?(data); end - def valid_hostname?(data); end - def valid_ip?(data, type); end + def valid_ip?(data, family); end def valid_json?(data); end def valid_json_pointer?(data); end def valid_relative_json_pointer?(data); end @@ -51,19 +49,50 @@ end JSONSchemer::Format::DATE_TIME_OFFSET_REGEX = T.let(T.unsafe(nil), Regexp) JSONSchemer::Format::EMAIL_REGEX = T.let(T.unsafe(nil), Regexp) -JSONSchemer::Format::HOSTNAME_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::HOUR_24_REGEX = T.let(T.unsafe(nil), Regexp) + +module JSONSchemer::Format::Hostname + def valid_hostname?(data); end +end + +JSONSchemer::Format::Hostname::ARABIC_EXTENDED_DIGITS_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::Hostname::ARABIC_INDIC_DIGITS_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::Hostname::CONTEXT_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::Hostname::EXCEPTIONS_DISALLOWED = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::EXCEPTIONS_PVALID = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::GREEK_LOWER_NUMERAL_SIGN = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::HEBREW_PUNCTUATION = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::HOSTNAME_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::Hostname::JOINING_TYPE_D_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::JOINING_TYPE_L_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::JOINING_TYPE_R_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::JOINING_TYPE_T_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::KATAKANA_MIDDLE_DOT_CONTEXT_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::Hostname::KATAKANA_MIDDLE_DOT_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::Hostname::LABEL_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::LABEL_REGEX_STRING = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::LEADING_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::LETTER_DIGITS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::MARKS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::MIDDLE_DOT = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::VIRAMA_CHARACTER_CLASS = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::ZERO_WIDTH_NON_JOINER_JOINING_TYPE = T.let(T.unsafe(nil), String) +JSONSchemer::Format::Hostname::ZERO_WIDTH_VIRAMA = T.let(T.unsafe(nil), String) JSONSchemer::Format::INVALID_QUERY_REGEX = T.let(T.unsafe(nil), Regexp) +JSONSchemer::Format::IP_REGEX = T.let(T.unsafe(nil), Regexp) JSONSchemer::Format::JSON_POINTER_REGEX = T.let(T.unsafe(nil), Regexp) JSONSchemer::Format::JSON_POINTER_REGEX_STRING = T.let(T.unsafe(nil), String) -JSONSchemer::Format::LABEL_REGEX_STRING = T.let(T.unsafe(nil), String) +JSONSchemer::Format::LEAP_SECOND_REGEX = T.let(T.unsafe(nil), Regexp) JSONSchemer::Format::RELATIVE_JSON_POINTER_REGEX = T.let(T.unsafe(nil), Regexp) class JSONSchemer::InvalidFileURI < ::StandardError; end class JSONSchemer::InvalidRefResolution < ::StandardError; end class JSONSchemer::InvalidRegexpResolution < ::StandardError; end class JSONSchemer::InvalidSymbolKey < ::StandardError; end +JSONSchemer::SCHEMA_CLASS_BY_META_SCHEMA = T.let(T.unsafe(nil), Hash) module JSONSchemer::Schema; end class JSONSchemer::Schema::Base + include ::JSONSchemer::Format::Hostname include ::JSONSchemer::Format def initialize(schema, format: T.unsafe(nil), insert_property_defaults: T.unsafe(nil), before_property_validation: T.unsafe(nil), after_property_validation: T.unsafe(nil), formats: T.unsafe(nil), keywords: T.unsafe(nil), ref_resolver: T.unsafe(nil), regexp_resolver: T.unsafe(nil)); end @@ -175,6 +204,7 @@ class JSONSchemer::Schema::Draft7 < ::JSONSchemer::Schema::Base end JSONSchemer::Schema::Draft7::SUPPORTED_FORMATS = T.let(T.unsafe(nil), Set) +class JSONSchemer::UnknownFormat < ::StandardError; end class JSONSchemer::UnknownRef < ::StandardError; end class JSONSchemer::UnsupportedMetaSchema < ::StandardError; end JSONSchemer::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/simpleidn@0.2.1.rbi b/Library/Homebrew/sorbet/rbi/gems/simpleidn@0.2.1.rbi new file mode 100644 index 0000000000..cd9f62a8c9 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/simpleidn@0.2.1.rbi @@ -0,0 +1,59 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `simpleidn` gem. +# Please instead update this file by running `bin/tapioca gem simpleidn`. + +module SimpleIDN + private + + def to_ascii(domain, transitional = T.unsafe(nil)); end + def to_unicode(domain, transitional = T.unsafe(nil)); end + def uts46map(str, transitional = T.unsafe(nil)); end + + class << self + def to_ascii(domain, transitional = T.unsafe(nil)); end + def to_unicode(domain, transitional = T.unsafe(nil)); end + def uts46map(str, transitional = T.unsafe(nil)); end + end +end + +SimpleIDN::ACE_PREFIX = T.let(T.unsafe(nil), String) +SimpleIDN::ASCII_MAX = T.let(T.unsafe(nil), Integer) +class SimpleIDN::ConversionError < ::RangeError; end +SimpleIDN::DOT = T.let(T.unsafe(nil), String) +SimpleIDN::EMPTY = T.let(T.unsafe(nil), String) +SimpleIDN::LABEL_SEPERATOR_RE = T.let(T.unsafe(nil), Regexp) + +module SimpleIDN::Punycode + private + + def adapt(delta, numpoints, firsttime); end + def decode(input); end + def decode_digit(cp); end + def encode(input); end + def encode_digit(d); end + + class << self + def adapt(delta, numpoints, firsttime); end + def decode(input); end + def decode_digit(cp); end + def encode(input); end + def encode_digit(d); end + end +end + +SimpleIDN::Punycode::ASCII_MAX = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::BASE = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::DAMP = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::DELIMITER = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::EMPTY = T.let(T.unsafe(nil), String) +SimpleIDN::Punycode::INITIAL_BIAS = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::INITIAL_N = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::MAXINT = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::SKEW = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::TMAX = T.let(T.unsafe(nil), Integer) +SimpleIDN::Punycode::TMIN = T.let(T.unsafe(nil), Integer) +SimpleIDN::TRANSITIONAL = T.let(T.unsafe(nil), Hash) +SimpleIDN::UTS64MAPPING = T.let(T.unsafe(nil), Hash) +SimpleIDN::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi b/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi new file mode 100644 index 0000000000..4ae42ce42e --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi @@ -0,0 +1,23 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `unf` gem. +# Please instead update this file by running `bin/tapioca gem unf`. + +module UNF; end + +class UNF::Normalizer + include ::Singleton + extend ::Singleton::SingletonClassMethods + + def initialize; end + + def normalize(_arg0, _arg1); end + + class << self + def instance; end + def normalize(string, form); end + end +end + +UNF::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/unf_ext@0.0.8.2.rbi b/Library/Homebrew/sorbet/rbi/gems/unf_ext@0.0.8.2.rbi new file mode 100644 index 0000000000..bebb1d3938 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/unf_ext@0.0.8.2.rbi @@ -0,0 +1,8 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `unf_ext` gem. +# Please instead update this file by running `bin/tapioca gem unf_ext`. + +# THIS IS AN EMPTY RBI FILE. +# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index a908a8668c..4bae446e56 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -7713,6 +7713,12 @@ module Singleton def dup(); end end +module Singleton::SingletonClassMethods + def _load(str); end + + def clone(); end +end + module Singleton def self.__init__(klass); end end @@ -7985,6 +7991,14 @@ class String def shellescape(); end def shellsplit(); end + + def to_nfc(); end + + def to_nfd(); end + + def to_nfkc(); end + + def to_nfkd(); end end class StringScanner diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f35ebc8fe4..7fbaa617b7 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -53,8 +53,12 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hpricot-0.8.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/universal-darwin-22/#{Gem.extension_api_version}/json-2.6.3") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.6.3/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/universal-darwin-22/#{Gem.extension_api_version}/unf_ext-0.0.8.2") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unf_ext-0.0.8.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unf-0.1.4/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/uri_template-0.7.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-0.2.24/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-0.2.25/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/mustache-1.1.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.23.0/lib")