sorbet 0.5.10101 → 0.5.10324
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/srb-rbi +19 -0
- metadata +5 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6b1d190b2ba7e96b07be4af57d92b5d62a81cc
|
4
|
+
data.tar.gz: c31b988450026e453e93b3eb594cbb1fa15907d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccff1913be44bd5f9783e33640ff9c8afe4bb4d6c4971f58113e1194fa720c270ebbbc705f00b8c77026e5a77859293ed31ac8d24ba1e35267fd61b6cfed0c60
|
7
|
+
data.tar.gz: 1cda462114c1770f5bc537d23942c6412dde7be0e7ec304ac2fb8d6b6c4434cdf919603a642bcea36a9b0e14f9a87058e62595b7fc117e033c3b28825eec44c6
|
data/bin/srb-rbi
CHANGED
@@ -37,6 +37,23 @@ module Sorbet::Private::Main
|
|
37
37
|
"
|
38
38
|
end
|
39
39
|
|
40
|
+
def self.deprecation
|
41
|
+
<<~MESSAGE
|
42
|
+
#{emojify("⚠️ ", yellow("The"))} #{cyan("srb rbi")} #{yellow("command is in maintenance mode, please use")} #{cyan("Tapioca")} #{yellow("instead.")}
|
43
|
+
|
44
|
+
To switch, add Tapioca to your Gemfile then run #{cyan("bundle install")} to install it:
|
45
|
+
|
46
|
+
#{cyan("gem \"tapioca\", require: false, :group => :development")}
|
47
|
+
|
48
|
+
Once Tapioca is installed, simply run #{cyan("tapioca init")} to initialize your project with Sorbet and generate the necessary RBI files:
|
49
|
+
|
50
|
+
#{cyan("bundle exec tapioca init")}
|
51
|
+
|
52
|
+
For more information, please see https://github.com/Shopify/tapioca.
|
53
|
+
|
54
|
+
MESSAGE
|
55
|
+
end
|
56
|
+
|
40
57
|
def self.emojify(emoji, msg)
|
41
58
|
if STDOUT.isatty && RUBY_PLATFORM =~ /darwin/
|
42
59
|
"#{emoji} #{msg}"
|
@@ -183,6 +200,8 @@ If instead you want to explore your files locally, here are some things to try:
|
|
183
200
|
end
|
184
201
|
|
185
202
|
def self.main(argv)
|
203
|
+
puts self.deprecation
|
204
|
+
|
186
205
|
if argv.length == 0
|
187
206
|
puts self.usage
|
188
207
|
exit(1)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sorbet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.10324
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-static
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.5.
|
19
|
+
version: 0.5.10324
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.5.
|
26
|
+
version: 0.5.10324
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,18 +99,7 @@ licenses:
|
|
99
99
|
- Apache-2.0
|
100
100
|
metadata:
|
101
101
|
source_code_uri: https://github.com/sorbet/sorbet
|
102
|
-
post_install_message:
|
103
|
-
|
104
|
-
Thanks for installing Sorbet! To use it in your project, first run:
|
105
|
-
|
106
|
-
bundle exec srb init
|
107
|
-
|
108
|
-
which will get your project ready to use with Sorbet.
|
109
|
-
After that whenever you want to typecheck your code, run:
|
110
|
-
|
111
|
-
bundle exec srb tc
|
112
|
-
|
113
|
-
For more docs see: https://sorbet.org/docs/adopting
|
102
|
+
post_install_message:
|
114
103
|
rdoc_options: []
|
115
104
|
require_paths:
|
116
105
|
- lib
|