Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
CI: update Ruby test matrix
Browse files Browse the repository at this point in the history
- Remove Ruby 2.6: rubocop >= 1.51.0 depends on Ruby >= 2.7.0
- Add modern, generally available Ruby versions: 3.2, 3.3
  • Loading branch information
sgerrand committed Jul 12, 2024
1 parent 56c3a34 commit b99a080
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ jobs:
fail-fast: false
matrix:
ruby:
- ruby-2.6
- ruby-2.7
- ruby-3.0
- ruby-3.1
- ruby-3.2
- ruby-3.3

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inherit_gem:
gc_ruboconfig: rubocop.yml

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
NewCops: enable

RSpec/ExampleLength:
Expand Down
2 changes: 1 addition & 1 deletion duffel_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "A Ruby client for interacting with the Duffel API"
spec.homepage = "https://github.com/duffelhq/duffel-api-ruby"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.required_ruby_version = ">= 2.7.0"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
Expand Down

0 comments on commit b99a080

Please sign in to comment.