sorbet-runtime 0.5.10326 → 0.5.10337
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 +4 -4
- data/lib/types/helpers.rb +7 -0
- 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: 64d302ca7dc37f8ba39d6a761fe1fd1bc5f630c6db51c1058acbff9c1239b78c
|
|
4
|
+
data.tar.gz: 2b7d3ed23fe14d767ff8cecdddb15a1a59c016012f3a624c71a7854e74400bba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb92d0ddf919f9e24ce10177dc21c2d140c69ef17b5e86a68b8b81795896a8d099bab9e5e22527183fded2c004f8be980c6a229fcba89390842dfbb2825a56d9
|
|
7
|
+
data.tar.gz: 46012e09cb1c7357ed70bb507cc6be0936e26b517106bb6f0fe5d3d4f01ee875fabb1131f2f9137c93b755d99bdafc4ab04845395be86c7373ff5545f5676626
|
data/lib/types/helpers.rb
CHANGED
|
@@ -11,6 +11,13 @@ module T::Helpers
|
|
|
11
11
|
### Class/Module Helpers ###
|
|
12
12
|
|
|
13
13
|
def abstract!
|
|
14
|
+
if defined?(super)
|
|
15
|
+
# This is to play nicely with Rails' AbstractController::Base,
|
|
16
|
+
# which also defines an `abstract!` method.
|
|
17
|
+
# https://api.rubyonrails.org/classes/AbstractController/Base.html#method-c-abstract-21
|
|
18
|
+
super
|
|
19
|
+
end
|
|
20
|
+
|
|
14
21
|
Private::Abstract::Declare.declare_abstract(self, type: :abstract)
|
|
15
22
|
end
|
|
16
23
|
|
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.10337
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|