sorbet 0.5.10219 → 0.5.10225
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/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: f1dd330768972f76065330dac45a657af8c0ea4a
|
4
|
+
data.tar.gz: fa734b462a65fd1360ce10653c1bb47758f6fd8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1c76acdb177fe9f698d08eec1573b3bacf5ae7ca47e2aec387c4b375e8f2eaf3bf54b7437453890f88dfbe44c80857da179b7483860c0627383a8596c66c0d1
|
7
|
+
data.tar.gz: 4a0e510179c7957e1098d2c2eb2e70baaae29146a6263bfc911a14f40efbaff62e2efe48a7a5b6d337d47677767d500d12d5c0fdea093eaa42d2833f1a2c5636
|
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.10225
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-28 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.10225
|
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.10225
|
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
|