Commit 96d54e5
authored
Replace abandoned fakeredis with real redis, upgrade redis-rb to 5.x (#22)
fakeredis is unmaintained (last release 0.9.2, 2023) and hard-pins
redis ~> 4.8, which kept redis-rb stuck at 4.8.1 across every Dependabot
bump. Drop it in favor of testing against a real redis server.
- Remove fakeredis from the Gemfile and the spec/support stub
- Relock: redis 4.8.1 -> 5.4.1 (pulls in redis-client)
- Add a redis service to the CI test_and_lint job, since fakeredis was
previously the only reason specs passed without a server
Specs need no changes: redis-rb 5 connects lazily, so type assertions
and verify!/quit work against the live server.1 parent a5c4148 commit 96d54e5
4 files changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
119 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | | - | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
This file was deleted.
0 commit comments