redis-cacheable 0.1.0 → 0.1.1
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 +4 -4
- data/lib/redis_cacheable/connectable.rb +1 -1
- data/lib/redis_cacheable/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c1551b9cda86647b91fc64934f9bc5d3db043a4
|
4
|
+
data.tar.gz: 27fde316e23c41e16ea71dda78164a28ed552047
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7bb129cab54e4436221fcb8e70f24cb8df39b584d1304f8ae96f82404bcab961eb7a8ce62044242af646597bbf15d6bc08862164ce24f53f460fc3295cb4928
|
7
|
+
data.tar.gz: b51ef2783bde32b7bef3001abb99ca9c9129f0063b49dae98183d74536e76af6006075dfd65e4b6d22ccac20389f5559b06e770823ea146424ea4719d67cdb3c
|
@@ -24,7 +24,7 @@ module RedisCacheable
|
|
24
24
|
unless Connectable.redis_connection
|
25
25
|
config = RedisCacheable::Configuration.config
|
26
26
|
Connectable.redis_connection = ConnectionPool.new(size: config.pool_size, timeout: config.timeout) {
|
27
|
-
Redis.new(host: config.host, port: config.
|
27
|
+
Redis.new(host: config.host, port: config.port, driver: config.driver.to_sym)
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-cacheable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joker1007
|
@@ -234,3 +234,4 @@ test_files:
|
|
234
234
|
- spec/lib/redis_cacheable/connectable_spec.rb
|
235
235
|
- spec/lib/redis_cacheable_spec.rb
|
236
236
|
- spec/spec_helper.rb
|
237
|
+
has_rdoc:
|