From 87a1697f34ce4d25f7be155243918e833526a442 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Fri, 25 Dec 2020 16:19:52 +0900 Subject: [PATCH 1/2] Drop Ruby 2.5 or older versions of Ruby README already mentions that `Ransack is supported for Rails 6.1, 6.0, 5.2 on Ruby 2.6.6 and later.` https://github.com/activerecord-hackery/ransack/commit/d50885772cfa9c2534c06f7edb0eb4141f2e1a4a --- ransack.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ransack.gemspec b/ransack.gemspec index 8dfe875..23589a3 100644 --- a/ransack.gemspec +++ b/ransack.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/activerecord-hackery/ransack" s.summary = %q{Object-based searching for Active Record and Mongoid (currently).} s.description = %q{Ransack is the successor to the MetaSearch gem. It improves and expands upon MetaSearch's functionality, but does not have a 100%-compatible API.} - s.required_ruby_version = '>= 2.3' + s.required_ruby_version = '>= 2.6' s.license = 'MIT' s.add_dependency 'activerecord', '>= 5.2.4' From 9788f8fa856fcdb6e6b20d3932e3ef7b62e0856c Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 30 Dec 2020 15:44:48 +0900 Subject: [PATCH 2/2] Add a changelog entry to drop support for Ruby 2.5 or lower --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44d8cab..a280588 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ *Aaron Lipman* +* Drop support for rubies under 2.5. PR #1189 + ## 2.4.0 - 2020-11-27 *