Skip to content

Commit

Permalink
Drop support for Faraday v1.1.0 to avoid middleware initialisation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Aug 3, 2022
1 parent 28cd805 commit e0d6fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/faraday.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
# For v2.0.x, we test v2.0.0 and v2.0.1 because v2.0.0 has a special behaviour where
# the Net::HTTP adapter is not included. See
# https://github.com/lostisland/faraday/blob/main/UPGRADING.md#faraday-20.
faraday_version: ['1.0.1', '1.1.0', '1.2.0', '1.3.1', '1.4.1', '1.5.1', '1.6.0', '1.7.2', '1.8.0', '1.9.3', '1.10.0', '2.0.0', '2.0.1', '2.1.0', '2.2.0', '2.3.0', '2.4.0']
faraday_version: ['1.1.0', '1.2.0', '1.3.1', '1.4.1', '1.5.1', '1.6.0', '1.7.2', '1.8.0', '1.9.3', '1.10.0', '2.0.0', '2.0.1', '2.1.0', '2.2.0', '2.3.0', '2.4.0']
env:
FARADAY_VERSION: ~> ${{ matrix.faraday_version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion restforce.gemspec
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = '>= 2.6'

gem.add_dependency 'faraday', '< 2.5.0', '>= 1.0.0'
gem.add_dependency 'faraday', '< 2.5.0', '>= 1.1.0'
gem.add_dependency 'faraday-follow_redirects', '<= 0.3.0', '< 1.0.0'
gem.add_dependency 'faraday-multipart', '>= 1.0.0', '< 2.0.0'
gem.add_dependency 'faraday-net_http', '< 3.0.0'
Expand Down

0 comments on commit e0d6fca

Please sign in to comment.