sorbet-runtime 0.5.11216 → 0.5.11218
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc3bbd1acf267719f097fe97d978b1896075899607230c1f64d9c9dd3c5b3d33
|
4
|
+
data.tar.gz: fc59cc7e14e1218a2567b20267562e60bf229283ffc3db5c28096bfbf3a7cf64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d5549e16e9f5a96f4fbc692b4fac7a498ce74deb4bff02f92a9c43318418d1d4ccefa594d7884cdd7662b5225e5e3abe41136afe4682c98fe30430099aa93c0
|
7
|
+
data.tar.gz: 20d1ef7401dd881324f02c58f2938bef3f3f304d3bf2c3eefc2b68f7e5fce28e69db27c5ed5bd4c1a4ac3bedd302469f1a45314e8e6858cd898943b788814e17
|
@@ -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.11218
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|