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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5077af3c76efde44dc2fd13157f4789a31521e5e90748073742f0a213e8e73c5
4
- data.tar.gz: 27b6d14178d456f5e9b74258accb37db5a303cb43eb84a5664a6e6871cb1687f
3
+ metadata.gz: 38f714e9644426e30d2f7c94b2250bce28588b71c68b68b2cd54cc76613ab83c
4
+ data.tar.gz: ac36507eacf02a7cb3ddcc3e391641e1ad102b919929f5e7966ffda485f31f08
5
5
  SHA512:
6
- metadata.gz: c13f3a069070493188bd8fcea4a9ed3a7adfa5c8f5abc8df46972603c83ba26c8d32c4e263bd0d65b1197798462f6afb6013f6cd7f23ad0ec0f9d806df625828
7
- data.tar.gz: 9a792ffb56f502d706fcdc218c9e0bb8850bb105bd112b26dc5995f0581fc0ee9e0923537ba61c11856ff4c7789eb7b5f9f1eab44f1fbb11f4693486c6b6c488
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 password [String]
30
- def auth(password)
31
- call("AUTH", password)
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.
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Protocol
24
24
  module Redis
25
- VERSION = "0.6.0"
25
+ VERSION = "0.6.1"
26
26
  end
27
27
  end
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.0
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: 2020-11-17 00:00:00.000000000 Z
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.1.2
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.