forty_facets 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/forty_facets/facet_search.rb +3 -0
- data/lib/forty_facets/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a30dbb47b5ea99fedba57a1acc3efd37824e872
|
4
|
+
data.tar.gz: 24b3f40035d9b2ed970c4b1d3146c8d2ee4d8f69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42450b984c4313fe080c21b305a85686274b695ea06added6dfd99701eba6483afa808f506307cd0a8aea12a44787b362e1206eb98d6067f6f32ae48fdccf99a
|
7
|
+
data.tar.gz: 7c8a314aeb5a6848ffad73c929fd857b39cd4c68b7558142e5b4b6689890fc6173286800d8dc6d00dc63f249e87e9eb342179ea390ae1fd14a4e3011ea9cb247
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.0
|
@@ -159,6 +159,9 @@ module FortyFacets
|
|
159
159
|
def request_to_search_params(request_params)
|
160
160
|
if request_params && request_params[self.class.request_param_name]
|
161
161
|
should_be_hash = request_params[self.class.request_param_name]
|
162
|
+
if should_be_hash.respond_to?(:permit!)
|
163
|
+
should_be_hash = should_be_hash.permit!.to_h
|
164
|
+
end
|
162
165
|
if should_be_hash.is_a? Hash
|
163
166
|
should_be_hash
|
164
167
|
else
|
data/lib/forty_facets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forty_facets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Axel Tetzlaff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.6.8
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Library for building facet searches for active_record models
|