From nobody Thu May 16 06:29:49 2024 X-Original-To: dev-commits-ports-main@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 4Vg0Z55gdnz5Kg5Y; Thu, 16 May 2024 06:29:49 +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 4Vg0Z52ttLz4386; Thu, 16 May 2024 06:29:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840989; 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=pXrJ8842gXooQafuac36Vk2rPirRXByP/p5xSJtSwE0=; b=sJoGEQl+oPdLZeNUJNR23IMQsFPyAztSEBLGpnL4yZ4ncCadzQbpArwPBCRRpEXPFV3eaf LmzUu9zYE8qy9yPGxOl0QdqyhPNn9DU+9bcKdznTyD42pVgflPirpGB7VydgMnJO+scWD8 +nYudqknLN2O7mPWy0E+EatJ0OSLcb2Hu8B86MAmpX1729deQH3JCGAVLnvYdnWfeL8t4t VwZh7rOe20JC31d9zMMkp8ew9GDwUk4uHykQL7BBJRCoXWAOhIQ6SDOtpWXBGNvEgtilYt iCDJeMUIbia58Ta8+m+hwae+9JpRRmF9LWZRLyLziFdziXc2pFygqunISZWiBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715840989; a=rsa-sha256; cv=none; b=SfUzlVUqbpjZrZVC0yaCZ7JX+EX+9t6i0e9UrYIlm4bMb8kUiSHPQZZamrihVdx0JuAwS9 oNsEYI7oKG7AAC0edBblO8Lg/SDz7McK6BvJyWwHA5F1vUgaMoIb0C1PfaiB9QaamWVhpJ FRJhFujobpfCqvgHlm1jVkxz99e2QD5cHyYLJnQa1dK0Yj+YFFl4nop1yMHXi0+MuwviMz CR+xgAKhY6oUhKKHFcycLaucv3yVXeeq5+mhF6zTvMxAHmC2UtIvg9JAkbG11Rj+Rx+p04 Fc1i+RDK6qWP0S7zGUHqU26Gx7/NCnKDH4RAShqaOpTzToCtA9o74rewRhuWaQ== 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=1715840989; 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=pXrJ8842gXooQafuac36Vk2rPirRXByP/p5xSJtSwE0=; b=ENP56Sd9zRZKQLpV3LkPtnCbjXV8TOI4stm6qkGvz4DplaD8ABeKr9+DwZhFJXDEnmFeY5 Axr0HDxfrgTS4RvSzkj/QLv31wY6MM/bq/tY3E1EuRhu9bNk/Zor+JDc2e1XgBHVX2kZf4 vKnEfVfQ4bY6TCDR05b5p2swAslzzBgGc4DeeqYX8YixlWI12giOTIOF9t6r2Q340MlDTE 5I3o2j52wzxsCtOoem707roN89HhCLrBUObCgNgnGftsOxZEGYfyIbaamPSiud3JMLESFt wdq7TuoAGErTOx2bp5neUshmL0/WYZsywhEBOspfh9zpXJP7owtXd18u5bKK6Q== 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 4Vg0Z52S8MznrQ; Thu, 16 May 2024 06:29:49 +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 44G6TnWF032921; Thu, 16 May 2024 06:29:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44G6TnOI032918; Thu, 16 May 2024 06:29:49 GMT (envelope-from git) Date: Thu, 16 May 2024 06:29:49 GMT Message-Id: <202405160629.44G6TnOI032918@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: c944f0a5cc39 - main - www/rubygem-bullet_train-super_load_and_authorize_resource: Add rubygem-bullet_train-super_load_and_authorize_resource 1.7.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: c944f0a5cc399507a549cae535c69fe08581d426 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c944f0a5cc399507a549cae535c69fe08581d426 commit c944f0a5cc399507a549cae535c69fe08581d426 Author: Po-Chuan Hsieh AuthorDate: 2024-05-16 06:14:12 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-16 06:21:54 +0000 www/rubygem-bullet_train-super_load_and_authorize_resource: Add rubygem-bullet_train-super_load_and_authorize_resource 1.7.2 BulletTrain's super load and authorize resource function It is heavily based on cancancan's load_and_authorize_resource method. --- www/Makefile | 1 + .../Makefile | 20 ++++++++++++++++++++ .../distinfo | 3 +++ .../pkg-descr | 3 +++ 4 files changed, 27 insertions(+) diff --git a/www/Makefile b/www/Makefile index becce4badb52..8196225c7762 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1972,6 +1972,7 @@ SUBDIR += rubygem-bullet_train-roles SUBDIR += rubygem-bullet_train-routes SUBDIR += rubygem-bullet_train-scope_validator + SUBDIR += rubygem-bullet_train-super_load_and_authorize_resource SUBDIR += rubygem-cal-heatmap-rails SUBDIR += rubygem-carrierwave SUBDIR += rubygem-carrierwave1 diff --git a/www/rubygem-bullet_train-super_load_and_authorize_resource/Makefile b/www/rubygem-bullet_train-super_load_and_authorize_resource/Makefile new file mode 100644 index 000000000000..3191301a6106 --- /dev/null +++ b/www/rubygem-bullet_train-super_load_and_authorize_resource/Makefile @@ -0,0 +1,20 @@ +PORTNAME= bullet_train-super_load_and_authorize_resource +PORTVERSION= 1.7.2 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Bullet Train Super Load And Authorize Resource +WWW= https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train-super_load_and_authorize_resource + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-cancancan>=0:security/rubygem-cancancan \ + rubygem-rails71>=6.0.0:www/rubygem-rails71 + +USES= gem + +NO_ARCH= yes + +.include diff --git a/www/rubygem-bullet_train-super_load_and_authorize_resource/distinfo b/www/rubygem-bullet_train-super_load_and_authorize_resource/distinfo new file mode 100644 index 000000000000..1a30213f6c21 --- /dev/null +++ b/www/rubygem-bullet_train-super_load_and_authorize_resource/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227840 +SHA256 (rubygem/bullet_train-super_load_and_authorize_resource-1.7.2.gem) = ec03cf21173cff8fc4828b4937ee6a9055728f0e7b658fbacf17791455387a56 +SIZE (rubygem/bullet_train-super_load_and_authorize_resource-1.7.2.gem) = 8704 diff --git a/www/rubygem-bullet_train-super_load_and_authorize_resource/pkg-descr b/www/rubygem-bullet_train-super_load_and_authorize_resource/pkg-descr new file mode 100644 index 000000000000..10a232f58b55 --- /dev/null +++ b/www/rubygem-bullet_train-super_load_and_authorize_resource/pkg-descr @@ -0,0 +1,3 @@ +BulletTrain's super load and authorize resource function + +It is heavily based on cancancan's load_and_authorize_resource method.