cache_key_for 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/Gemfile.lock +1 -1
- data/lib/cache_key_for/cache_key_for_view_helper.rb +2 -2
- data/lib/cache_key_for/version.rb +1 -1
- 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: fa530d7de98c487c76f960631c3bd8e0a613e2b6
|
4
|
+
data.tar.gz: 97349e29bff79a5c3af955dfb40668d20e12298b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64843b44e66b258029416301ade6457d28d3b9fea3d4dc9c2a98a101ea03acbfd08a3cbcb8c422e871176f0c14f0b27fc0825ddace080402490bfd5690546c7a
|
7
|
+
data.tar.gz: cad248d347208d8d080e5fc5a3cd9ffc10a884d3079c8a3d0a0ead2869fdc2c6eed756f44cbe9ed8d6618590c8ee1f385de4b88ffa1b885933743b43f41222e0
|
data/Gemfile.lock
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
# ```
|
17
17
|
module CacheKeyForViewHelper
|
18
18
|
include CacheKeyForHelper
|
19
|
-
def cache_key_for_view(file, scoped_collection, collection_prefix, cache_owner_cache_key = '', suffix = '', whitelist_params = [])
|
20
|
-
"#{cache_key_for(scoped_collection, collection_prefix, cache_owner_cache_key, suffix, whitelist_params)}#{file.gsub(Rails.root.to_s, '')}"
|
19
|
+
def cache_key_for_view(file, scoped_collection, collection_prefix, cache_owner_cache_key = '', suffix = '', whitelist_params = [], default_params = {})
|
20
|
+
"#{cache_key_for(scoped_collection, collection_prefix, cache_owner_cache_key, suffix, whitelist_params, default_params)}#{file.gsub(Rails.root.to_s, '')}"
|
21
21
|
end
|
22
22
|
end
|