Merge pull request #1070 from deivid-rodriguez/drop_old_rubies_support

Drop old rubies support
This commit is contained in:
Sean 2019-11-10 12:21:07 +01:00 committed by GitHub
commit 71380a1364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -2,6 +2,9 @@
## Unreleased
* Drop support for rubies under 2.3.
PR [#1070](https://github.com/activerecord-hackery/ransack/pull/1070)
## 2.3.0 - 2019-08-18
* Arabic translations PR [979](https://github.com/activerecord-hackery/ransack/pull/979)

View File

@ -47,7 +47,5 @@ gem 'mysql2', '~> 0.5.2'
group :test do
gem 'machinist', '~> 1.0.6'
gem 'rspec', '~> 3'
# TestUnit was removed from Ruby 2.2 but still needed for testing Rails 3.x.
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'
gem 'simplecov', :require => false
end

View File

@ -32,10 +32,10 @@ you're reading the documentation for the master branch with the latest features.
## Getting started
Ransack is compatible with Rails 6.0, 5.0, 5.1 and 5.2 on Ruby 2.2 and later.
Ransack is compatible with Rails 6.0, 5.0, 5.1 and 5.2 on Ruby 2.3 and later.
If you are using Rails <5.0 use the 1.8 line of Ransack.
If you are using Ruby 1.8 or an earlier JRuby and run into compatibility
issues, you can use an earlier version of Ransack, say, up to 1.3.0.
If you are using Ruby 2.2 or an earlier JRuby and run into compatibility
issues, you can use an earlier version of Ransack, say, up to 2.3.0.
Ransack works out-of-the-box with Active Record and also features limited
support for Mongoid 4 and 5 (without associations, further details

View File

@ -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 = '>= 1.9'
s.required_ruby_version = '>= 2.3'
s.license = 'MIT'
s.add_dependency 'actionpack', '>= 5.0'