sorbet-runtime 0.4.4825 → 0.4.4833
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/types/private/methods/signature_validation.rb +1 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2af867985593ab98329c3909931d52d7caf794d9c14e180797d33a17a861cba6
|
4
|
+
data.tar.gz: 8a500b58db570beb50b4f2621c87e02eca673023ad4d4078b0ba71dfa58b804d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a48ecfbecf4676bb06f95b782df3bf2dc758f0947460a399fbb925991201530319cd96dd6833756bcd8f5aa4bdb253c394917103dec5e3b3bcd6a46c0a91ae28
|
7
|
+
data.tar.gz: 96f1421933227b2d60487d63e1c4d31c81cb097580664c1e1c1927bff23a713fb7eadafb1b4c105b714293eed6afb15c9af5db63f22b9826511055d4dae19586
|
@@ -58,11 +58,7 @@ module T::Private::Methods::SignatureValidation
|
|
58
58
|
def self.validate_override_mode(signature, super_signature)
|
59
59
|
case signature.mode
|
60
60
|
when *Modes::OVERRIDE_MODES
|
61
|
-
|
62
|
-
raise "You declared `#{signature.method_name}` as #{pretty_mode(signature)}, but the method it overrides is not declared as `overridable` or `abstract`.\n" \
|
63
|
-
" Parent definition: #{method_loc_str(super_signature.method)}\n" \
|
64
|
-
" Child definition: #{method_loc_str(signature.method)}\n"
|
65
|
-
end
|
61
|
+
# Peaceful
|
66
62
|
when *Modes::NON_OVERRIDE_MODES
|
67
63
|
if super_signature.mode == Modes.standard
|
68
64
|
# Peaceful
|
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.4.
|
4
|
+
version: 0.4.4833
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|