diff --git a/.travis.yml b/.travis.yml index 2853793fc..752be9953 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,8 @@ _rails_supported_versions: - &rails_5_2_jruby RAILS_VERSION=5.2 JRUBY_OPTS='--dev -J-Xmx1024M --debug' - &rails_6_0 RAILS_VERSION=6.0 - &rails_6_0_jruby RAILS_VERSION=6.0 JRUBY_OPTS='--dev -J-Xmx1024M --debug' + - &rails_7_0 RAILS_VERSION=7.0 + - &rails_7_0_jruby RAILS_VERSION=7.0 JRUBY_OPTS='--dev -J-Xmx1024M --debug' - &rails_master RAILS_VERSION=master - &rails_master_jruby RAILS_VERSION=master JRUBY_OPTS='--dev -J-Xmx1024M --debug' @@ -59,6 +61,7 @@ env: - *rails_5_1 - *rails_5_2 - *rails_6_0 + - *rails_7_0 - *rails_master rvm: @@ -87,6 +90,7 @@ jobs: - { rvm: *jruby_9_2, jdk: *jdk_8, env: *rails_5_1_jruby } - { rvm: *jruby_9_2, jdk: *jdk_8, env: *rails_5_2_jruby } - { rvm: *jruby_9_2, jdk: *jdk_8, env: *rails_6_0_jruby } + - { rvm: *jruby_9_2, jdk: *jdk_8, env: *rails_7_0_jruby } - { rvm: *jruby_9_2, jdk: *jdk_8, env: *rails_master_jruby } - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_4_2_jruby } @@ -94,6 +98,7 @@ jobs: - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_5_1_jruby } - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_5_2_jruby } - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_6_0_jruby } + - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_7_0_jruby } - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_master_jruby } exclude: @@ -107,6 +112,13 @@ jobs: - { rvm: *ruby_2_2, env: *rails_6_0 } - { rvm: *ruby_2_3, env: *rails_6_0 } + - { rvm: *ruby_2_1, env: *rails_7_0 } + - { rvm: *ruby_2_2, env: *rails_7_0 } + - { rvm: *ruby_2_3, env: *rails_7_0 } + - { rvm: *ruby_2_4, env: *rails_7_0 } + - { rvm: *ruby_2_5, env: *rails_7_0 } + - { rvm: *ruby_2_6, env: *rails_7_0 } + - { rvm: *ruby_2_1, env: *rails_master } - { rvm: *ruby_2_2, env: *rails_master } - { rvm: *ruby_2_3, env: *rails_master } diff --git a/active_model_serializers.gemspec b/active_model_serializers.gemspec index 50cd71154..471ab06fe 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', '< 7.0'] + rails_versions = ['>= 4.1', '< 8.0'] spec.add_runtime_dependency 'activemodel', rails_versions # 'activesupport', rails_versions # 'builder'