sorbet-runtime 0.5.11216 → 0.5.11219
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: 46b8b5950fa0f9da1370e20532749f9cf60ae057c593649fa8d4b0a4d1110ac1
|
4
|
+
data.tar.gz: 7e88e1574c2049c889eba4fc3bc8d8224b77339ab132b8bebf3c48557f828ac3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74b135105f59467aa6dd41746fdce549f4eb16499fef4c4facda102a7f7b623578a01743a1b65c570ea37db453f73becd5441b6a3b1a3372d819aab6424e804b
|
7
|
+
data.tar.gz: 5818ab11ee04c3452274344e7b3153d6f111b1b24ae48ebc2ae45837ba8c1cf5ab1ad9596a28806d9c838bd1780cb0338ab1141e281a7ed674931b2895df4fdf
|
@@ -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.11219
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|