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

leandromoreira / redlock-rb / 38
99%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2015 09:56PM UTC
Jobs 1
Files 2
Run time 1s
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

pending completion
38

Pull #9

travis-ci

hobodave
Permits initialization with existing Redis objects

This allows the Redlock gem to seamlessly work with redis sentinel, which is supported in redis 3.2+.

It also allows clients to set any other arbitrary options on the Redis connection, e.g. password, driver, and more

Bumped version to 0.1.0 per semantic versioning guidelines since functionality was added in a backwards-compatible manner.

Also changed the set command sent to Redis::Client to use 'NX' and 'PX' instead of `:nx` and `:px`. This matches
the behavior of `Redis#set` which parses `{:nx => true, :px => 123}` into `['NX', 'PX', 123]`. This was needed in order
for the redlock gem to work with the fakeredis gem (an in-memory fake redis server commonly used in CI/Test environments).
Pull Request #9: Permits initialization with existing Redis objects

14 of 14 new or added lines in 1 file covered. (100.0%)

64 of 64 relevant lines covered (100.0%)

13.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38.1 (2.0.0) 17 Apr 2015 09:56PM UTC 0
100.0
Travis Job 38.1
Source Files on build 38
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #38
  • Pull Request #9
  • PR Base - master (#35)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc