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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fragment_client.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdc59ddf16fbdaceca9a66c33b7720698fe20e20
4
- data.tar.gz: bcd39fa7e8dc09fd03f66c1bba682ca6a3364c92
3
+ metadata.gz: 6309b0b930dd9766a7e864f63ab80864ded0008f
4
+ data.tar.gz: ee9efeaa6f186bca3b0f6aa37d737172521f6bb7
5
5
  SHA512:
6
- metadata.gz: 4b5b240fe1aa2d962bfcc686624a86df2ef38ad39475f86a598504e77d4e0785d48b9e509babb9ee4c75a6db5777d38360dcb3a2c612d2edb7384f1336f7ac41
7
- data.tar.gz: f9f559cc1c0567ee902a4af051917ec77ce7374d334fc4abcd92cc9c6ed23d637adb913c06b19415bfd103a507ba03dcb8a75fc19b00014b3f6b3f522638f3e8
6
+ metadata.gz: f096ce7d67f11e65cacf809974e4776687430a8852925b0b398feeff5c8626d89eaf5148b1fca6bf28b2044e0d1e7dfb4ee77a51bc011c22c3f35001da68856e
7
+ data.tar.gz: 33751e9fb2274584f6233016a3a59c9e1a6935881420875c729ae3ba7b3dbe26e189da94b36d7cb9f512fb41e925f94e2bbd3d10984757ae9757814db73f7ac3
@@ -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.2
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-13 00:00:00.000000000 Z
12
+ date: 2015-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails-timeago