Skip to content

Commit

Permalink
Update Rails requirement from >= 7.0, < 8 to >= 7.0, < 9 (#116)
Browse files Browse the repository at this point in the history
* Update activesupport & activerecord requirement from >= 7.0, < 8 to >= 7.0, < 9

Updates the requirements on [activesupport](https://github.com/rails/rails) to permit the latest version.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.0.0/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v7.0.0...v7.2.2)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: direct:production
- dependency-name: activerecord
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add Rails 8 to test matrix

* Bump ActiveRecord to lt 9 as well

* Exclude Ruby 3.1/Rails 8 test combination

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tabby Cromarty <[email protected]>
  • Loading branch information
dependabot[bot] and Tabby authored Nov 11, 2024
1 parent a6ff79e commit 40b414f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
strategy:
matrix:
ruby-version: [3.1, 3.2, 3.3]
rails-version: [7.0, 7.1, 7.2]
rails-version: [7.0, 7.1, 7.2, 8.0]
exclude:
- ruby-version: 3.1
rails-version: 8.0
runs-on: ubuntu-latest
env:
RAILS_VERSION: ${{ matrix.rails-version }}
Expand Down
4 changes: 2 additions & 2 deletions anony.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Gem::Specification.new do |spec|
spec.add_dependency "activerecord", "~> #{ENV['RAILS_VERSION']}"
spec.add_dependency "activesupport", "~> #{ENV['RAILS_VERSION']}"
else
spec.add_dependency "activerecord", ">= 7.0", "< 8"
spec.add_dependency "activesupport", ">= 7.0", "< 8"
spec.add_dependency "activerecord", ">= 7.0", "< 9"
spec.add_dependency "activesupport", ">= 7.0", "< 9"
end
spec.metadata["rubygems_mfa_required"] = "true"
end

0 comments on commit 40b414f

Please sign in to comment.