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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/srb-rbi +19 -0
  3. metadata +5 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4311354310da4f293614cbb71e2c2a25ab972a56
4
- data.tar.gz: 5f484351ced79360c4c419e2b33151988d633e36
3
+ metadata.gz: f1dd330768972f76065330dac45a657af8c0ea4a
4
+ data.tar.gz: fa734b462a65fd1360ce10653c1bb47758f6fd8f
5
5
  SHA512:
6
- metadata.gz: cedb6f3d0b33dc1cd399033198baba5bf2b50e94526cf2f235016005fefdb0dc44297145b79f45b6ccb71b9c9a0b91b115d7cd41e551876c53fbf7220042e050
7
- data.tar.gz: 520ef2a5c74f9eeeb38da9a708c864f71f6278ae23b9016f9d2b6f9f039eaa67022726491c775a0174367ae45d6b2a5b4ae92bc4e4573ad6575e6eed6622fe4c
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.10219
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-27 00:00:00.000000000 Z
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.10219
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.10219
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: |2
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