cache_key_for 0.1.3 → 0.1.4

This diff has not been reviewed by any users.
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: b63791dd91d36103f05b7ed05d2277a2930e0e23
4
- data.tar.gz: e2099e762d0e2a37064ad55f5544431c190297ff
3
+ metadata.gz: fa530d7de98c487c76f960631c3bd8e0a613e2b6
4
+ data.tar.gz: 97349e29bff79a5c3af955dfb40668d20e12298b
5
5
  SHA512:
6
- metadata.gz: 51ed14279d471dfcd0285d6a7504fbfd487ce6dcb86bfa696c3f16c8a236b1dcecd433eec1a0578fe762f387c0b4e070df85c0e1f879debbc56db3101aaf53f0
7
- data.tar.gz: 0b2d4b9d7dab90f686c152429799d16020306fc604bc7ef4570ff2d73f995723f634d8ce604b20263744ca454e095185f6639f59c47a23f7f5e7259da42ffa0b
6
+ metadata.gz: 64843b44e66b258029416301ade6457d28d3b9fea3d4dc9c2a98a101ea03acbfd08a3cbcb8c422e871176f0c14f0b27fc0825ddace080402490bfd5690546c7a
7
+ data.tar.gz: cad248d347208d8d080e5fc5a3cd9ffc10a884d3079c8a3d0a0ead2869fdc2c6eed756f44cbe9ed8d6618590c8ee1f385de4b88ffa1b885933743b43f41222e0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cache_key_for (0.1.3)
4
+ cache_key_for (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CacheKeyFor
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_key_for
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
  - Marcin Kalita