sorbet-runtime 0.6.13351 → 0.6.13354

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/configuration.rb +0 -49
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0337eb93d38de8e64b39043ffd3b986cd7f4f4ea16413eedb1f599a5aa393b1
4
- data.tar.gz: 32178fae98337c722d1dd31d4739af3cd41387a806fc33ae642271b9422502c3
3
+ metadata.gz: 1938d486d2226b40719917def21aa4eaf182b7dfbd82f19966b4090ecce26f43
4
+ data.tar.gz: 118531cfaf22868bb646a4df967f0ec6b9afcea5f44d83b3926f05600f6f98a1
5
5
  SHA512:
6
- metadata.gz: b70eae8153c4400303567f4e147569e05e571025a57a88be2cbba32cd4f4eb4903fc0d6dfd8ed5b56b7416c23f1b2c8330cb638f7713b835a146d36a2a1212ad
7
- data.tar.gz: 1f4cf44bb7735e59af78a35629616c4c9357476a50c8dbd58808ec299b2aff9b90f5da41ab3b7aa9c94f4b7bbfdf6c74e47c422b41d3ca4e2b4dc753507e517c
6
+ metadata.gz: 6253b4f793cf92e4e407262309a4e4960fb6463e3614ff11b1eace47cae30f4dcb5c8f73359846f92c6c685148b2ecd3eb31d5ef9716880226d81ec529412b35
7
+ data.tar.gz: 530aba99e7c885045dac5682d3dacbf1c22f0b12e285716328babad62c82216ea3ced97390069a322565f42fe196e7308c3d9719d58da69ae16d5b0eac33e0e9
@@ -337,41 +337,6 @@ module T::Configuration
337
337
  end
338
338
  end
339
339
 
340
- @hard_assert_handler = nil
341
- # Set a handler for hard assertions
342
- #
343
- # These generally should stop execution of the program, and optionally inform
344
- # some party of the assertion.
345
- #
346
- # @param [Lambda, Proc, Object, nil] value Proc that handles the error
347
- # report (pass nil to reset to default behavior)
348
- #
349
- # Parameters passed to value.call:
350
- #
351
- # @param [String] str Assertion message
352
- # @param [Hash] extra A hash containing additional parameters to be passed along to the handler.
353
- #
354
- # @example
355
- # T::Configuration.hard_assert_handler = lambda do |str, extra|
356
- # raise "#{str}, context: #{extra}"
357
- # end
358
- def self.hard_assert_handler=(value)
359
- validate_lambda_given!(value)
360
- @hard_assert_handler = value
361
- end
362
-
363
- private_class_method def self.hard_assert_handler_default(str, _)
364
- raise str
365
- end
366
-
367
- def self.hard_assert_handler(str, extra={})
368
- if @hard_assert_handler
369
- @hard_assert_handler.call(str, extra)
370
- else
371
- hard_assert_handler_default(str, extra)
372
- end
373
- end
374
-
375
340
  @scalar_types = nil
376
341
  # Set a list of class strings that are to be considered scalar.
377
342
  # (pass nil to reset to default behavior)
@@ -461,20 +426,6 @@ module T::Configuration
461
426
  @redaction_handler
462
427
  end
463
428
 
464
- @class_owner_finder = nil
465
- # Set to a function which can get the 'owner' of a class. This is
466
- # used in reporting deserialization errors
467
- #
468
- # @param [Lambda, Proc, nil] handler Proc that takes a class and
469
- # produces its owner, or `nil` if it does not have one.
470
- def self.class_owner_finder=(handler)
471
- @class_owner_finder = handler
472
- end
473
-
474
- def self.class_owner_finder
475
- @class_owner_finder
476
- end
477
-
478
429
  # Temporarily disable ruby warnings while executing the given block. This is
479
430
  # useful when doing something that would normally cause a warning to be
480
431
  # emitted in Ruby verbose mode ($VERBOSE = true).
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.6.13351
4
+ version: 0.6.13354
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-21 00:00:00.000000000 Z
11
+ date: 2026-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark