cache_store_redis 0.4.1 → 0.4.2

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: 1aa9c474c0f6a281a6e309f7a7d3af58a61551f7
4
- data.tar.gz: 43ea4b8d26c4dbfef8b7da1d1b1d3cb22cb0570b
3
+ metadata.gz: 83256c6d06caa6db5cd8af0364b6abc29f793895
4
+ data.tar.gz: a672f9627f0305c1b3c557a2d164290acf37a08e
5
5
  SHA512:
6
- metadata.gz: 4bf9f4809e8f694d6f3a4a31c41269c7fad03b3fea3eef48d7e47fc6911ffc5cce05498d04076d4063a95759f47f7d5713eb6586a6f22e0814cd158f357763f4
7
- data.tar.gz: a67b1f0b55140e662f3bd723f525b49502649186580ab7f2a42507e384e5c30a3991f8c921f210551f74cb8a8c418d51293ce2d6ee535987edf17ede1eb0b6c4
6
+ metadata.gz: 20c30228b2ff322f918775937b71f9f002d4dc7f5f47d83b3e947f68f17d1e14e34f74de69dd905a08d6a583e714538e59b02662454f7e0b5562cef539b44776
7
+ data.tar.gz: 39bba9ecf74f6e2d6a7b76b909173e6dcad6fba984b6edf68d0900ad1fb917d84caa7a8a69c7a349bb7a2bcb6f6db7c8c2755f28378056f2d906e00fe324b8cd
@@ -1,3 +1,3 @@
1
1
  module CacheStoreRedis
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
@@ -43,9 +43,8 @@ class RedisCacheStore
43
43
 
44
44
  #This method is called to configure the connection to the cache store.
45
45
  def configure(host = 'localhost', port = 6379, db = 'default', password = nil, driver: nil, url: nil)
46
- @config = []
47
-
48
46
  if url != nil
47
+ @config = {}
49
48
  @config[:url] = url
50
49
  @config[:db] = db
51
50
  else
@@ -136,6 +135,7 @@ class RedisCacheStore
136
135
  end
137
136
  end
138
137
 
138
+
139
139
  private
140
140
 
141
141
  def serialize(object)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_store_redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage