protocol-redis 0.11.0 → 0.12.0
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
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/redis/methods/pubsub.rb +8 -0
- data/lib/protocol/redis/version.rb +1 -1
- data/readme.md +4 -8
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e63a5453c8130c12c789c00649edc0108ebfba308085df2802f92cec2f43028
|
4
|
+
data.tar.gz: 8dd7a1c74365983b6e393039493b97c150eb5c188339d7202e72afbeaa1b6e54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6856f8a48b5dca486bf09aac258841b4a27a87dcfaa91fdd68a82a3a8040319d018e1d91a7a93a8b804c85dba08f3af301429a03c8b308efa940f08371f34f9
|
7
|
+
data.tar.gz: 39577c159ef6276b4502c976547453a44477617916d63a5687a62e94d3a6557b31d5d695399d5b7cd5513b6071537f48837a1fdeb35b2a725896ff4be08277a0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -15,6 +15,14 @@ module Protocol
|
|
15
15
|
def publish(channel, message)
|
16
16
|
call("PUBLISH", channel, message)
|
17
17
|
end
|
18
|
+
|
19
|
+
# Post a message to a shard channel.
|
20
|
+
# See <https://redis.io/commands/spublish> for more details.
|
21
|
+
# @parameter channel [String]
|
22
|
+
# @parameter message [String]
|
23
|
+
def spublish(channel, message)
|
24
|
+
call("SPUBLISH", channel, message)
|
25
|
+
end
|
18
26
|
end
|
19
27
|
end
|
20
28
|
end
|
data/readme.md
CHANGED
@@ -14,6 +14,10 @@ Please see the [project documentation](https://socketry.github.io/protocol-redis
|
|
14
14
|
|
15
15
|
Please see the [project releases](https://socketry.github.io/protocol-redis/releases/index) for all releases.
|
16
16
|
|
17
|
+
### v0.12.0
|
18
|
+
|
19
|
+
- Introduce `Pubsub#spublish` method for shard channels.
|
20
|
+
|
17
21
|
### v0.11.0
|
18
22
|
|
19
23
|
- Introduce cluster methods, including `Strings`, `Streams`, `Scripting` and `Pubsub`.
|
@@ -59,14 +63,6 @@ Please see the [project releases](https://socketry.github.io/protocol-redis/rele
|
|
59
63
|
- Use correct CRLF constant in server methods.
|
60
64
|
- Modernize gem configuration.
|
61
65
|
|
62
|
-
### v0.5.0
|
63
|
-
|
64
|
-
- Add incomplete implementations of scripting, sets and streams.
|
65
|
-
- Merge existing sorted set implementations.
|
66
|
-
- Add `zrangebyscore` method.
|
67
|
-
- Improve argument management.
|
68
|
-
- Modernize testing infrastructure.
|
69
|
-
|
70
66
|
## Contributing
|
71
67
|
|
72
68
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|