From d24fdaf21c4dd6f8c28e5bd1f9b0225af720151c Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Thu, 16 Sep 2021 12:17:25 -0400 Subject: [PATCH] Bump smart_properties version Signed-off-by: Alexandre Terrasa --- Gemfile.lock | 2 +- ...1.15.0.rbi => smart_properties@1.16.2.rbi} | 47 +++++++++---------- 2 files changed, 24 insertions(+), 25 deletions(-) rename sorbet/rbi/gems/{smart_properties@1.15.0.rbi => smart_properties@1.16.2.rbi} (79%) diff --git a/Gemfile.lock b/Gemfile.lock index 2c7c716db..db3521efa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -246,7 +246,7 @@ GEM connection_pool (>= 2.2.2) rack (~> 2.0) redis (>= 4.2.0) - smart_properties (1.15.0) + smart_properties (1.16.2) sorbet (0.5.9125) sorbet-static (= 0.5.9125) sorbet-runtime (0.5.9125) diff --git a/sorbet/rbi/gems/smart_properties@1.15.0.rbi b/sorbet/rbi/gems/smart_properties@1.16.2.rbi similarity index 79% rename from sorbet/rbi/gems/smart_properties@1.15.0.rbi rename to sorbet/rbi/gems/smart_properties@1.16.2.rbi index f5d093522..2e4826816 100644 --- a/sorbet/rbi/gems/smart_properties@1.15.0.rbi +++ b/sorbet/rbi/gems/smart_properties@1.16.2.rbi @@ -1,11 +1,12 @@ # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `smart_properties` gem. -# Please instead update this file by running `tapioca sync`. +# Please instead update this file by running `bin/tapioca gem smart_properties`. # typed: true module SmartProperties - mixes_in_class_methods(::SmartProperties::ClassMethods) + mixes_in_class_methods ::SmartProperties::ClassMethods + mixes_in_class_methods ::SmartProperties::ModuleMethods def initialize(*args, &block); end @@ -13,7 +14,6 @@ module SmartProperties def []=(name, value); end class << self - private def included(base); end @@ -24,9 +24,9 @@ class SmartProperties::AssignmentError < ::SmartProperties::Error def initialize(sender, property, message); end def property; end - def property=(_); end + def property=(_arg0); end def sender; end - def sender=(_); end + def sender=(_arg0); end end module SmartProperties::ClassMethods @@ -38,28 +38,25 @@ module SmartProperties::ClassMethods def property!(name, options = T.unsafe(nil)); end end -class SmartProperties::ConfigurationError < ::SmartProperties::Error -end +class SmartProperties::ConfigurationError < ::SmartProperties::Error; end class SmartProperties::ConstructorArgumentForwardingError < ::SmartProperties::Error def initialize(positional_arguments, keyword_arguments); end - private def generate_description(argument_type, argument_number); end end -class SmartProperties::Error < ::ArgumentError -end +class SmartProperties::Error < ::ArgumentError; end class SmartProperties::InitializationError < ::SmartProperties::Error def initialize(sender, properties); end def properties; end - def properties=(_); end + def properties=(_arg0); end def sender; end - def sender=(_); end + def sender=(_arg0); end def to_hash; end end @@ -68,7 +65,7 @@ class SmartProperties::InvalidValueError < ::SmartProperties::AssignmentError def to_hash; end def value; end - def value=(_); end + def value=(_arg0); end private @@ -81,6 +78,10 @@ class SmartProperties::MissingValueError < ::SmartProperties::AssignmentError def to_hash; end end +module SmartProperties::ModuleMethods + def included(target); end +end + class SmartProperties::Property def initialize(name, attrs = T.unsafe(nil)); end @@ -115,11 +116,10 @@ class SmartProperties::Property end SmartProperties::Property::ALLOWED_DEFAULT_CLASSES = T.let(T.unsafe(nil), Array) - SmartProperties::Property::MODULE_REFERENCE = T.let(T.unsafe(nil), Symbol) class SmartProperties::PropertyCollection - include(::Enumerable) + include ::Enumerable def initialize; end @@ -136,11 +136,11 @@ class SmartProperties::PropertyCollection protected def children; end - def children=(_); end + def children=(_arg0); end def collection; end - def collection=(_); end + def collection=(_arg0); end def collection_with_parent_collection; end - def collection_with_parent_collection=(_); end + def collection_with_parent_collection=(_arg0); end def notify_children; end def refresh(parent_collection); end @@ -150,19 +150,18 @@ class SmartProperties::PropertyCollection end SmartProperties::VERSION = T.let(T.unsafe(nil), String) - -module SmartProperties::Validations -end +module SmartProperties::Validations; end class SmartProperties::Validations::Ancestor - include(::SmartProperties) - extend(::SmartProperties::ClassMethods) + include ::SmartProperties + extend ::SmartProperties::ClassMethods + extend ::SmartProperties::ModuleMethods def to_proc; end def to_s; end def validate(klass); end class << self - def must_be(*_); end + def must_be(*_arg0); end end end