summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-30 01:50:00 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-30 01:50:00 +0000
commit305979af7888f6684a964de569da95948cbfdfd2 (patch)
tree8fe2f367dc061697c0fb70ed3ef991aef2a3ae4b
parentAdd rubygem-gettext_i18n_rails_js 1.3.0 (diff)
Add rubygem-pundit 1.1.0
Pundit provides a set of helpers which guide you in leveraging regular Ruby classes and object oriented design patterns to build a simple, robust and scaleable authorization system. WWW: https://github.com/elabs/pundit
Notes
Notes: svn path=/head/; revision=442049
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-pundit/Makefile21
-rw-r--r--security/rubygem-pundit/distinfo3
-rw-r--r--security/rubygem-pundit/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a9fc82d8119f..9eb933d73409 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1046,6 +1046,7 @@
SUBDIR += rubygem-openssl-ccm
SUBDIR += rubygem-openvas-omp
SUBDIR += rubygem-origami
+ SUBDIR += rubygem-pundit
SUBDIR += rubygem-pyu-ruby-sasl
SUBDIR += rubygem-rack-oauth2
SUBDIR += rubygem-razorback-scriptNugget
diff --git a/security/rubygem-pundit/Makefile b/security/rubygem-pundit/Makefile
new file mode 100644
index 000000000000..29f958c5ed8c
--- /dev/null
+++ b/security/rubygem-pundit/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pundit
+PORTVERSION= 1.1.0
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Object oriented authorization for Rails applications
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activesupport5>=3.0.0:devel/rubygem-activesupport5
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-pundit/distinfo b/security/rubygem-pundit/distinfo
new file mode 100644
index 000000000000..c84cc4ed4474
--- /dev/null
+++ b/security/rubygem-pundit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496083206
+SHA256 (rubygem/pundit-1.1.0.gem) = bd38e2df0b17e5cef5759edad979aaa361a46c0bdfc83a700df7e3febe99a781
+SIZE (rubygem/pundit-1.1.0.gem) = 22016
diff --git a/security/rubygem-pundit/pkg-descr b/security/rubygem-pundit/pkg-descr
new file mode 100644
index 000000000000..789ee42b4c64
--- /dev/null
+++ b/security/rubygem-pundit/pkg-descr
@@ -0,0 +1,5 @@
+Pundit provides a set of helpers which guide you in leveraging regular Ruby
+classes and object oriented design patterns to build a simple, robust and
+scaleable authorization system.
+
+WWW: https://github.com/elabs/pundit