redis_page 0.1.8 → 0.1.9

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: 2c77530bc434cefe768fcd3710c804f429af09d4
4
- data.tar.gz: 7587a4b522d216473cad81d0d8d20b92aa52356b
3
+ metadata.gz: a0ebb62533bb39ade8c23cce9eafdb0460cc9833
4
+ data.tar.gz: 2ebc37364789d21567587806bd4e4de9d4d4ff9f
5
5
  SHA512:
6
- metadata.gz: 77fd03e8287399ac55c731ac8ce6967099ae21c88f71c1a2c01a9b20f8b3d702831a97c2687b8102873fde6d8d6de38c2750efadc0c51c97acad82281dbdb53f
7
- data.tar.gz: b1954c2dce64386b29c826042dcd5c840d4068aba7893ad7861d50c9cd962d509387b8bfb2c58b1948df8ae886d11af77aadf54b3e57af7029c95c0bb65dfc32
6
+ metadata.gz: 2566fb7284180a2262af4fcc7da6d1a90b617fb042463670852161d1997127bc80f5da06d404f1982dc8337348c186926f79a0d356e36c437d35545d749d33a6
7
+ data.tar.gz: 1c23943ea1004a0236ed237514be522636affa1310d6b1cbf960945d729c246c25e81e09eaa010fb58f6ac4f6f6691c5ae1c2c28cf2fdec47d910fb904cc3c41
@@ -26,13 +26,13 @@ module ActionController
26
26
  after_filter({only: actions}.merge(options)) do |c|
27
27
  path = request.path
28
28
  path = "#{path}-#{@cache_country}" if @cache_country
29
- c.cache_page(response.body, path)
29
+ c.cache_redis_page(response.body, path)
30
30
  c.record_cached_page
31
31
  end
32
32
  end
33
33
  end
34
34
 
35
- def cache_page(content, path)
35
+ def cache_redis_page(content, path)
36
36
  Rails.logger.info "[page cache]caching: #{path}"
37
37
  RedisPage.redis.set(path, content)
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module RedisPage
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - saberma