From nobody Thu May 16 06:29:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vg0Z21Zhpz5Kfwx; Thu, 16 May 2024 06:29:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vg0Z20FFdz43GS; Thu, 16 May 2024 06:29:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TIZOP1LvWm5u9WhibQTIZbK0k4YngzKtX3T3rYTkG18=; b=ithnwd58g1JGsbwG/p/7d8Mv1bZhA6YOEpHOnR8kW7Rq+QxlGgFzsrwYy6tIJrkXWpcXwS IZwg0Vq3m4Qq1FwwIy4+bK4PanmSziCiTHXDfhW2AeTO30v+PyAEdUXUJYQ7j0/rT7pNdy TqbGrXQ3N2dMIbTjfjMpxAWxTSIjL+8lO6jyanXPxW1IKD9f5Z+amvNZwFppKxScTW7hCK bMp67gXZfGSMBVmVEy77zIQSFmLAsjUrmzDmvLrecxMKhQ/UHihwHxRBHc05UW6WtvIxwd 5W2+EUZSbhVqQpTP3wIWc2gBR5MTqBJ4+4mc7+QINrVtAfYLbmwkskNhhnX+YA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715840986; a=rsa-sha256; cv=none; b=gjWXZXqFuHx57v2P0u8nx6g3Vdv0WoOclRIsjXimlmScMplFCoXY40y/jHe9BMZvxqG7pW Grnh5IHmYMj18SDZTbRiX99o1CvG3iq1CAIXDRku6u3qenYKyLuXijh1CzuCzRHAsb21OM 1Mnz1zd7lljH/5BDB4dsEHb5j55SS7WsMpBonNSuu3m3se484rj8OdtNmdsmwQizIoca7d /F6eWYcxZXWmuTYmHkDQTy0kbyKpPALVHm7GlO8sU/vOzu7RvwIjIQXAnRo0seRQfSALoE 6OFPm856mfT5tQwgTub6vTJ8H/iXN1YW2/r3KIQL4UBY4QsCRxEMp/ZIib6HPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TIZOP1LvWm5u9WhibQTIZbK0k4YngzKtX3T3rYTkG18=; b=iTd0JFP+WgTB/YqAc49mX1Fv4MzQ/LykOeNniFI5/drcMzwOp7pDboCHQIjcSJOwga0Ehb gWO2UnvuZf+Acbw3f1rbKZO7BaGt7HnL2bwNEyUMsF+QDuPcZaXRns3C5sT6DSswj1+F/M uwQ8BvqnAgaplJJAaReAQaFsqAeKKLhyOUKfBqGHIu7FRgW9Lxel/cuKCToHN+AWV5xvTP mtmPNflVOxWxcTr64HyiqbsBPcWrqd2pmGu7nDE1hUCagWPwk6ebj4OAr/Mhb71HEgZVar vbdoQf2htbixQkYTn1Aq0zvLf9CVMhLSMlsuZAkk+ZSVhWpHlRuOZN5kRm8eEQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vg0Z16z0TznJp; Thu, 16 May 2024 06:29:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44G6TjXm032800; Thu, 16 May 2024 06:29:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44G6Tj4r032797; Thu, 16 May 2024 06:29:45 GMT (envelope-from git) Date: Thu, 16 May 2024 06:29:45 GMT Message-Id: <202405160629.44G6Tj4r032797@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6b3f3860b9a9 - main - www/rubygem-bullet_train-roles: Add rubygem-bullet_train-roles 1.7.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6b3f3860b9a9ce32e4b330838d4de3c2cc0e49dc Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b3f3860b9a9ce32e4b330838d4de3c2cc0e49dc commit 6b3f3860b9a9ce32e4b330838d4de3c2cc0e49dc Author: Po-Chuan Hsieh AuthorDate: 2024-05-16 06:14:04 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-16 06:21:53 +0000 www/rubygem-bullet_train-roles: Add rubygem-bullet_train-roles 1.7.2 Bullet Train Roles provides a Yaml-based configuration layer on top of CanCanCan. You can use this configuration file to simplify the definition of many common permissions, while still implementing more complicated permissions in CanCanCan's traditional app/model/ability.rb. Additionally, Bullet Train Roles makes it trivial to assign the same roles and associated permissions at different levels in your application. For example, you can assign someone administrative privileges at a team level, or only at a project level. --- www/Makefile | 1 + www/rubygem-bullet_train-roles/Makefile | 21 +++++++++++++++++++++ www/rubygem-bullet_train-roles/distinfo | 3 +++ www/rubygem-bullet_train-roles/pkg-descr | 9 +++++++++ 4 files changed, 34 insertions(+) diff --git a/www/Makefile b/www/Makefile index 562720b4b392..27c1b567b807 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1969,6 +1969,7 @@ SUBDIR += rubygem-bullet_train SUBDIR += rubygem-bullet_train-fields SUBDIR += rubygem-bullet_train-has_uuid + SUBDIR += rubygem-bullet_train-roles SUBDIR += rubygem-cal-heatmap-rails SUBDIR += rubygem-carrierwave SUBDIR += rubygem-carrierwave1 diff --git a/www/rubygem-bullet_train-roles/Makefile b/www/rubygem-bullet_train-roles/Makefile new file mode 100644 index 000000000000..202e7cf56f75 --- /dev/null +++ b/www/rubygem-bullet_train-roles/Makefile @@ -0,0 +1,21 @@ +PORTNAME= bullet_train-roles +PORTVERSION= 1.7.2 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Yaml-backed ApplicationHash for CanCan Roles +WWW= https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train-roles + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-active_hash>=0:devel/rubygem-active_hash \ + rubygem-activesupport71>=0:devel/rubygem-activesupport71 \ + rubygem-cancancan>=0:security/rubygem-cancancan + +USES= gem + +NO_ARCH= yes + +.include diff --git a/www/rubygem-bullet_train-roles/distinfo b/www/rubygem-bullet_train-roles/distinfo new file mode 100644 index 000000000000..2f73dfba478d --- /dev/null +++ b/www/rubygem-bullet_train-roles/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227834 +SHA256 (rubygem/bullet_train-roles-1.7.2.gem) = 64c6233eb8d3543b3265f7a0360bf020ce1debd91284d8815ac587d7d220ea59 +SIZE (rubygem/bullet_train-roles-1.7.2.gem) = 21504 diff --git a/www/rubygem-bullet_train-roles/pkg-descr b/www/rubygem-bullet_train-roles/pkg-descr new file mode 100644 index 000000000000..7137999e3848 --- /dev/null +++ b/www/rubygem-bullet_train-roles/pkg-descr @@ -0,0 +1,9 @@ +Bullet Train Roles provides a Yaml-based configuration layer on top of +CanCanCan. You can use this configuration file to simplify the definition of +many common permissions, while still implementing more complicated permissions +in CanCanCan's traditional app/model/ability.rb. + +Additionally, Bullet Train Roles makes it trivial to assign the same roles and +associated permissions at different levels in your application. For example, you +can assign someone administrative privileges at a team level, or only at a +project level.