aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortz <tz@FreeBSD.org>2017-08-24 17:16:29 +0800
committertz <tz@FreeBSD.org>2017-08-24 17:16:29 +0800
commit506bbae4e902fdc39ca360dc4530750eec9f21f5 (patch)
tree327c0c577d5be330b86c5b844b93b4162d5c2748
parent601cb52aa05af3666e43e14145d22c1b51b48ee8 (diff)
downloadfreebsd-ports-gnome-506bbae4e902fdc39ca360dc4530750eec9f21f5.tar.gz
freebsd-ports-gnome-506bbae4e902fdc39ca360dc4530750eec9f21f5.tar.zst
freebsd-ports-gnome-506bbae4e902fdc39ca360dc4530750eec9f21f5.zip
New port: devel/rubygem-peek-redis
Take a peek into the Redis calls made within your Rails application. Things this peek view provides: - Total number of Redis commands called during the request - The duration of the calls made during the request WWW: https://github.com/peek/peek-redis
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-peek-redis/Makefile22
-rw-r--r--devel/rubygem-peek-redis/distinfo3
-rw-r--r--devel/rubygem-peek-redis/pkg-descr7
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 47e8253c7b0c..84111a7a1061 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5596,6 +5596,7 @@
SUBDIR += rubygem-peek-gc
SUBDIR += rubygem-peek-host
SUBDIR += rubygem-peek-performance_bar
+ SUBDIR += rubygem-peek-redis
SUBDIR += rubygem-peek-sidekiq
SUBDIR += rubygem-piston
SUBDIR += rubygem-pkg-config
diff --git a/devel/rubygem-peek-redis/Makefile b/devel/rubygem-peek-redis/Makefile
new file mode 100644
index 000000000000..5400340eb31f
--- /dev/null
+++ b/devel/rubygem-peek-redis/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= peek-redis
+PORTVERSION= 1.2.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= tz@FreeBSD.org
+COMMENT= Provide a peek into the Redis calls made
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-atomic>=1.0.0:devel/rubygem-atomic \
+ rubygem-peek>=0:devel/rubygem-peek \
+ rubygem-redis>=0:databases/rubygem-redis
+
+NO_ARCH= yes
+USES= gem
+USE_RUBY= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-peek-redis/distinfo b/devel/rubygem-peek-redis/distinfo
new file mode 100644
index 000000000000..747238ee5c83
--- /dev/null
+++ b/devel/rubygem-peek-redis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503566083
+SHA256 (rubygem/peek-redis-1.2.0.gem) = 6354690649aafc4c542b89065809ea0494911f1055bd5d73e3a98554a265216d
+SIZE (rubygem/peek-redis-1.2.0.gem) = 7168
diff --git a/devel/rubygem-peek-redis/pkg-descr b/devel/rubygem-peek-redis/pkg-descr
new file mode 100644
index 000000000000..6607a6ff2044
--- /dev/null
+++ b/devel/rubygem-peek-redis/pkg-descr
@@ -0,0 +1,7 @@
+Take a peek into the Redis calls made within your Rails application.
+
+Things this peek view provides:
+- Total number of Redis commands called during the request
+- The duration of the calls made during the request
+
+WWW: https://github.com/peek/peek-redis