sorbet-runtime 0.6.13347 → 0.6.13351

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cc6b302dfa389b199a39ab699f800c33f2a0b5ec2558ae183537b2fb18efbf2
4
- data.tar.gz: fb2f73cfb640396cf5c120b8a6c0bcb551ff72d573ac390452c9b45dd65c1e10
3
+ metadata.gz: d0337eb93d38de8e64b39043ffd3b986cd7f4f4ea16413eedb1f599a5aa393b1
4
+ data.tar.gz: 32178fae98337c722d1dd31d4739af3cd41387a806fc33ae642271b9422502c3
5
5
  SHA512:
6
- metadata.gz: 34e548e8e35b80f9ee561e179c06fba175202795a52b551a14dc54802240224aa99fd7d55f37d6f0e787b9d78564ec8c4735831b14e5cd5d857e31468b4fe8dd
7
- data.tar.gz: f708a8ce7f3f33c293c249e4b62dae5e89e2796f2b09d024ce9f480db752ae793628a6a8d2873a7a57eecaf704a5605df088cb66377e84c589d6e0e8c16d112d
6
+ metadata.gz: b70eae8153c4400303567f4e147569e05e571025a57a88be2cbba32cd4f4eb4903fc0d6dfd8ed5b56b7416c23f1b2c8330cb638f7713b835a146d36a2a1212ad
7
+ data.tar.gz: 1f4cf44bb7735e59af78a35629616c4c9357476a50c8dbd58808ec299b2aff9b90f5da41ab3b7aa9c94f4b7bbfdf6c74e47c422b41d3ca4e2b4dc753507e517c
@@ -269,26 +269,9 @@ module T::Props::Serializable::DecoratorMethods
269
269
  end
270
270
 
271
271
  def raise_nil_deserialize_error(hkey)
272
- msg = "Tried to deserialize a required prop from a nil value. It's "\
273
- "possible that a nil value exists in the database, so you should "\
274
- "provide a `default: or factory:` for this prop (see go/optional "\
275
- "for more details). If this is already the case, you probably "\
276
- "omitted a required prop from the `fields:` option when doing a "\
277
- "partial load."
278
- storytime = {prop: hkey, klass: decorated_class.name}
279
-
280
- # Notify the model owner if it exists, and always notify the API owner.
281
- begin
282
- if T::Configuration.class_owner_finder && (owner = T::Configuration.class_owner_finder.call(decorated_class))
283
- T::Configuration.hard_assert_handler(
284
- msg,
285
- storytime: storytime,
286
- project: owner
287
- )
288
- end
289
- ensure
290
- T::Configuration.hard_assert_handler(msg, storytime: storytime)
291
- end
272
+ raise "Tried to deserialize a required prop from a nil value. " \
273
+ "You should provide a `default: or factory:` for this prop. " \
274
+ "prop=#{hkey} klass=#{decorated_class.name}"
292
275
  end
293
276
 
294
277
  def prop_validate_definition!(name, cls, rules, type)
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.6.13347
4
+ version: 0.6.13351
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe