Skip to content

Commit 9227f0c

Browse files
chore: bump to 2.6.0, require Ruby 3.2+
Drop support for EOL Ruby versions (2.4-3.1) and old Faraday versions (0.8.0, 0.15.0, 0.17.3). CI matrix now tests Ruby 3.2, 3.3, 3.4 with Faraday 1.x and 2.x.
1 parent 2b569a4 commit 9227f0c

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,10 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1']
22+
ruby: ['3.2', '3.3', '3.4']
2323
faraday_adapter: [net_http, em_http]
24-
faraday: ['~> 0.8.0', '~> 0.15.0', '~> 0.17.3', '~> 1.0', '~> 2.0']
24+
faraday: ['~> 1.0', '~> 2.0']
2525
exclude:
26-
# Faraday 2 requires Ruby 2.6+
27-
- ruby: '2.5'
28-
faraday: '~> 2.0'
29-
- ruby: '2.4'
30-
faraday: '~> 2.0'
31-
# Ruby 3.0+ requires Faraday >= 0.17.3
32-
- ruby: '3.0'
33-
faraday: '~> 0.8.0'
34-
- ruby: '3.0'
35-
faraday: '~> 0.15.0'
36-
- ruby: '3.1'
37-
faraday: '~> 0.8.0'
38-
- ruby: '3.1'
39-
faraday: '~> 0.15.0'
4026
# faraday-em_http does not support Faraday 2.0+
4127
- faraday: '~> 2.0'
4228
faraday_adapter: em_http

faraday-http-cache.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |gem|
44
gem.name = 'faraday-http-cache'
5-
gem.version = '2.5.1'
5+
gem.version = '2.6.0'
66
gem.licenses = ['Apache-2.0']
77
gem.description = 'Middleware to handle HTTP caching'
88
gem.summary = 'A Faraday middleware that stores and validates cache expiration.'
@@ -15,6 +15,6 @@ Gem::Specification.new do |gem|
1515
gem.require_paths = ['lib']
1616
gem.executables = []
1717

18-
gem.required_ruby_version = '>= 2.4.0'
18+
gem.required_ruby_version = '>= 3.2.0'
1919
gem.add_dependency 'faraday', '>= 0.8'
2020
end

0 commit comments

Comments
 (0)