From nobody Thu May 16 06:29:48 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 4Vg0Z46bQ5z5Kg90; Thu, 16 May 2024 06:29:48 +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 4Vg0Z4290Bz435h; Thu, 16 May 2024 06:29:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840988; 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=6RC4Yr5SRwjYU71BWaZ8kO6lUDxJF8o30usldCP6jHY=; b=GqH4sY7e7BBJEChHovwtwcIH/qy0eb/ecxkhMMdPU84RoLz/PkVe1yeK4APsgiKLVT089p CIW09qtLCtDLoxwpfzhMpHJhXxNoFnjkXqcY3cv1yOCMZ7gMyMD1iqEnKaBsI9yqJvMWu0 myaHkpTeWtXvSGHIThGZa+mFoR4G54DNlJd/Y7/WwxZOFyN3miUQHi0WAaxNLdSkYsVX6D RlX2zfnCZpcFK/Ty5B8VmH7EMSH/7jSrDPRIV6pt7qswzet7INM5Q06RMAiQrV6kLcZOUM Of2fM9E7IA5yWHjx0v2PGobzrdAP53O1lVMbPfoVviGcZBonazFlODbInXYbHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715840988; a=rsa-sha256; cv=none; b=LP2HhBgzBwWYGVP79kT7AgOPMM/2QcUeKptrDmJIrX2VXwVTY1ZKehiaknevPb/TDCagUK mZZadKnMlBF50CNYptI2wtzbapDsBujAGNakmn2ZOqbUUA9EIY7uvD71GLWP4TRhZ8A4qn +HJAA8/E/9gMz1WZ25QECWOuFBwofqtz1sYC//JuQUNaK87hSraf17A/nyb0gexbNY0b0c 6mRGB4oVOFfYD/PaPJrVeiIMwIGvmYgcfQIc5E+g9jF0XY7bErL8FgW0a6EoptUBuqAhEq cHXAbEc3W33cMc2fUm49qqVdq0FLvqt2B5XVL2KlZrqJSP2MxToTkW0een6c9Q== 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=1715840988; 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=6RC4Yr5SRwjYU71BWaZ8kO6lUDxJF8o30usldCP6jHY=; b=ljjXi1PYbkX4FKNQUFk8xGqottuA7z3mfz+biNk+PfbHbXAmHlfPgX71dUdXmYGOonDWNs OusbbKe+uH6LndvsUgpCsO+uftb9m1SOC+jURCm/Nz0FQrFCcHdCgimwSsedbboJTQ56zB tDFOrVg061T+eF3mMgLcEEOehTpq+SXNom4RkOvd6+rJ8kPYGauw8tEJ+W55lljI3A7OlT p26F1bmruNJI/bKiLQgC74MM/OUNUBG/oIDJ52UT2Huxi6SFLI2ijz1+gH2Vq6Zi2TPT43 8t/rhwqs6pcUhM7MwwyyAr6wxGoaA2gC7RmL2+9QAojypqly9EBZ+NN1tNyOAQ== 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 4Vg0Z41kRLznf2; Thu, 16 May 2024 06:29:48 +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 44G6TmU2032882; Thu, 16 May 2024 06:29:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44G6TmPo032879; Thu, 16 May 2024 06:29:48 GMT (envelope-from git) Date: Thu, 16 May 2024 06:29:48 GMT Message-Id: <202405160629.44G6TmPo032879@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: 6f0ee272541c - main - www/rubygem-bullet_train-scope_validator: Add rubygem-bullet_train-scope_validator 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: 6f0ee272541c19580e0932650a5ff0f93c786c0e Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f0ee272541c19580e0932650a5ff0f93c786c0e commit 6f0ee272541c19580e0932650a5ff0f93c786c0e Author: Po-Chuan Hsieh AuthorDate: 2024-05-16 06:14:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-16 06:21:53 +0000 www/rubygem-bullet_train-scope_validator: Add rubygem-bullet_train-scope_validator 1.7.2 Bullet Train Scope Validator provides a simple pattern for protecting belongs_to associations from malicious ID stuffing. --- www/Makefile | 1 + www/rubygem-bullet_train-scope_validator/Makefile | 19 +++++++++++++++++++ www/rubygem-bullet_train-scope_validator/distinfo | 3 +++ www/rubygem-bullet_train-scope_validator/pkg-descr | 2 ++ 4 files changed, 25 insertions(+) diff --git a/www/Makefile b/www/Makefile index 05fe6a234eb8..becce4badb52 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1971,6 +1971,7 @@ SUBDIR += rubygem-bullet_train-has_uuid SUBDIR += rubygem-bullet_train-roles SUBDIR += rubygem-bullet_train-routes + SUBDIR += rubygem-bullet_train-scope_validator SUBDIR += rubygem-cal-heatmap-rails SUBDIR += rubygem-carrierwave SUBDIR += rubygem-carrierwave1 diff --git a/www/rubygem-bullet_train-scope_validator/Makefile b/www/rubygem-bullet_train-scope_validator/Makefile new file mode 100644 index 000000000000..bfcbbb6dd18c --- /dev/null +++ b/www/rubygem-bullet_train-scope_validator/Makefile @@ -0,0 +1,19 @@ +PORTNAME= bullet_train-scope_validator +PORTVERSION= 1.7.2 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Protect belongs_to attributes from ID stuffing +WWW= https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train-scope_validator + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-rails71>=0:www/rubygem-rails71 + +USES= gem + +NO_ARCH= yes + +.include diff --git a/www/rubygem-bullet_train-scope_validator/distinfo b/www/rubygem-bullet_train-scope_validator/distinfo new file mode 100644 index 000000000000..a2ab4d46d776 --- /dev/null +++ b/www/rubygem-bullet_train-scope_validator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227838 +SHA256 (rubygem/bullet_train-scope_validator-1.7.2.gem) = a037833e9d82f1c3a74bcfe7b7750a12339a92f0f74bda850cbb8ae59c7c18b1 +SIZE (rubygem/bullet_train-scope_validator-1.7.2.gem) = 11776 diff --git a/www/rubygem-bullet_train-scope_validator/pkg-descr b/www/rubygem-bullet_train-scope_validator/pkg-descr new file mode 100644 index 000000000000..a84854c94e99 --- /dev/null +++ b/www/rubygem-bullet_train-scope_validator/pkg-descr @@ -0,0 +1,2 @@ +Bullet Train Scope Validator provides a simple pattern for protecting belongs_to +associations from malicious ID stuffing.