sorbet-runtime 0.5.10965 → 0.5.10969
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: 214f055b58e6ffbc43c27d3f6dbb0d70f1e738bb86fa4b44243cc1842574f043
|
4
|
+
data.tar.gz: ec806794ddda0284e2f5672aaabffbc122f1ef0e7bdeab8f94b95863b9877030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cab0ec5c817526a2b3cf027662b7d3c6e68420484d47cd609ea07ec8d0b07197018b68eea60b4c3091ded154f6924029ae32f8fd0c01b03960ee24352be2ad3f
|
7
|
+
data.tar.gz: cef5589c6422333649a14e2cea544258219a359364d9f2c78915da6cb16f0b6de325a9bf17599db1fb312e6d62f2fd39d84e0288a247ce6dceac6fbd9f205b49
|
@@ -163,7 +163,7 @@ module T::Private::Methods
|
|
163
163
|
|
164
164
|
definition_file, definition_line = T::Private::Methods.signature_for_method(ancestor.instance_method(method_name)).method.source_location
|
165
165
|
is_redefined = target == ancestor
|
166
|
-
caller_loc = caller_locations
|
166
|
+
caller_loc = caller_locations.find {|l| !l.to_s.start_with?(SORBET_RUNTIME_LIB_PATH)}
|
167
167
|
extra_info = "\n"
|
168
168
|
if caller_loc
|
169
169
|
extra_info = (is_redefined ? "Redefined" : "Overridden") + " here: #{caller_loc.path}:#{caller_loc.lineno}\n"
|
@@ -176,7 +176,7 @@ module T::Props
|
|
176
176
|
base_message = "Can't set #{klass.name}.#{prop} to #{val.inspect} (instance of #{val.class}) - need a #{type}"
|
177
177
|
|
178
178
|
pretty_message = "Parameter '#{prop}': #{base_message}\n"
|
179
|
-
caller_loc = caller_locations
|
179
|
+
caller_loc = caller_locations.find {|l| !l.to_s.include?('sorbet-runtime/lib/types/props')}
|
180
180
|
if caller_loc
|
181
181
|
pretty_message += "Caller: #{caller_loc.path}:#{caller_loc.lineno}\n"
|
182
182
|
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.5.
|
4
|
+
version: 0.5.10969
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|