Skip to content

Commit 3407d7c

Browse files
authored
Relax required_ruby_version to support Ruby 4.0 (#21)
* CI: Add Ruby 3.2 - 3.4 to CI Matrix Bump actions/checkout from 4 to 6 * Relax `required_ruby_version` to support Ruby 4.0 Add Ruby 4.0 to CI Matrix Remove the `'bundler', '~> 2.0'` dependency for development
1 parent b02f761 commit 3407d7c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
rubocop:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- run: rm .ruby-version
1414
- name: Set up Ruby
1515
uses: ruby/setup-ruby@v1
@@ -26,9 +26,9 @@ jobs:
2626
matrix:
2727
## Due to https://github.com/actions/runner/issues/849,
2828
## we have to use quotes for '3.0'
29-
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1']
29+
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0']
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
3232
- name: Set up Ruby
3333
uses: ruby/setup-ruby@v1
3434
with:

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ source 'https://rubygems.org'
55
gemspec
66

77
group :development, :test do
8-
gem 'bundler', '~> 2.0'
98
gem 'faraday', '>= 1.0'
109
gem 'multipart-parser'
1110
gem 'rake', '~> 13.0'

faraday-multipart.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
2929

3030
spec.files = Dir['lib/**/*', 'README.md', 'LICENSE.md', 'CHANGELOG.md']
3131

32-
spec.required_ruby_version = '>= 2.4', '< 4'
32+
spec.required_ruby_version = '>= 2.4'
3333

3434
spec.add_dependency 'multipart-post', '~> 2.0'
3535
end

0 commit comments

Comments
 (0)