Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/rubygem-redlock1: Add rubygem-redlock1 1.3.2 (copied from rubyg…
…em-redlock) - Add PORTSCOUT
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
PORTNAME= redlock | ||
PORTVERSION= 1.3.2 | ||
CATEGORIES= devel rubygems | ||
MASTER_SITES= RG | ||
PKGNAMESUFFIX= 1 | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Distributed lock using Redis written in Ruby | ||
WWW= https://github.com/leandromoreira/redlock-rb | ||
|
||
LICENSE= BSD2CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
RUN_DEPENDS= rubygem-redis>=3.0.0<6.0:databases/rubygem-redis | ||
|
||
USES= gem | ||
|
||
NO_ARCH= yes | ||
|
||
PORTSCOUT= limit:^1\. | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1674588100 | ||
SHA256 (rubygem/redlock-1.3.2.gem) = 6c7cea3d62c6e31e8df6b1924fdf89e35e5576e52dce10c62412e783bfe37277 | ||
SIZE (rubygem/redlock-1.3.2.gem) = 18432 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Redlock provides a ruby distributed lock using redis. | ||
|
||
Distributed locks are a very useful primitive in many environments where | ||
different processes require to operate with shared resources in a mutually | ||
exclusive way. | ||
|
||
There are a number of libraries and blog posts describing how to implement a DLM | ||
(Distributed Lock Manager) with Redis, but every library uses a different | ||
approach, and many use a simple approach with lower guarantees compared to what | ||
can be achieved with slightly more complex designs. | ||
|
||
This is an implementation of a proposed distributed lock algorithm with Redis. | ||
It started as a fork from antirez implementation. |