Skip to content

Commit

Permalink
Merge pull request #579 from bvalentino/rails-8.0
Browse files Browse the repository at this point in the history
Add support for Rails 8
  • Loading branch information
AaronLasseigne authored Nov 17, 2024
2 parents 5d3d410 + 3dd2643 commit d0375df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
strategy:
matrix:
ruby: ["3.2", "3.3"]
activemodel: ["7.1"]
activemodel: ["7.1", "8.0"]
include:
- activemodel: "8.0"
ruby: "3.3"
- activemodel: "7.0"
ruby: "3.2"
- activemodel: "6.1"
Expand Down
4 changes: 2 additions & 2 deletions active_interaction.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
Dir.glob(File.join('lib', 'active_interaction', 'locale', '*.yml'))
spec.test_files = Dir.glob(File.join('spec', '**', '*.rb'))

spec.add_dependency 'activemodel', '>= 5.2', '< 8'
spec.add_dependency 'activesupport', '>= 5.2', '< 8'
spec.add_dependency 'activemodel', '>= 5.2', '< 9'
spec.add_dependency 'activesupport', '>= 5.2', '< 9'

{
'actionpack' => [],
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/rails-8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'activemodel', '~> 8.0.0'
gem 'activerecord', '~> 8.0.0'
gem 'sqlite3', '>= 2.1'

0 comments on commit d0375df

Please sign in to comment.