diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aacbf431..a387a253 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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" diff --git a/active_interaction.gemspec b/active_interaction.gemspec index 4278e003..630e1579 100644 --- a/active_interaction.gemspec +++ b/active_interaction.gemspec @@ -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' => [], diff --git a/gemfiles/rails-8.0.gemfile b/gemfiles/rails-8.0.gemfile new file mode 100644 index 00000000..034476be --- /dev/null +++ b/gemfiles/rails-8.0.gemfile @@ -0,0 +1,7 @@ +source 'https://rubygems.org' + +gemspec path: '..' + +gem 'activemodel', '~> 8.0.0' +gem 'activerecord', '~> 8.0.0' +gem 'sqlite3', '>= 2.1'