aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-07-30 11:10:03 +0800
committerswills <swills@FreeBSD.org>2013-07-30 11:10:03 +0800
commit82548b2e8bdaed49742f01f1e87978652ce5b502 (patch)
tree714ca87e9c9ebc5f09dcce80a972e23a4fbc796c /databases
parent90b0536e920e22b3af24d2da43d83d07536c0532 (diff)
downloadfreebsd-ports-gnome-82548b2e8bdaed49742f01f1e87978652ce5b502.tar.gz
freebsd-ports-gnome-82548b2e8bdaed49742f01f1e87978652ce5b502.tar.zst
freebsd-ports-gnome-82548b2e8bdaed49742f01f1e87978652ce5b502.zip
Adds a Redis::Namespace class which can be used to namespace calls to Redis.
This is useful when using a single instance of Redis with multiple, different applications. WWW: http://github.com/resque/redis-namespace
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-redis-namespace/Makefile18
-rw-r--r--databases/rubygem-redis-namespace/pkg-descr5
3 files changed, 24 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 0ec5ce43e779..4ad83de02ecc 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -863,6 +863,7 @@
SUBDIR += rubygem-pg
SUBDIR += rubygem-rbase
SUBDIR += rubygem-redis
+ SUBDIR += rubygem-redis-namespace
SUBDIR += rubygem-rubyrep
SUBDIR += rubygem-sqlite3
SUBDIR += rubygem-sqlite3-ruby
diff --git a/databases/rubygem-redis-namespace/Makefile b/databases/rubygem-redis-namespace/Makefile
new file mode 100644
index 000000000000..dd9a778326a7
--- /dev/null
+++ b/databases/rubygem-redis-namespace/Makefile
@@ -0,0 +1,18 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= redis-namespace
+PORTVERSION= 1.3.0
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Ruby client class for Redis with namespace support
+
+RUN_DEPENDS= rubygem-redis>=3.0.0:${PORTSDIR}/databases/rubygem-redis
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-redis-namespace/pkg-descr b/databases/rubygem-redis-namespace/pkg-descr
new file mode 100644
index 000000000000..62b1243f932e
--- /dev/null
+++ b/databases/rubygem-redis-namespace/pkg-descr
@@ -0,0 +1,5 @@
+Adds a Redis::Namespace class which can be used to namespace calls to Redis.
+This is useful when using a single instance of Redis with multiple, different
+applications.
+
+WWW: http://github.com/resque/redis-namespace