Skip to content

Commit

Permalink
Drop end of life rubies and rails and add new versions
Browse files Browse the repository at this point in the history
Ensure we're testing and supporting community supported
versions.

Drop:
* ruby 2.7
* rails 6.0
* rails 6.1

Add:
* ruby 3.2
* ruby 3.3
* rails 7.1
* rails 7.2

Note: ruby 3.0 is not difficult to keep maintaining for now but it's on the chopping block.
  • Loading branch information
jrafanie committed Sep 24, 2024
1 parent 192bc48 commit a82cd58
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
strategy:
matrix:
ruby-version:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
rails-version:
- '6.0'
- '6.1'
- '7.0'
- '7.1'
- '7.2'
exclude:
- ruby-version: '3.0'
rails-version: '7.2'
services:
postgres:
image: manageiq/postgresql:13
Expand Down
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ gemspec

minimum_version =
case ENV['TEST_RAILS_VERSION']
when "6.0"
"~>6.0.4"
when "7.0"
"~>7.0.8"
when "7.2"
"~>7.2.1"
when "7.1"
"~>7.1.4"
else
"~>6.1.4"
"~>7.0.8"
end

gem "activesupport", minimum_version
2 changes: 1 addition & 1 deletion manageiq-postgres_ha_admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.5.8"
spec.required_ruby_version = ">= 3.0"

spec.add_runtime_dependency "activesupport", ">=7.0.8", "<8.0"
spec.add_runtime_dependency "awesome_spawn", "~> 1.4"
Expand Down

0 comments on commit a82cd58

Please sign in to comment.