redis-client 0.17.1 → 0.18.0
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/version.rb +1 -1
- data/lib/redis_client.rb +32 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0903a6d92200235e71b687f16de1ec058ca88979a42cc14d2a783ba5d5605061'
|
4
|
+
data.tar.gz: 1e772676e34700120320659108e1be493cd4d2067a286056cb8ac87f1c3b51e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66e2d650fe13befeb44b06514e0523d571dfa749f0f787bf7c95126b16d7e54a6b7cb3aa7ed99375f761a302892c2de50c14ad2c011bd42266f4a441a6c9b24b
|
7
|
+
data.tar.gz: 14b28ce893f07569688acb16a404c2f98bb8cdcd3eaca6d68264a2f1c790cb52c483cd252cc243e8f3f8b4f6e858daf34204d78c7689dcfb2146fc960d45bf3a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/redis_client/version.rb
CHANGED
data/lib/redis_client.rb
CHANGED
@@ -179,6 +179,38 @@ class RedisClient
|
|
179
179
|
config.server_url
|
180
180
|
end
|
181
181
|
|
182
|
+
def id
|
183
|
+
config.id
|
184
|
+
end
|
185
|
+
|
186
|
+
def timeout
|
187
|
+
config.read_timeout
|
188
|
+
end
|
189
|
+
|
190
|
+
def db
|
191
|
+
config.db
|
192
|
+
end
|
193
|
+
|
194
|
+
def host
|
195
|
+
config.host unless config.path
|
196
|
+
end
|
197
|
+
|
198
|
+
def port
|
199
|
+
config.port unless config.path
|
200
|
+
end
|
201
|
+
|
202
|
+
def path
|
203
|
+
config.path
|
204
|
+
end
|
205
|
+
|
206
|
+
def username
|
207
|
+
config.username
|
208
|
+
end
|
209
|
+
|
210
|
+
def password
|
211
|
+
config.password
|
212
|
+
end
|
213
|
+
|
182
214
|
def size
|
183
215
|
1
|
184
216
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
80
|
+
rubygems_version: 3.4.10
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Simple low-level client for Redis 6+
|