Skip to content

Commit

Permalink
Merge pull request #50 from jrafanie/update_ruby_rails_dependencies
Browse files Browse the repository at this point in the history
Update ruby rails dependencies (breaking change)
  • Loading branch information
Fryguy authored Sep 24, 2024
2 parents 16bb476 + a82cd58 commit 29165c8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 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
4 changes: 2 additions & 2 deletions manageiq-postgres_ha_admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ 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", ">=5.0", "<7.1"
spec.add_runtime_dependency "activesupport", ">=7.0.8", "<8.0"
spec.add_runtime_dependency "awesome_spawn", "~> 1.4"
spec.add_runtime_dependency "manageiq-password", "< 2"
spec.add_runtime_dependency "pg"
Expand Down

0 comments on commit 29165c8

Please sign in to comment.