redis-client 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/redis_client/config.rb +2 -2
- data/lib/redis_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38d06784583843dbaa9375de07c9c13313d79859b6c58aa8089174a01e2dd9cf
|
4
|
+
data.tar.gz: a83642acf97c40818c588cc151ad4c4a8c5191a4acf17275e5130c887a2617b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56b40ba378de26e41133216660c19ea81f506828547fad07e6c89e5fff16e9206ce446716153e3641ad00c3fcbe8422e0b68f9e1796824823535cfcaddf77742
|
7
|
+
data.tar.gz: c76f8800caf273870ad449d86108ec8d6aa17a777fd59e09fb61d066033d1b59b5c33742a71a870073426c8e5046bf405ee6bc073d8811f6aefbb186111688bc
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/redis_client/config.rb
CHANGED
@@ -149,8 +149,8 @@ class RedisClient
|
|
149
149
|
URI.decode_www_form_component(uri.password)
|
150
150
|
end
|
151
151
|
|
152
|
-
|
153
|
-
kwargs[:db] ||= Integer(
|
152
|
+
db_path = uri.path&.delete_prefix("/")
|
153
|
+
kwargs[:db] ||= Integer(db_path) if db_path && !db_path.empty?
|
154
154
|
end
|
155
155
|
|
156
156
|
super(**kwargs)
|
data/lib/redis_client/version.rb
CHANGED