Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ jobs:
strategy:
max-parallel: 1
matrix:
ruby: ["3.0", "3.1", "3.4"]
ruby: ["3.0", "3.1", "3.4", "4.0"]
include:
# Add lint: true to any Ruby version that should run rubocop + srb tc.
# Always include 4.0; also add it to the latest Ruby when a newer version is added.
- ruby: "4.0"
lint: true
- ruby: "3.4"
lint: true
name: 💎 Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v4
Expand All @@ -21,10 +28,10 @@ jobs:
bundler-cache: true

- run: bundle exec rake rubocop
if: ${{ matrix.ruby == '3.4' }}
if: ${{ matrix.lint == true }}

- run: bundle exec srb tc
if: ${{ matrix.ruby == '3.4' }}
if: ${{ matrix.lint == true }}

- run: bundle exec rspec ./spec --require spec_helper
env:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ group :dev do
gem 'rubocop-ast', '~> 1.23', require: false
gem 'simplecov', '~> 0.21.2'
gem 'simplecov-console', '~> 0.9.1'
gem 'sorbet', '~> 0.5.10539'
gem 'sorbet', '~> 0.6'
end

group :test do
Expand Down
8 changes: 6 additions & 2 deletions sorbet/config
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
--dir
.
--ignore=vendor/bundle,spec
--disable-watchman
--ignore=vendor/bundle,spec,sorbet/rbi/sorbet-typed
# sorbet/rbi/sorbet-typed contains community stubs generated for Sorbet 0.5.
# Sorbet 0.6 defaults unsigned RBI files to typed: strict, causing 7017 errors
# in these stale stubs. They cover dev tools (rake, rspec, rubocop) that don't
# need type checking. Migrate to Tapioca in a follow-up to replace all stubs.
--disable-watchman
1 change: 1 addition & 0 deletions sorbet/rbi/gems/connection_pool.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/docile.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-em_http.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-em_synchrony.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-excon.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-httpclient.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-multipart.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-net_http.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-net_http_persistent.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-patron.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/faraday-rack.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/method_source.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/multipart-post.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/net-http-persistent.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/simplecov-html.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
1 change: 1 addition & 0 deletions sorbet/rbi/gems/simplecov_json_formatter.rbi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: true
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

Expand Down
4 changes: 0 additions & 4 deletions sorbet/rbi/hidden-definitions/hidden.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -4607,8 +4607,6 @@ class Gem::SpecFetcher

def specs(); end

def suggest_gems_from_name(gem_name, type=T.unsafe(nil)); end

def tuples_for(source, type, gracefully_ignore=T.unsafe(nil)); end
end

Expand Down Expand Up @@ -4728,8 +4726,6 @@ class IO

def wait(*arg); end

def wait_readable(*arg); end

def wait_writable(*arg); end
end

Expand Down
82 changes: 0 additions & 82 deletions sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi

This file was deleted.

Loading