redis-rbs 0.1.0 → 0.2.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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -4
  3. data/sig/redis.rbs +2499 -436
  4. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed827e176cef22013f927fbe5c721fd18e3c571f09b098a8d2e10a366f7bdc4c
4
- data.tar.gz: e958c0ed9470e4c2e106109b72af38e2fce8fc0757cdb2eb05bab8127616c32f
3
+ metadata.gz: cde087e0bb08dd5a00567bbc68b386a23d469a30c84a6b9d47f3649a03f2a61e
4
+ data.tar.gz: d0d928b6139b0f61b5d1cd750b2bfa7895896db12075fbdb7f638c6f3c1659ae
5
5
  SHA512:
6
- metadata.gz: 4f060cafd028469cb7859334442fb1adde084e2bcd4e3fee15643724900f21ea2e087e16cde854d25d6cefd4c189203ca7683dc0b40171f4c14c4cc309373034
7
- data.tar.gz: 5dc188e70b22dca5ea4412138ec2da0c6478e5b226d30aa9d3951dd8cc8d2282c7e617b63d35f68610348ebebf00d49bb21e3170424f3892b00a0cadde091f54
6
+ metadata.gz: 678b950ad73da93773a1c6e28409c8e15c137a115f2be7013a49927baed49797a1b3ddb0d9a1e25081807085b71addfd51d5b49fd12524b4dfefdb209c6104a6
7
+ data.tar.gz: 12efa0e221c495709da407b48d01e833604582dbc7a73bcf7550ea64f8563e56fe6bdd826e64f070f40d0c5b0ff04781037890b0dae77085837d2fbb8feef1c5
data/README.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  Generated RBS signatures for [`redis-rb`](https://github.com/redis/redis-rb).
4
4
 
5
- Version `0.1.x` targets `redis >= 5.4.0, < 5.5`. It covers the concrete client, command modules, pipelines, futures, subscriptions, distributed support and auxiliary classes shipped by Redis 5.4.1. The older community signature collection for Redis 4.2 was used only as historical reference because Redis 5.x has a different client architecture and API surface.
5
+ Version `0.2.x` targets `redis >= 6.1.1, < 6.2` and covers the client, command modules, pipelines, futures, subscriptions, distributed support and auxiliary classes in Redis 6.1.1. Use `0.1.0` for Redis 5.4. The Redis Ruby client uses RESP3 by default and can be configured for RESP2. The signatures represent both reply types where geospatial coordinates differ. Availability of newer commands depends on the Redis server version.
6
6
 
7
7
  ## Installation
8
8
 
9
9
  ```ruby
10
- gem "redis", "~> 5.4.1"
11
- gem "redis-rbs", "~> 0.1.0", require: false
10
+ gem "redis", "~> 6.1.1"
11
+ gem "redis-rbs", "~> 0.2.0", require: false
12
12
  ```
13
13
 
14
14
  RBS, Steep and compatible editors discover the `.rbs` files from the installed gem's `sig/` directory. This gem adds no runtime behavior and never opens a Redis connection by itself.
@@ -20,10 +20,13 @@ The generator runs RBS's Ruby prototype over every file shipped in `redis` and e
20
20
  ```sh
21
21
  bundle install
22
22
  bundle exec rake generate
23
- bundle exec rake
23
+ bundle exec rake test # deterministic tests
24
+ bundle exec rake # tests, 100% generator coverage, and rbs validate
24
25
  bundle exec rake build
25
26
  ```
26
27
 
28
+ The coverage gate measures the generator's lines, branches and methods. The shipped gem contains RBS declarations and no Ruby runtime code. The tests check all generated declarations against the source.
29
+
27
30
  Generated signatures are committed; consumers do not need the generator or network access.
28
31
 
29
32
  ## License