aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-mario-redis-lock
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2017-07-25 19:57:49 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2017-07-25 19:57:49 +0000
commit4c0cbdf56249e866f6f847849ef204b997713e50 (patch)
tree99739d1281eb328bf4d49f31ec7d62951e2a7cea /databases/rubygem-mario-redis-lock
parent4dee9b038a55b48661978d3642b89f39c1090ae2 (diff)
downloadports-4c0cbdf56249e866f6f847849ef204b997713e50.tar.gz
ports-4c0cbdf56249e866f6f847849ef204b997713e50.zip
Notes
Diffstat (limited to 'databases/rubygem-mario-redis-lock')
-rw-r--r--databases/rubygem-mario-redis-lock/Makefile20
-rw-r--r--databases/rubygem-mario-redis-lock/distinfo3
-rw-r--r--databases/rubygem-mario-redis-lock/pkg-descr6
3 files changed, 29 insertions, 0 deletions
diff --git a/databases/rubygem-mario-redis-lock/Makefile b/databases/rubygem-mario-redis-lock/Makefile
new file mode 100644
index 000000000000..f74ee5834adf
--- /dev/null
+++ b/databases/rubygem-mario-redis-lock/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= mario-redis-lock
+PORTVERSION= 1.2.0
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Ruby distributed lock using Redis, with emphasis in transparency
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-redis>=3.3.3:databases/rubygem-redis
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-mario-redis-lock/distinfo b/databases/rubygem-mario-redis-lock/distinfo
new file mode 100644
index 000000000000..6f96a360da0b
--- /dev/null
+++ b/databases/rubygem-mario-redis-lock/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1501012237
+SHA256 (rubygem/mario-redis-lock-1.2.0.gem) = 71284375e58a89bf5c337c44f0e7da2576cfcc762dec0cc632c992d84dddac72
+SIZE (rubygem/mario-redis-lock-1.2.0.gem) = 14336
diff --git a/databases/rubygem-mario-redis-lock/pkg-descr b/databases/rubygem-mario-redis-lock/pkg-descr
new file mode 100644
index 000000000000..c05335415da7
--- /dev/null
+++ b/databases/rubygem-mario-redis-lock/pkg-descr
@@ -0,0 +1,6 @@
+This is yet another Ruby distributed lock using Redis, with an emphasis on
+transparency. It requires Redis version 2.6.12 or later, because it uses the
+syntax for SET introduced in that version to easily implement the robust
+algorithm described in the SET command documentation.
+
+WWW: https://github.com/marioizquierdo/mario-redis-lock