diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0455bf25..3abe7987d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ jobs: matrix: include: # Recent Rubies and Rails + - ruby-version: '3.0' + rails-version: '7.0' + - ruby-version: '2.7' + rails-version: '7.0' - ruby-version: '2.6' rails-version: '6.1' - ruby-version: '2.6' diff --git a/active_model_serializers.gemspec b/active_model_serializers.gemspec index 471ab06fe..2d1855e8d 100644 --- a/active_model_serializers.gemspec +++ b/active_model_serializers.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.1' - rails_versions = ['>= 4.1', '< 8.0'] + rails_versions = ['>= 4.1', '< 7.1'] spec.add_runtime_dependency 'activemodel', rails_versions # 'activesupport', rails_versions # 'builder'