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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/types/props/decorator.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4d720b793868e133e834e0c39f64bcdb8de4a21
4
- data.tar.gz: bcac13e59895d0418a9e73bdb5b771eee7110a24
3
+ metadata.gz: be4c267b22fe3f8f97edced764b6be039d72c404
4
+ data.tar.gz: fd21322a9494164ac369f5c92395a1dc1d94afa0
5
5
  SHA512:
6
- metadata.gz: '09119a85679e44196481771a4a8e425e5b5d6994c3a3d5055e64448f37d5022de8c9c4d3e289257a5c2a0cd7720c762f818c8a2b1d02aa318da554f9097574b4'
7
- data.tar.gz: cb77c675c3072c43bb6e1feaec4c6fa0e9c4b95f45d2faca49a4da620da0342fd6f3227a7c28df0d867d4ee9cd6050a288b236287711c62e372891ab652c239e
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4372
4
+ version: 0.4.4373
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe