From 31afff49079f60e04c7d2cd34624541236948cf0 Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Sat, 9 May 2020 15:48:39 +0800 Subject: [PATCH] ADD gem 'ransack' --- Gemfile | 3 +++ Gemfile.lock | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 14427926a..447160c94 100644 --- a/Gemfile +++ b/Gemfile @@ -58,6 +58,9 @@ gem 'omniauth-cas' # profiler Middleware gem 'rack-mini-profiler' +# object-based searching +gem 'ransack' + group :development, :test do gem 'rspec-rails', '~> 3.8' end diff --git a/Gemfile.lock b/Gemfile.lock index eca476d5d..1d40d183d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -214,6 +214,8 @@ GEM parser (2.7.1.1) ast (~> 2.4.0) pdfkit (0.8.4.1) + polyamorous (2.3.2) + activerecord (>= 5.2.1) popper_js (1.16.0) powerpack (0.1.2) public_suffix (4.0.3) @@ -256,6 +258,11 @@ GEM thor (>= 0.19.0, < 2.0) rainbow (3.0.0) rake (13.0.1) + ransack (2.3.2) + activerecord (>= 5.2.1) + activesupport (>= 5.2.1) + i18n + polyamorous (= 2.3.2) rb-fsevent (0.10.3) rb-inotify (0.10.1) ffi (~> 1.0) @@ -464,6 +471,7 @@ DEPENDENCIES rack-mini-profiler rails (~> 5.2.0) rails-i18n (~> 5.1) + ransack rchardet (~> 1.8) redcarpet (~> 3.4) redis-rails @@ -496,4 +504,4 @@ RUBY VERSION ruby 2.3.7p456 BUNDLED WITH - 2.0.2 + 2.1.4