• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sds / mock_redis / 41190910317
97%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2026 10:00AM UTC
Jobs 12
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Oct 2026 09:59AM UTC coverage: 39.147% (-59.0%) from 98.195%
41190910317

push

github

web-flow
Fix multiple open issues (#356)

## Summary

This PR combines fixes for multiple open issues:

- **Issue #340**: Add `username` option support for Redis connection
configuration
- **Issue #337**: Fix `send_expires` when option is nil (was failing
with `NoMethodError`)
- **Issue #329**: Fix `SET` command with positional arguments via
`call()` method
- **Issue #307**: Add `BYSCORE`, `BYLEX`, and `REV` options to `ZRANGE`
command
- **Issue #277**: Add `LT` and `CH` options to `ZADD` command

Each fix includes corresponding test coverage.

## Test plan

- [ ] All existing tests pass
- [ ] New tests for username option
- [ ] New tests for send_expires nil handling
- [ ] New tests for SET positional arguments
- [ ] New tests for ZRANGE BYSCORE/BYLEX/REV options
- [ ] New tests for ZADD LT/CH options
- [ ] RuboCop lint checks pass

Closes #340
Closes #337
Closes #329
Closes #307
Closes #277

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

26 of 113 new or added lines in 3 files covered. (23.01%)

1149 existing lines in 23 files now uncovered.

817 of 2087 relevant lines covered (39.15%)

135.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
67
41.53
-58.13% lib/mock_redis/zset_methods.rb
18
56.49
-41.07% lib/mock_redis/database.rb
2
72.83
-17.98% lib/mock_redis.rb

Coverage Regressions

Lines Coverage ∆ File
198
21.09
-77.34% lib/mock_redis/string_methods.rb
146
41.53
-58.13% lib/mock_redis/zset_methods.rb
119
18.37
-80.95% lib/mock_redis/geospatial_methods.rb
99
35.9
-63.48% lib/mock_redis/list_methods.rb
99
22.9
-75.57% lib/mock_redis/set_methods.rb
96
22.4
-76.8% lib/mock_redis/hash_methods.rb
92
56.49
-41.07% lib/mock_redis/database.rb
39
32.76
-67.24% lib/mock_redis/stream.rb
35
41.67
-58.33% lib/mock_redis/transaction_wrapper.rb
34
32.69
-65.38% lib/mock_redis/stream_methods.rb
33
26.09
-71.74% lib/mock_redis/sort_method.rb
27
42.55
-57.45% lib/mock_redis/utility_methods.rb
23
25.81
-74.19% lib/mock_redis/stream/id.rb
23
47.83
-50.0% lib/mock_redis/multi_db_wrapper.rb
20
41.03
-51.28% lib/mock_redis/pipelined_wrapper.rb
19
61.02
-32.2% lib/mock_redis/zset.rb
15
72.83
-17.98% lib/mock_redis.rb
14
58.82
-41.18% lib/mock_redis/info_method.rb
7
50.0
-50.0% lib/mock_redis/future.rb
3
78.57
-21.43% lib/mock_redis/expire_wrapper.rb
3
78.57
-21.43% lib/mock_redis/assertions.rb
3
50.0
-50.0% lib/mock_redis/memory_method.rb
2
84.62
-15.38% lib/mock_redis/error.rb
Jobs
ID Job ID Ran Files Coverage
1 ruby3.1-7.0 - 41190910317.1 31 Oct 2026 10:00AM UTC 27
38.03
GitHub Action Run
2 ruby3.3-7.0 - 41190910317.2 31 Oct 2026 10:00AM UTC 27
38.05
GitHub Action Run
3 ruby3.1-6.2 - 41190910317.3 31 Oct 2026 10:00AM UTC 27
32.81
GitHub Action Run
4 ruby4.0-6.2 - 41190910317.4 31 Oct 2026 10:00AM UTC 27
32.66
GitHub Action Run
5 ruby3.4-7.0 - 41190910317.5 31 Oct 2026 10:00AM UTC 27
38.01
GitHub Action Run
6 ruby4.0-7.0 - 41190910317.6 31 Oct 2026 10:00AM UTC 27
38.01
GitHub Action Run
7 ruby3.0-6.2 - 41190910317.7 31 Oct 2026 10:00AM UTC 27
32.81
GitHub Action Run
8 ruby3.2-7.0 - 41190910317.8 31 Oct 2026 10:00AM UTC 27
38.03
GitHub Action Run
9 ruby3.3-6.2 - 41190910317.9 31 Oct 2026 10:00AM UTC 27
32.82
GitHub Action Run
10 ruby3.2-6.2 - 41190910317.10 31 Oct 2026 10:00AM UTC 27
32.81
GitHub Action Run
11 ruby3.4-6.2 - 41190910317.11 31 Oct 2026 10:00AM UTC 27
32.66
GitHub Action Run
12 ruby3.0-7.0 - 41190910317.12 31 Oct 2026 10:00AM UTC 27
38.03
GitHub Action Run
Source Files on build 41190910317
  • Tree
  • List 27
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ee3bb799 on github
  • Prev Build on main (#41190124062)
  • Next Build on main (#41406462788)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc