protocol-redis 0.9.0 → 0.11.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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +1 -2
  3. data/context/getting-started.md +55 -0
  4. data/context/index.yaml +13 -0
  5. data/lib/protocol/redis/cluster/methods/generic.rb +94 -0
  6. data/lib/protocol/redis/cluster/methods/pubsub.rb +27 -0
  7. data/lib/protocol/redis/cluster/methods/scripting.rb +93 -0
  8. data/lib/protocol/redis/cluster/methods/streams.rb +204 -0
  9. data/lib/protocol/redis/cluster/methods/strings.rb +304 -0
  10. data/lib/protocol/redis/cluster/methods.rb +27 -0
  11. data/lib/protocol/redis/connection.rb +41 -12
  12. data/lib/protocol/redis/error.rb +6 -0
  13. data/lib/protocol/redis/methods/cluster.rb +9 -7
  14. data/lib/protocol/redis/methods/connection.rb +9 -8
  15. data/lib/protocol/redis/methods/counting.rb +9 -8
  16. data/lib/protocol/redis/methods/generic.rb +100 -99
  17. data/lib/protocol/redis/methods/geospatial.rb +42 -49
  18. data/lib/protocol/redis/methods/hashes.rb +84 -83
  19. data/lib/protocol/redis/methods/lists.rb +75 -74
  20. data/lib/protocol/redis/methods/pubsub.rb +5 -4
  21. data/lib/protocol/redis/methods/scripting.rb +19 -20
  22. data/lib/protocol/redis/methods/server.rb +13 -9
  23. data/lib/protocol/redis/methods/sets.rb +42 -41
  24. data/lib/protocol/redis/methods/sorted_sets.rb +110 -109
  25. data/lib/protocol/redis/methods/streams.rb +48 -47
  26. data/lib/protocol/redis/methods/strings.rb +112 -109
  27. data/lib/protocol/redis/methods.rb +16 -14
  28. data/lib/protocol/redis/version.rb +1 -1
  29. data/lib/protocol/redis.rb +9 -2
  30. data/readme.md +49 -21
  31. data/releases.md +98 -0
  32. data.tar.gz.sig +0 -0
  33. metadata +13 -9
  34. metadata.gz.sig +0 -0
data/releases.md ADDED
@@ -0,0 +1,98 @@
1
+ # Releases
2
+
3
+ ## v0.11.0
4
+
5
+ - Introduce cluster methods, including `Strings`, `Streams`, `Scripting` and `Pubsub`.
6
+
7
+ ## v0.10.0
8
+
9
+ - Add agent context.
10
+ - 100% documentation and test coverage + minor bug fixes.
11
+
12
+ ## v0.9.0
13
+
14
+ - Add support for `client info` command.
15
+
16
+ ## v0.8.1
17
+
18
+ - Fix HSCAN method implementation.
19
+
20
+ ## v0.8.0
21
+
22
+ - Add missing `hscan` method.
23
+ - Add `mapped_hmget` and `mapped_hmset` methods to match `redis-rb` gem interface.
24
+ - Add cluster methods to client.
25
+ - Make hashes methods compatible with redis-rb.
26
+
27
+ ## v0.7.0
28
+
29
+ - Add scripting methods to client and fix script interface.
30
+ - Include sets and streams in the protocol methods.
31
+ - Add support for essential `exists?` method.
32
+ - Prefer bake-gem for release management.
33
+
34
+ ## v0.6.1
35
+
36
+ - Add support for multi-argument auth.
37
+
38
+ ## v0.6.0
39
+
40
+ - Add relevant pubsub method group.
41
+
42
+ ## v0.5.1
43
+
44
+ - Add tests for info command, streams, and string methods.
45
+ - Use correct CRLF constant in server methods.
46
+ - Modernize gem configuration.
47
+
48
+ ## v0.5.0
49
+
50
+ - Add incomplete implementations of scripting, sets and streams.
51
+ - Merge existing sorted set implementations.
52
+ - Add `zrangebyscore` method.
53
+ - Improve argument management.
54
+ - Modernize testing infrastructure.
55
+
56
+ ## v0.4.2
57
+
58
+ - Prefer implicit returns and improve return value for `setnx`.
59
+
60
+ ## v0.4.1
61
+
62
+ - Prefer implicit returns and direct calls (avoid indirection in set methods).
63
+
64
+ ## v0.4.0
65
+
66
+ - Add sorted set methods (ZADD, ZREM, ZRANGE, etc.).
67
+ - Use keyword arguments for better API design.
68
+ - Normalize implementations and keyword arguments.
69
+ - Add call(\*arguments) benchmark.
70
+ - Prefer frozen string literals.
71
+
72
+ ## v0.3.1
73
+
74
+ - Fix LREM command implementation.
75
+ - Add Ruby 2.7 to CI testing.
76
+ - Drop support for older Ruby versions.
77
+
78
+ ## v0.3.0
79
+
80
+ - Add connection, counting and geospatial modules.
81
+ - Add support for generating modules automatically.
82
+ - Fix `Generic#migrate` method.
83
+ - Match module name with Redis group name.
84
+ - Add missing implementations.
85
+ - Count number of requests for performance monitoring.
86
+
87
+ ## v0.2.0
88
+
89
+ - Move methods from async-redis.
90
+ - Raise `EOFError` when object could not be read.
91
+ - Fix broken require statements.
92
+ - Avoid allocating extra Array for performance.
93
+ - Add link to RESP3 spec and sample usage.
94
+ - Add string method specifications.
95
+
96
+ ## v0.1.0
97
+
98
+ - Initial release.
data.tar.gz.sig CHANGED
Binary file
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.9.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -13,7 +13,6 @@ authors:
13
13
  - Daniel Evans
14
14
  - Olle Jonsson
15
15
  - Salim Semaoune
16
- autorequire:
17
16
  bindir: bin
18
17
  cert_chain:
19
18
  - |
@@ -45,15 +44,21 @@ cert_chain:
45
44
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
46
45
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
47
46
  -----END CERTIFICATE-----
48
- date: 2024-08-15 00:00:00.000000000 Z
47
+ date: 1980-01-02 00:00:00.000000000 Z
49
48
  dependencies: []
50
- description:
51
- email:
52
49
  executables: []
53
50
  extensions: []
54
51
  extra_rdoc_files: []
55
52
  files:
53
+ - context/getting-started.md
54
+ - context/index.yaml
56
55
  - lib/protocol/redis.rb
56
+ - lib/protocol/redis/cluster/methods.rb
57
+ - lib/protocol/redis/cluster/methods/generic.rb
58
+ - lib/protocol/redis/cluster/methods/pubsub.rb
59
+ - lib/protocol/redis/cluster/methods/scripting.rb
60
+ - lib/protocol/redis/cluster/methods/streams.rb
61
+ - lib/protocol/redis/cluster/methods/strings.rb
57
62
  - lib/protocol/redis/connection.rb
58
63
  - lib/protocol/redis/error.rb
59
64
  - lib/protocol/redis/methods.rb
@@ -74,6 +79,7 @@ files:
74
79
  - lib/protocol/redis/version.rb
75
80
  - license.md
76
81
  - readme.md
82
+ - releases.md
77
83
  homepage: https://github.com/socketry/protocol-redis
78
84
  licenses:
79
85
  - MIT
@@ -81,7 +87,6 @@ metadata:
81
87
  documentation_uri: https://socketry.github.io/protocol-redis/
82
88
  funding_uri: https://github.com/sponsors/ioquatix
83
89
  source_code_uri: https://github.com/socketry/protocol-redis.git
84
- post_install_message:
85
90
  rdoc_options: []
86
91
  require_paths:
87
92
  - lib
@@ -89,15 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
94
  requirements:
90
95
  - - ">="
91
96
  - !ruby/object:Gem::Version
92
- version: '3.1'
97
+ version: '3.2'
93
98
  required_rubygems_version: !ruby/object:Gem::Requirement
94
99
  requirements:
95
100
  - - ">="
96
101
  - !ruby/object:Gem::Version
97
102
  version: '0'
98
103
  requirements: []
99
- rubygems_version: 3.5.11
100
- signing_key:
104
+ rubygems_version: 3.6.9
101
105
  specification_version: 4
102
106
  summary: A transport agnostic RESP protocol client/server.
103
107
  test_files: []
metadata.gz.sig CHANGED
Binary file