From 6cd41d5d3ebe15c175da4365e9b1f015c55460b0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 15 Dec 2021 18:10:45 +0000 Subject: [PATCH] Update RBI files for activesupport. --- ...@6.1.4.1.rbi => activesupport@6.1.4.3.rbi} | 61 ++++++++++++++++++- 1 file changed, 58 insertions(+), 3 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{activesupport@6.1.4.1.rbi => activesupport@6.1.4.3.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.1.rbi b/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.3.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.3.rbi index 4f9fedf903..1650060212 100644 --- a/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.4.3.rbi @@ -1,8 +1,10 @@ +# typed: false + # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `activesupport` gem. # Please instead update this file by running `bin/tapioca gem activesupport`. -# typed: false +::RUBY19 = T.let(T.unsafe(nil), TrueClass) module ActiveSupport extend ::ActiveSupport::LazyLoadHooks @@ -26,13 +28,27 @@ end module ActiveSupport::ActionableError extend ::ActiveSupport::Concern + include GeneratedInstanceMethods + mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveSupport::ActionableError::ClassMethods class << self def actions(error); end def dispatch(error, name); end end + + module GeneratedClassMethods + def _actions; end + def _actions=(value); end + def _actions?; end + end + + module GeneratedInstanceMethods + def _actions; end + def _actions=(value); end + def _actions?; end + end end module ActiveSupport::ActionableError::ClassMethods @@ -333,7 +349,9 @@ end module ActiveSupport::Callbacks extend ::ActiveSupport::Concern + include GeneratedInstanceMethods + mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods mixes_in_class_methods ::ActiveSupport::DescendantsTracker @@ -342,6 +360,17 @@ module ActiveSupport::Callbacks private def halted_callback_hook(filter, name); end + + module GeneratedClassMethods + def __callbacks; end + def __callbacks=(value); end + def __callbacks?; end + end + + module GeneratedInstanceMethods + def __callbacks; end + def __callbacks?; end + end end ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES = T.let(T.unsafe(nil), Array) @@ -2108,11 +2137,25 @@ end module ActiveSupport::Rescuable extend ::ActiveSupport::Concern + include GeneratedInstanceMethods + mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods def handler_for_rescue(exception); end def rescue_with_handler(exception); end + + module GeneratedClassMethods + def rescue_handlers; end + def rescue_handlers=(value); end + def rescue_handlers?; end + end + + module GeneratedInstanceMethods + def rescue_handlers; end + def rescue_handlers=(value); end + def rescue_handlers?; end + end end module ActiveSupport::Rescuable::ClassMethods @@ -2402,8 +2445,22 @@ end module ActiveSupport::Testing::FileFixtures extend ::ActiveSupport::Concern + include GeneratedInstanceMethods + + mixes_in_class_methods GeneratedClassMethods def file_fixture(fixture_name); end + + module GeneratedClassMethods + def file_fixture_path; end + def file_fixture_path=(value); end + def file_fixture_path?; end + end + + module GeneratedInstanceMethods + def file_fixture_path; end + def file_fixture_path?; end + end end module ActiveSupport::Testing::Isolation @@ -3337,10 +3394,8 @@ end class String include ::Comparable - include ::Colorize::InstanceMethods include ::JSON::Ext::Generator::GeneratorMethods::String include ::MessagePack::CoreExt - extend ::Colorize::ClassMethods extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend def acts_like_string?; end