active_facets 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_facets/filter.rb +1 -1
- data/lib/active_facets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5540193553741b597675af31ade2107cb9114ff
|
4
|
+
data.tar.gz: f4441e7d1eca515cdff389e0a05cbe7161cac2da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f9ea3a709c355d7028a1c2c7f121afd32c9bf56fb226f4eb710db8592455fb96ad1e7ef435ab06c0180c94c48d91067762c430ae75d17849f5f9928e54dc553
|
7
|
+
data.tar.gz: 96ac27ae35dd41b5d334e0ced7ae9d2c9022470b16c0d13921f1525e152c991477a6f85968bbebc854aa057340a623a4a28b5deda9902b65de7791e22aff2007
|
data/lib/active_facets/filter.rb
CHANGED
@@ -25,7 +25,7 @@ module ActiveFacets
|
|
25
25
|
# @return [Hash] all filters registered on this resource (and superclass)
|
26
26
|
def self.registered_filters_for(receiver)
|
27
27
|
receiver_filters = filters[receiver.name] ||= {}
|
28
|
-
receiver_filters.reverse_merge(registered_filters_for(receiver.superclass)) if filters_registered_for?(receiver.superclass)
|
28
|
+
receiver_filters.reverse_merge!(registered_filters_for(receiver.superclass)) if filters_registered_for?(receiver.superclass)
|
29
29
|
receiver_filters
|
30
30
|
end
|
31
31
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_facets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Honest Company
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|