From 3597e432930590137a1b8c553481bf229082ff1f Mon Sep 17 00:00:00 2001 From: Benedikt Deicke Date: Fri, 8 Nov 2024 10:48:54 +0100 Subject: [PATCH] Add support for Rails v8.x --- .github/workflows/ci.yml | 16 +++++++++++++++- flipper-active_record.gemspec | 2 +- flipper-active_support_cache_store.gemspec | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68110ced7..9140e127e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,20 +29,34 @@ jobs: fail-fast: false matrix: ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] - rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0'] + rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0', '7.2.0', '8.0.0'] exclude: - ruby: "2.6" rails: "7.1.0" - ruby: "2.6" rails: "7.0.0" + - ruby: "2.6" + rails: "7.2.0" + - ruby: "2.6" + rails: "8.0.0" - ruby: "2.7" rails: "7.1.0" + - ruby: "2.7" + rails: "7.2.0" + - ruby: "2.7" + rails: "8.0.0" - ruby: "3.0" rails: "5.2" + - ruby: "3.0" + rails: "7.2.0" + - ruby: "3.0" + rails: "8.0.0" - ruby: "3.1" rails: "5.2" - ruby: "3.1" rails: "6.0.0" + - ruby: "3.1" + rails: "8.0.0" - ruby: "3.2" rails: "5.2" - ruby: "3.2" diff --git a/flipper-active_record.gemspec b/flipper-active_record.gemspec index 1c9862290..a9b356e06 100644 --- a/flipper-active_record.gemspec +++ b/flipper-active_record.gemspec @@ -32,5 +32,5 @@ Gem::Specification.new do |gem| gem.metadata = Flipper::METADATA gem.add_dependency 'flipper', "~> #{Flipper::VERSION}" - gem.add_dependency 'activerecord', '>= 4.2', '< 8' + gem.add_dependency 'activerecord', '>= 4.2', '< 9' end diff --git a/flipper-active_support_cache_store.gemspec b/flipper-active_support_cache_store.gemspec index e2411b76b..01204d652 100644 --- a/flipper-active_support_cache_store.gemspec +++ b/flipper-active_support_cache_store.gemspec @@ -21,5 +21,5 @@ Gem::Specification.new do |gem| gem.metadata = Flipper::METADATA gem.add_dependency 'flipper', "~> #{Flipper::VERSION}" - gem.add_dependency 'activesupport', '>= 4.2', '< 8' + gem.add_dependency 'activesupport', '>= 4.2', '< 9' end