sorbet-runtime 0.4.4372 → 0.4.4373
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/types/props/decorator.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be4c267b22fe3f8f97edced764b6be039d72c404
|
|
4
|
+
data.tar.gz: fd21322a9494164ac369f5c92395a1dc1d94afa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff5896803dfd31b1b8c831a9cac3909f0c334c67acc5ccfeaf895da0b85e593868658783c157bb93d4c0f05c62c140014e002f9bfd0adaeee57117c5410b6285
|
|
7
|
+
data.tar.gz: 8f87ce31ee9cb00fb3fcdf7dbc876a68829c1c89e8756058bd4f697ad14cfccad7b00a58d80e33324753e0c5f63076e9d8b613eee0121b0f8fdab3befafa4497
|
|
@@ -18,7 +18,7 @@ class T::Props::Decorator
|
|
|
18
18
|
|
|
19
19
|
class NoRulesError < StandardError; end
|
|
20
20
|
|
|
21
|
-
sig {params(klass: DecoratedClass).void}
|
|
21
|
+
T::Sig::WithoutRuntime.sig {params(klass: DecoratedClass).void}
|
|
22
22
|
def initialize(klass)
|
|
23
23
|
@class = klass
|
|
24
24
|
klass.plugins.each do |mod|
|
|
@@ -780,7 +780,7 @@ class T::Props::Decorator
|
|
|
780
780
|
#
|
|
781
781
|
# This gets called when a module or class that extends T::Props gets included, extended,
|
|
782
782
|
# prepended, or inherited.
|
|
783
|
-
sig {params(child: DecoratedClass).void}
|
|
783
|
+
T::Sig::WithoutRuntime.sig {params(child: DecoratedClass).void}
|
|
784
784
|
def model_inherited(child)
|
|
785
785
|
child.extend(T::Props::ClassMethods)
|
|
786
786
|
child.plugins.concat(decorated_class.plugins)
|
|
@@ -801,7 +801,7 @@ class T::Props::Decorator
|
|
|
801
801
|
end
|
|
802
802
|
end
|
|
803
803
|
|
|
804
|
-
sig {params(mod: Module).void}
|
|
804
|
+
T::Sig::WithoutRuntime.sig {params(mod: Module).void}
|
|
805
805
|
def plugin(mod)
|
|
806
806
|
decorated_class.plugins << mod
|
|
807
807
|
Private.apply_class_methods(mod, decorated_class)
|