From b9ba5af294b757f5c692d80f7c5bff2b4d504434 Mon Sep 17 00:00:00 2001 From: John Nunemaker Date: Fri, 12 Jun 2020 15:24:19 -0400 Subject: [PATCH] Drop support for rails 4.2.x No longer supported by rails so no longer supported by me. I will support 5.0 and 5.1 for a bit because it is easy as of now. --- .travis.yml | 1 - docs/active_record/README.md | 1 - flipper-active_record.gemspec | 2 +- flipper-active_support_cache_store.gemspec | 2 +- script/test | 5 ----- 5 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ca08ff72d..0af9c86d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,3 @@ env: - RAILS_VERSION=5.2.3 SQLITE3_VERSION=1.3.11 - RAILS_VERSION=5.1.4 SQLITE3_VERSION=1.3.11 - RAILS_VERSION=5.0.0 SQLITE3_VERSION=1.3.11 - - RAILS_VERSION=4.2.5 SQLITE3_VERSION=1.3.11 diff --git a/docs/active_record/README.md b/docs/active_record/README.md index e71c17a09..4ddc8563e 100644 --- a/docs/active_record/README.md +++ b/docs/active_record/README.md @@ -4,7 +4,6 @@ An ActiveRecord adapter for [Flipper](https://github.com/jnunemaker/flipper). Supported Active Record versions: -* 4.2.x * 5.0.x * 6.0.x diff --git a/flipper-active_record.gemspec b/flipper-active_record.gemspec index 187bbd074..1b7023b42 100644 --- a/flipper-active_record.gemspec +++ b/flipper-active_record.gemspec @@ -25,5 +25,5 @@ Gem::Specification.new do |gem| gem.metadata = Flipper::METADATA gem.add_dependency 'flipper', "~> #{Flipper::VERSION}" - gem.add_dependency 'activerecord', '>= 4.2', '< 7' + gem.add_dependency 'activerecord', '>= 5.0', '< 7' end diff --git a/flipper-active_support_cache_store.gemspec b/flipper-active_support_cache_store.gemspec index fc35851b6..2b3c524a9 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', '< 7' + gem.add_dependency 'activesupport', '>= 5.0', '< 7' end diff --git a/script/test b/script/test index d0360e7b4..d4cec4f20 100755 --- a/script/test +++ b/script/test @@ -12,11 +12,6 @@ cd $(dirname "$0")/.. exit 0 } -export RAILS_VERSION=4.2.5 -export SQLITE3_VERSION=1.3.11 -script/bootstrap || bundle update -bundle exec rake - export RAILS_VERSION=5.0.0 export SQLITE3_VERSION=1.3.11 script/bootstrap || bundle update