Commit 1411d38
[CHA-2578] chore: relax faraday and sorbet-runtime version constraints (#200)
* chore: relax faraday and sorbet-runtime version constraints
- faraday: ~> 2.12.2 -> ~> 2.12 (unblocks security fix in 2.14.1)
- faraday-multipart: ~> 1.1.0 -> ~> 1.1 (allows 1.2.x, Ruby 4 compat)
- faraday-net_http_persistent: ~> 2.3.0 -> ~> 2.3
- sorbet-runtime: ~> 0.5.11820 -> >= 0.5.11820, < 2 (allows 0.5.x and 0.6.x)
- sorbet (dev): ~> 0.5 -> ~> 0.6
Closes #196, closes #189
* chore: add Ruby 4.0 to CI matrix, run lint checks on 3.4 and 4.0
* 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)
* chore: make lint configurable via matrix flag instead of hardcoded ruby version check
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* enabled lint check on ruby 3.4 as well
* fix: tighten sorbet-runtime upper bound from < 2 to < 1
Current sorbet versions are 0.5.x and 0.6.x, both of which are < 1.
Using < 2 was unnecessarily wide and would allow a hypothetical 1.x
series without explicit opt-in.
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b271d4f commit 1411d38
27 files changed
Lines changed: 37 additions & 1085 deletions
File tree
- .github/workflows
- sorbet
- rbi
- gems
- sorbet-typed/lib
- faraday/all
- rainbow/all
- rake/all
- rspec-core/all
- rubocop/>=1.8
- yard/all
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
24 | | - | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | | - | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments