active_facets 1.2.3 → 1.2.4
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.rb +2 -0
- data/lib/active_facets/document_cache.rb +1 -1
- data/lib/active_facets/version.rb +1 -1
- data/lib/rails/generators/active_facets/install/templates/active_facets.yml +1 -0
- data/lib/rails/generators/active_facets/install/templates/initializer.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aa090a021c8255f714c05164e36e620bcc60875
|
4
|
+
data.tar.gz: a154884c639697db5d542eea86b8f86b004afe00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8999ac9a9ae2f4e87b0af147ef11d5833a5cf9c5ebdade6c2397e32a207bfb73c12ec144ed7034b46503586237477589a4fe1cd875f708f67a08856ffbaf8127
|
7
|
+
data.tar.gz: b6ec730155650f823aba1d305cc5b45be06aec2805cd87f34f027da2faf0c8d55ab3555788967f478fb7c82cacb21798600b35fd305779229de2d668d24cc2f9
|
data/lib/active_facets.rb
CHANGED
@@ -20,6 +20,7 @@ module ActiveFacets
|
|
20
20
|
:field_overrides_key,
|
21
21
|
:version_key,
|
22
22
|
:filters_key,
|
23
|
+
:cache_bypass_key,
|
23
24
|
:cache_force_key,
|
24
25
|
:filters_force_key,
|
25
26
|
:strict_lookups,
|
@@ -37,6 +38,7 @@ module ActiveFacets
|
|
37
38
|
self.field_overrides_key = :field_overrides
|
38
39
|
self.version_key = :version
|
39
40
|
self.filters_key = :filters
|
41
|
+
self.cache_bypass_key = :cache_bypass
|
40
42
|
self.cache_force_key = :cache_force
|
41
43
|
self.filters_force_key = :filters_force
|
42
44
|
|
@@ -23,6 +23,9 @@ ActiveFacets.configure do |config|
|
|
23
23
|
# The symbol which acts as the context key that designates filters for serialization. :filters by default.
|
24
24
|
# config.filters_key = @env_config['filters_key'].to_sym
|
25
25
|
|
26
|
+
# The symbol which acts as the context key that designates force for cache. :cache_bypass by default.
|
27
|
+
# config.cache_bypass_key = @env_config['cache_bypass_key'].to_sym
|
28
|
+
|
26
29
|
# The symbol which acts as the context key that designates force for cache. :cache_force by default.
|
27
30
|
# config.cache_force_key = @env_config['cache_force_key'].to_sym
|
28
31
|
|