Skip to content

Commit 5086c47

Browse files
fix: update sorbet RBI stubs for Sorbet 0.6 compatibility
- Remove conflicting method stubs from hidden.rbi (now in Sorbet 0.6 stdlib) - Add typed: true headers to gem RBIs missing sigils - Ignore sorbet/rbi/sorbet-typed in sorbet config (stale 0.5 community stubs) - Delete sorbet/rbi/sorbet-typed (ignored, 1071 lines of stale stubs removed)
1 parent e26955d commit 5086c47

24 files changed

Lines changed: 22 additions & 1077 deletions

sorbet/config

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
--dir
22
.
3-
--ignore=vendor/bundle,spec
4-
--disable-watchman
3+
--ignore=vendor/bundle,spec,sorbet/rbi/sorbet-typed
4+
# sorbet/rbi/sorbet-typed contains community stubs generated for Sorbet 0.5.
5+
# Sorbet 0.6 defaults unsigned RBI files to typed: strict, causing 7017 errors
6+
# in these stale stubs. They cover dev tools (rake, rspec, rubocop) that don't
7+
# need type checking. Migrate to Tapioca in a follow-up to replace all stubs.
8+
--disable-watchman

sorbet/rbi/gems/connection_pool.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/docile.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-em_http.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-em_synchrony.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-excon.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-httpclient.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-multipart.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-net_http.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

sorbet/rbi/gems/faraday-net_http_persistent.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# typed: true
12
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
23
# srb rbi gems
34

0 commit comments

Comments
 (0)