sorbet-runtime 0.5.9195 → 0.5.9204
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/types/helpers.rb +4 -2
- 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: 3816decf2cda63ae2397c11518a03442eec1f278f2084f99bb4defdc98b2e300
|
4
|
+
data.tar.gz: e422cf4e35e0b4ed2aba961ad390df64b58720b2089f153cad90ed31cb60eb26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d400482fe99e058b94f4e4ddb02926090969199d9a915629f26163ba5d998c36cf86e588de93073c3f3b989b967616f7a47d6d1ff17d2258a7d98031f43da731
|
7
|
+
data.tar.gz: 751d4901723758a81c2f9fe9dd206b025c7031c06be387f32909da59f33bd45fc4005d9258dcc3a774120f49b4fabe7ddfa1df639a749ff5e6476145c9c0a749
|
data/lib/types/helpers.rb
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
# Use as a mixin with extend (`extend T::Helpers`).
|
5
5
|
# Docs at https://confluence.corp.stripe.com/display/PRODINFRA/Ruby+Types
|
6
6
|
module T::Helpers
|
7
|
+
extend T::Sig
|
8
|
+
|
7
9
|
Private = T::Private
|
8
10
|
|
9
11
|
### Class/Module Helpers ###
|
@@ -44,7 +46,7 @@ module T::Helpers
|
|
44
46
|
# module MyHelper
|
45
47
|
# extend T::Helpers
|
46
48
|
#
|
47
|
-
# requires_ancestor Kernel
|
49
|
+
# requires_ancestor { Kernel }
|
48
50
|
# end
|
49
51
|
#
|
50
52
|
# class MyClass < BasicObject # error: `MyClass` must include `Kernel` (required by `MyHelper`)
|
@@ -52,5 +54,5 @@ module T::Helpers
|
|
52
54
|
# end
|
53
55
|
#
|
54
56
|
# TODO: implement the checks in sorbet-runtime.
|
55
|
-
def requires_ancestor(
|
57
|
+
def requires_ancestor(&block); end
|
56
58
|
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.9204
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|