sorbet-runtime 0.6.13258 → 0.6.13261

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: f1f96e18b171fe61567c35fd4a5dc5a12b0cd94cfb3df8855237557c4d125b24
4
- data.tar.gz: cc38050090b08d0ffe16eaa41cacd8d37d500c95593ac699a46836341ea24e7f
3
+ metadata.gz: 2b162e34e2d1c8b640f2b27bab6d3a372611d3529e412195a4082d7d8554908c
4
+ data.tar.gz: 6fb813091c1620176f14971be806c2a1ebe2298ab60e8422ce8cad413256cdef
5
5
  SHA512:
6
- metadata.gz: 45b877512b1af1af599c7b4d6879b35e5bc04205c8cb81a4ba8af5091992b5c86aa470d68896e73f8cfe8ed8f0f30fc22f600c25096dfbcde1dcb62572bf653c
7
- data.tar.gz: a8c74b733ebb4dd5687d3fcdc1675fc42b2e2beb67c7664b5dc0bbd5027043783c3166b4687819f595a3524f777191c8d027f69eed89912baebae0223504ae41
6
+ metadata.gz: 71363671bb2e61a28d44a958236f40a606dcccb2a1379b68d53dfa41607a6d7e02af519125ecb498914f1175fdeaf237f1c603bca5237931e722ffa3eae8ceb3
7
+ data.tar.gz: 103699ab76f5b32eaae5e3930353ecc8f3bf3ae6b4a3264144b6b392fefda4843d5a96bcb4e8588ca2879bced3a6753fe7d8f4e48c0b5c37e70cc84a7b5ab83f
@@ -18,7 +18,7 @@ module T::Private::Methods::CallValidation
18
18
  def self.wrap_method_if_needed(mod, method_sig, original_method)
19
19
  original_visibility = T::Private::ClassUtils.visibility_method_name(mod, method_sig.method_name)
20
20
  if method_sig.mode == T::Private::Methods::Modes.abstract
21
- create_abstract_wrapper(mod, method_sig, original_method, original_visibility)
21
+ create_abstract_wrapper(mod, method_sig.method_name, original_visibility)
22
22
  # Do nothing in this case; this method was not wrapped in _on_method_added.
23
23
  elsif method_sig.defined_raw
24
24
  # Note, this logic is duplicated (intentionally, for micro-perf) at `Methods._on_method_added`,
@@ -49,20 +49,20 @@ module T::Private::Methods::CallValidation
49
49
  @is_allowed_to_have_fast_path = false
50
50
  end
51
51
 
52
- def self.create_abstract_wrapper(mod, method_sig, original_method, original_visibility)
52
+ def self.create_abstract_wrapper(mod, method_name, original_visibility)
53
53
  T::Configuration.without_ruby_warnings do
54
54
  T::Private::DeclState.current.without_on_method_added do
55
55
  mod.module_eval(<<~METHOD, __FILE__, __LINE__ + 1)
56
56
  #{original_visibility}
57
57
 
58
- def #{method_sig.method_name}(...)
58
+ def #{method_name}(...)
59
59
  # We allow abstract methods to be implemented by things further down the ancestor chain.
60
60
  # So, if a super method exists, call it.
61
61
  if defined?(super)
62
62
  super
63
63
  else
64
64
  raise NotImplementedError.new(
65
- "The method `#{method_sig.method_name}` on #{mod} is declared as `abstract`. It does not have an implementation."
65
+ "The method `#{method_name}` on #{mod} is declared as `abstract`. It does not have an implementation."
66
66
  )
67
67
  end
68
68
  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.6.13258
4
+ version: 0.6.13261
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-28 00:00:00.000000000 Z
11
+ date: 2026-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark