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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5447b1e3c33cdbec342bd888789a7ea139afb79
4
- data.tar.gz: 2074db4f382bd51ba481bebbc7a96aff4cac1460
3
+ metadata.gz: 6a30dbb47b5ea99fedba57a1acc3efd37824e872
4
+ data.tar.gz: 24b3f40035d9b2ed970c4b1d3146c8d2ee4d8f69
5
5
  SHA512:
6
- metadata.gz: daebd12e70e89e58ef2c08e31347c4bd355a2f4ed6cbbe71d11f0918743e057bfa9ef25f63c1c52985a05a2e6105130915c1b77770de7e7ba38d25d4e86bd5d1
7
- data.tar.gz: fa90efde5686bde5c05de1341f30d76076edaa6eecb7d2512c970b2da8574c5a78d1e51f6b3922c0e50060982c0fcd2971e19e43a1f940c0624c0b7110341ef9
6
+ metadata.gz: 42450b984c4313fe080c21b305a85686274b695ea06added6dfd99701eba6483afa808f506307cd0a8aea12a44787b362e1206eb98d6067f6f32ae48fdccf99a
7
+ data.tar.gz: 7c8a314aeb5a6848ffad73c929fd857b39cd4c68b7558142e5b4b6689890fc6173286800d8dc6d00dc63f249e87e9eb342179ea390ae1fd14a4e3011ea9cb247
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.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
@@ -1,3 +1,3 @@
1
1
  module FortyFacets
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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: 2016-06-08 00:00:00.000000000 Z
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.2.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