Skip to content

Commit

Permalink
Raise required Ruby version to 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mediafinger committed Apr 19, 2024
1 parent e542a4d commit 9c7fcb2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
14 changes: 8 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ The only other runtime dependency is Ruby's latest code loader [**zeitwerk**](ht

### Ruby version

| Chimera version | Ruby version |
|:----------------|:-----------------------------------|
| >= 1.4 | >= 2.5 (3.0 compatibility ensured) |
| >= 1.1 | >= 2.5 |
| = 1.0 | >= 2.4, <= 3.0 |
| <= 0.5 | >= 2.1, <= 3.0 |
| Chimera version | Ruby version |
|:----------------|:------------------------------------|
| >= 1.6 | >= 2.7 (all 3.x versions supported) |
| >= 1.4 | >= 2.5 (3.0 compatibility ensured) |
| >= 1.1 | >= 2.5 |
| = 1.0 | >= 2.4, <= 3.0 |
| <= 0.5 | >= 2.1, <= 3.0 |

The test suite of v1.4 passes on **MRI Ruby** (2.5, 2.6, 2.7, 3.0) and on **JRuby**, but not on **TruffleRuby**.
The test suite of v1.6 passes on **MRI Ruby** (2.7, 3.0, 3.1, 3.2, 3.3) and on **JRuby** and **TruffleRuby**.

### ENV variables

Expand Down
2 changes: 1 addition & 1 deletion chimera_http_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "chimera_http_client/version"

Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.5.0" # without Deserializer's `rescue` in block it would be 2.4.4 (because of zeitwerk)
spec.required_ruby_version = ">= 2.7.0" # probably 2.5.0 still works, but 2.7 is the oldest tested version

spec.name = "chimera_http_client"
spec.version = ChimeraHttpClient::VERSION
Expand Down

0 comments on commit 9c7fcb2

Please sign in to comment.