protocol-redis 0.6.0 → 0.6.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/protocol/redis/methods/connection.rb +4 -3
- data/lib/protocol/redis/version.rb +1 -1
- 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: 38f714e9644426e30d2f7c94b2250bce28588b71c68b68b2cd54cc76613ab83c
|
4
|
+
data.tar.gz: ac36507eacf02a7cb3ddcc3e391641e1ad102b919929f5e7966ffda485f31f08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbc6ff61e844c2783c7c3a8713d1150b1239a66185cffb777647d15acbcb4554d0f69ae134b36914459322049e435ce19662fa7a3fd226f431dbc916f2d89a2c
|
7
|
+
data.tar.gz: 0bb4b6686c7c0b98b82d6ff54c0d73828df4250b032f5f50a189c03848b43e538048f6065fafe66d01b3aaab97ddc2e6e53c02fdf74c6fc0528495afd6a06fbd
|
@@ -26,9 +26,10 @@ module Protocol
|
|
26
26
|
module Connection
|
27
27
|
# Authenticate to the server.
|
28
28
|
# @see https://redis.io/commands/auth
|
29
|
-
# @param
|
30
|
-
|
31
|
-
|
29
|
+
# @param username [String] Optional username, if Redis ACLs are used.
|
30
|
+
# @param password [String] Required password.
|
31
|
+
def auth(*arguments)
|
32
|
+
call("AUTH", *arguments)
|
32
33
|
end
|
33
34
|
|
34
35
|
# Echo the given string.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: async-http
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
184
|
+
rubygems_version: 3.2.3
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: A transport agnostic RESP protocol client/server.
|