diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4b7e907..1d95f19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: suite: - core - faraday-1.0 + - faraday-2.0 - msgr - rack - rails-6.1 @@ -36,6 +37,9 @@ jobs: - suite: faraday-1.0 spec: --tag probe:faraday gemfile: gemfiles/faraday_10.gemfile + - suite: faraday-2.0 + spec: --tag probe:faraday + gemfile: gemfiles/faraday_20.gemfile - suite: msgr spec: --tag probe:msgr gemfile: gemfiles/core.gemfile diff --git a/Appraisals b/Appraisals index 9063f55..8850fb6 100644 --- a/Appraisals +++ b/Appraisals @@ -12,6 +12,14 @@ appraise 'faraday-10' do end end +appraise 'faraday-20' do + remove_gem 'rubocop' + + group :test do + gem 'faraday', '~> 2.0' + end +end + appraise 'rails-71' do remove_gem 'rubocop' diff --git a/CHANGELOG.md b/CHANGELOG.md index e811741..1e281d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Dropped support for Sidekiq < 6.0 - Dropped support for Faraday < 1.0 +### Added + +- Added Faraday 2.0 to test matrix + ## [1.17.0] - 2023-11-28 ### Added diff --git a/gemfiles/faraday_20.gemfile b/gemfiles/faraday_20.gemfile new file mode 100644 index 0000000..c1a7717 --- /dev/null +++ b/gemfiles/faraday_20.gemfile @@ -0,0 +1,28 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rake", "~> 13.0" + +group :test do + gem "rspec", "~> 3.6" + gem "timecop", "~> 0.9.1" + gem "faraday", "~> 2.0" + gem "msgr" + gem "rails" + gem "redis" + gem "redis-client" + gem "restify" + gem "sidekiq" + gem "sqlite3" + gem "webmock" +end + +group :development do + gem "appraisal" + gem "rake-release", "~> 1.3.0" + gem "pry", require: false + gem "pry-byebug", require: false +end + +gemspec path: "../"