redis_page 0.1.7 → 0.1.8

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: 60fbc716751fa3131863af257f790baf4c3a9d5d
4
- data.tar.gz: 45a0c20f1786063effec108fa7e7b8d01bfd05f5
3
+ metadata.gz: 2c77530bc434cefe768fcd3710c804f429af09d4
4
+ data.tar.gz: 7587a4b522d216473cad81d0d8d20b92aa52356b
5
5
  SHA512:
6
- metadata.gz: 0c05ec1574cc3f302e31a1ec4ec6dd774e0a0c658fb7dc32a3c6eba9f2bcd8f2a1e0d2bd045de18af5a8d4e84ce446e9173a3e04a287782c1d0fec0d9719b370
7
- data.tar.gz: a87be8a419d764784b9c46584c8e25c70368971438313ea5bc3196e3c70f436adaf8412dee0e6da785bdf4b987ff246fa7572379963ed957bf32736aca6a847f
6
+ metadata.gz: 77fd03e8287399ac55c731ac8ce6967099ae21c88f71c1a2c01a9b20f8b3d702831a97c2687b8102873fde6d8d6de38c2750efadc0c51c97acad82281dbdb53f
7
+ data.tar.gz: b1954c2dce64386b29c826042dcd5c840d4068aba7893ad7861d50c9cd962d509387b8bfb2c58b1948df8ae886d11af77aadf54b3e57af7029c95c0bb65dfc32
@@ -12,6 +12,7 @@ module ActionController
12
12
  module ClassMethods
13
13
 
14
14
  def caches_redis_page(*actions)
15
+ return unless RedisPage.redis
15
16
  options = actions.extract_options!
16
17
 
17
18
  before_filter({only: actions}.merge(options)) do |c|
@@ -1,3 +1,3 @@
1
1
  module RedisPage
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - saberma