git: 39336c4506cc - main - security/rubygem-pundit61: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 07:34:48 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39336c4506cc4d51e687d849fd655dd265e72107

commit 39336c4506cc4d51e687d849fd655dd265e72107
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 07:33:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 07:33:46 +0000

    security/rubygem-pundit61: New port
    
    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.
    
    Sponsored by:   Nepustil
---
 security/Makefile                   |  1 +
 security/rubygem-pundit61/Makefile  | 21 +++++++++++++++++++++
 security/rubygem-pundit61/distinfo  |  3 +++
 security/rubygem-pundit61/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 332663fd48ba..bc5f1aa1a506 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1113,6 +1113,7 @@
     SUBDIR += rubygem-origami
     SUBDIR += rubygem-pbkdf2-ruby
     SUBDIR += rubygem-pundit
+    SUBDIR += rubygem-pundit61
     SUBDIR += rubygem-pyu-ruby-sasl
     SUBDIR += rubygem-rack-oauth2
     SUBDIR += rubygem-razorback-scriptNugget
diff --git a/security/rubygem-pundit61/Makefile b/security/rubygem-pundit61/Makefile
new file mode 100644
index 000000000000..89ddb97dd1b4
--- /dev/null
+++ b/security/rubygem-pundit61/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	pundit
+PORTVERSION=	2.2.0
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	61
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Object oriented authorization for Rails applications
+WWW=		https://github.com/varvet/pundit
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-activesupport61>=3.0.0:devel/rubygem-activesupport61
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-pundit61/distinfo b/security/rubygem-pundit61/distinfo
new file mode 100644
index 000000000000..441144dcb52e
--- /dev/null
+++ b/security/rubygem-pundit61/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646058858
+SHA256 (rubygem/pundit-2.2.0.gem) = 4def4ecee890085af2d7f4968566f5d7ddb4f64d3b54c40860037a3df871e29f
+SIZE (rubygem/pundit-2.2.0.gem) = 27136
diff --git a/security/rubygem-pundit61/pkg-descr b/security/rubygem-pundit61/pkg-descr
new file mode 100644
index 000000000000..ff29a68eb6a5
--- /dev/null
+++ b/security/rubygem-pundit61/pkg-descr
@@ -0,0 +1,3 @@
+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.