Skip to content

Commit 9def4d5

Browse files
committed
Set minimum Ruby version to 3.2
1 parent 0214a9a commit 9def4d5

4 files changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ on:
88

99
env:
1010
BUNDLE_WITHOUT: "development"
11-
JRUBY_OPTS: "--dev --debug"
1211

1312
jobs:
1413
test:
1514
runs-on: ${{ matrix.os }}
1615

1716
strategy:
1817
matrix:
19-
ruby: [ ruby-2.5, ruby-2.6, ruby-2.7, ruby-3.0, ruby-3.1, ruby-3.2, ruby-3.3, jruby-9.2 ]
18+
ruby: [ ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0 ]
2019
os: [ ubuntu-latest, windows-latest ]
21-
exclude:
22-
# TODO(ixti): fails because it can't find spec files o_O
23-
- { ruby: jruby-9.2, os: windows-latest }
2420

2521
steps:
2622
- uses: actions/checkout@v4
@@ -58,7 +54,7 @@ jobs:
5854

5955
- uses: ruby/setup-ruby@v1
6056
with:
61-
ruby-version: 2.5
57+
ruby-version: 3.2
6258
bundler-cache: true
6359

6460
- name: bundle exec rubocop

.rubocop.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ plugins:
1111
AllCops:
1212
DisplayCopNames: true
1313
NewCops: enable
14-
TargetRubyVersion: 2.5
15-
DefaultFormatter: fuubar
14+
TargetRubyVersion: 3.2

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,10 @@ form = HTTP::FormData.create({
5858
This library aims to support and is [tested against][ci] the following Ruby
5959
versions:
6060

61-
* Ruby 2.5
62-
* Ruby 2.6
63-
* Ruby 2.7
64-
* Ruby 3.0
65-
* Ruby 3.1
6661
* Ruby 3.2
6762
* Ruby 3.3
68-
* JRuby 9.2
63+
* Ruby 3.4
64+
* Ruby 4.0
6965

7066
If something doesn't work on one of these versions, it's a bug.
7167

http-form_data.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
2525
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
2626
spec.require_paths = ["lib"]
2727

28-
spec.required_ruby_version = ">= 2.5"
28+
spec.required_ruby_version = ">= 3.2"
2929
end

0 commit comments

Comments
 (0)