aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 18:06:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-31 18:49:27 +0000
commitafe2450bf47ada48c030dcb9ffd4510ad2e96f83 (patch)
tree7615db51c8f9f06ad1d9ceebd2d0f2c72a65248c
parent8b6b50ba0e7d4b8cd1860949e998372dfc18aba8 (diff)
databases/rubygem-redis-client: Add rubygem-redis-client 0.7.1
redis-client is a simple, low-level, client for Redis 6+. Contrary to the redis gem, redis-client doesn't try to map all Redis commands to Ruby constructs, it merely is a thin wrapper on top of the RESP3 protocol. WWW: https://github.com/redis-rb/redis-client
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-redis-client/Makefile19
-rw-r--r--databases/rubygem-redis-client/distinfo3
-rw-r--r--databases/rubygem-redis-client/pkg-descr6
4 files changed, 29 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index ad96cfd0b8ef..3121cbbed453 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -985,6 +985,7 @@
SUBDIR += rubygem-redis-actionpack-rails60
SUBDIR += rubygem-redis-actionpack-rails61
SUBDIR += rubygem-redis-actionpack52-rails61
+ SUBDIR += rubygem-redis-client
SUBDIR += rubygem-redis-namespace
SUBDIR += rubygem-redis-namespace18
SUBDIR += rubygem-redis44
diff --git a/databases/rubygem-redis-client/Makefile b/databases/rubygem-redis-client/Makefile
new file mode 100644
index 000000000000..39b6783105e1
--- /dev/null
+++ b/databases/rubygem-redis-client/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= redis-client
+PORTVERSION= 0.7.1
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple low-level client for Redis 6+
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= rubygem-connection_pool>=0:net/rubygem-connection_pool
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-redis-client/distinfo b/databases/rubygem-redis-client/distinfo
new file mode 100644
index 000000000000..6919eb6b91c6
--- /dev/null
+++ b/databases/rubygem-redis-client/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661950804
+SHA256 (rubygem/redis-client-0.7.1.gem) = 2a9669fc71131d57d96ff5322312866dc486a9c706a3f1be2f6714b5c6ffc054
+SIZE (rubygem/redis-client-0.7.1.gem) = 22528
diff --git a/databases/rubygem-redis-client/pkg-descr b/databases/rubygem-redis-client/pkg-descr
new file mode 100644
index 000000000000..3da5874dfaeb
--- /dev/null
+++ b/databases/rubygem-redis-client/pkg-descr
@@ -0,0 +1,6 @@
+redis-client is a simple, low-level, client for Redis 6+.
+
+Contrary to the redis gem, redis-client doesn't try to map all Redis commands to
+Ruby constructs, it merely is a thin wrapper on top of the RESP3 protocol.
+
+WWW: https://github.com/redis-rb/redis-client