fragment_client 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fragment_client.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: 6309b0b930dd9766a7e864f63ab80864ded0008f
|
4
|
+
data.tar.gz: ee9efeaa6f186bca3b0f6aa37d737172521f6bb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f096ce7d67f11e65cacf809974e4776687430a8852925b0b398feeff5c8626d89eaf5148b1fca6bf28b2044e0d1e7dfb4ee77a51bc011c22c3f35001da68856e
|
7
|
+
data.tar.gz: 33751e9fb2274584f6233016a3a59c9e1a6935881420875c729ae3ba7b3dbe26e189da94b36d7cb9f512fb41e925f94e2bbd3d10984757ae9757814db73f7ac3
|
data/lib/fragment_client.rb
CHANGED
@@ -29,7 +29,7 @@ class FragmentClient
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def log(section)
|
32
|
-
cache_hit = cache.read(section).present? ? 'CacheHit' : 'CacheMiss'
|
32
|
+
cache_hit = cache.read(section.to_s + option_params).present? ? 'CacheHit' : 'CacheMiss'
|
33
33
|
logger.info "FragmentClient:{Cache:#{cache.class}, Section:#{section}, #{cache_hit}}"
|
34
34
|
logger.info "FragmentClient:{requesting:#{uri}}" if cache_hit == 'CacheMiss'
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fragment_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Atkinson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails-timeago
|