sorbet-runtime 0.5.5742 → 0.5.5745

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/types/props/decorator.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f649780747495e0332ee5cf00571dc5357c5c54dbc9c6fd01a73c0ac3dfab255
4
- data.tar.gz: c03ae8d3d15a13144360e52e09f4bb8587ab206546308507a31792d38dff0f64
3
+ metadata.gz: 69954bc8dbae95377829749e5eacdcd53b701636a5f9fb10be6b08585bafffb1
4
+ data.tar.gz: 7b7f3087022db43d5aab3a7a0462bd3d1d70e7817b3d58e6046043508643da2e
5
5
  SHA512:
6
- metadata.gz: 9f6cdfdd1162fbc9a952cb18c3612545bc9d96d5d770024e04d450d5a3aadfe85e0bf7381b463c78873c4b28680ebce982f674009b437456bc676c526da64efa
7
- data.tar.gz: 59145d4541bc522d427f4666affb3930afb677aa68dd1eef58e1793c75e1dc9593828efd7fec609fdc616ba598a4b572fafc6cb0959be5e362808efb9c3da797
6
+ metadata.gz: ad4020a7586ce4b60a176e5d6708f1e7775c8a3c0ca06e951ca689388d1ac376f43b8e6967ebd6ceac52a1b546cceaa4e1237e8dc8d6eeebd6a185ba90ee95ff
7
+ data.tar.gz: 8271f49346fd8f5f753b90494cb483890bd510d9f72b1406cddb10f9c8d5b08216f301ac59ca87a57fcb623b1c0648cd32084d070546b6b9bb0e2499a78ec74d
@@ -188,7 +188,7 @@ class T::Props::Decorator
188
188
  .returns(T.untyped)
189
189
  .checked(:never)
190
190
  end
191
- def foreign_prop_get(instance, prop, foreign_class, rules=props[prop.to_sym], opts={})
191
+ def foreign_prop_get(instance, prop, foreign_class, rules=prop_rules(prop), opts={})
192
192
  return if !(value = prop_get(instance, prop, rules))
193
193
  T.unsafe(foreign_class).load(value, {}, opts)
194
194
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5742
4
+ version: 0.5.5745
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-10 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest