sorbet-runtime 0.5.11212 → 0.5.11226
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2418a60a15817399946c9e5c15225d0b33cbc28456bc89b09d5fdd8063ea7f55
|
4
|
+
data.tar.gz: cd562c40ae4c9f506e456de0aa37b4fa5353034cf8dc7341d57b53a1733aeda9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9d73963797b9c89d6e8d5c0c98fff2c4ed4c6ce925d8f5355f80e3032dff39c29705791c506a9efd0a52fc3fbaacb13ae9c8a4133e3353f9e36d1fa8c7cff7c
|
7
|
+
data.tar.gz: 2c48e141d53d5cb8a2883266953cdd0e011996d9774283ede4d2287a37cb7a01a303355e2d12f1d716b6c2256e9ff4837163f074f5e3b3af38b52f8881ba2467
|
@@ -151,7 +151,7 @@ module T::Private::Methods::SignatureValidation
|
|
151
151
|
# This is a one-off hack, and we should think carefully before adding more methods here.
|
152
152
|
nil
|
153
153
|
else
|
154
|
-
raise "You marked `#{signature.method_name}` as #{pretty_mode(signature)}, but that method doesn't already exist in this class/module to be
|
154
|
+
raise "You marked `#{signature.method_name}` as #{pretty_mode(signature)}, but that method doesn't already exist in this class/module to be overridden.\n" \
|
155
155
|
" Either check for typos and for missing includes or super classes to make the parent method shows up\n" \
|
156
156
|
" ... or remove #{pretty_mode(signature)} here: #{method_loc_str(signature.method)}\n"
|
157
157
|
end
|
@@ -55,7 +55,7 @@ module T::Props::PrettyPrintable
|
|
55
55
|
end
|
56
56
|
|
57
57
|
# Overridable method to specify how the first part of a `pretty_print`d object's class should look like
|
58
|
-
# NOTE: This is just to support Stripe's `PrettyPrintableModel` case, and not recommended to be
|
58
|
+
# NOTE: This is just to support Stripe's `PrettyPrintableModel` case, and not recommended to be overridden
|
59
59
|
sig {params(instance: T::Props::PrettyPrintable).returns(String)}
|
60
60
|
def inspect_class_with_decoration(instance)
|
61
61
|
T.unsafe(instance).class.to_s
|
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.
|
4
|
+
version: 0.5.11226
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|