cache_store_redis 0.4.0-java → 0.4.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 945597672738a705803080b32c7b903c69f59210561b17c46fc48c83bcb3c5d8
4
- data.tar.gz: 3a0106ddaab3002adf3776f2892dc2b9bb3e5f6fe8a6252fd1c372d3c623f660
3
+ metadata.gz: d2084cf87109e1a2ec7dfcaba295608c81bf22607b346c36c291a17370183762
4
+ data.tar.gz: fa0cb23eb0c8578687eccc0676c9e20c7a8186d4a0db40f03eceff01d1f1e5aa
5
5
  SHA512:
6
- metadata.gz: 3897ae95d23e4311c30a81846c2bdf4bfb0d0c9ff92ccdf8592dd6e21ffb839d7d017c6d9df2b83a42335435300c65cde8e7f0c45bc70eb1200d8903e5fd2cd6
7
- data.tar.gz: 9efeceb991fa83b8bb3c735838a14bc3ba913e4bb66bd5faf8b0c4d77b543d5177db68cae1d8bf9732ec0e8ee6ebcb98f46fa7a395f1e9181c525be31b0f4584
6
+ metadata.gz: c1a4e781dee580648e8b8cc80641ecdc938095aac3458e51c388b690f921384686761fc1e58a6594a56cf61b7c9cecb503d1c144bdfff613397d5950d654729e
7
+ data.tar.gz: 830f2a83906ade8493729b4dbf23f071a1399dfa95faeaa6dc23ac310092c67462dc6ac0fd915e273f72d04b72a8f73eaa3cdd5753afaed9fd21a7b7dc643994
@@ -1,3 +1,3 @@
1
1
  module CacheStoreRedis
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
@@ -43,17 +43,19 @@ 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
+
46
48
  if url != nil
47
- config[:url] = url
48
- config[:db] = db
49
+ @config[:url] = url
50
+ @config[:db] = db
49
51
  else
50
- config = { :host => host, :port => port, :db => db }
52
+ @config = { :host => host, :port => port, :db => db }
51
53
  end
52
54
  if password != nil
53
- config[:password] = password
55
+ @config[:password] = password
54
56
  end
55
57
  if driver != nil
56
- config[:driver] = driver
58
+ @config[:driver] = driver
57
59
  end
58
60
  end
59
61
 
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.0
4
+ version: 0.4.1
5
5
  platform: java
6
6
  authors:
7
7
  - vaughanbrittonsage