From nobody Thu May 16 06:29:43 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 4Vg0Z004yhz5Kg8w; Thu, 16 May 2024 06:29:44 +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 4Vg0Yz5PdHz42pg; Thu, 16 May 2024 06:29:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840983; 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=ZYlcTgHaxcvHnDGsy2FrKzKArqffFSH60qr9rH8svLg=; b=I0ntvnvEJVg3+6IE2RxNEUy/bUjK2aqY1m+Dlc06OPdriAEcEtl5w38baY9xnLChirHhwe DjKbd/LgBpOE6fIaawLHUUrk/Y3iIiba0ggGVaLmci6PmaxCdbFCCbpdwXURk5+T/CAogL LOyKnUUwyyUDtNLsuHoEz6YsuC8uSfwHgY7fnpRXom34MBmEJCm3A5bbzzx3krhUss/PfX phNrJ/YNmJYjWCZjipz9nSgGykn3aYpcluAupK8be+FxbmFOIMMgYuVc9/ThB88PR1WNmA MgF3/S9aZWteaqReXTD3k6JnFvjgcGttVt2/c5dpvzu2X+LiR6VvxXr7XFB10g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715840983; a=rsa-sha256; cv=none; b=b+zCLB/o/td8cc0GJo6jdBzaHFfjCx/rCE9bU/c2kFEwmmq891y7TOrzsj1S6QH3X/ndDb RhSE7Vds9VyUC8TJeQBD9L85nEqnlCLZuKbr9aAHkxMNN7bh+Qh/0ThLVFw6x7faTat79F BnxnR7LVRjCQnbp11Y1ntMbxHOpqlH5KrHxz5NjKSnvOppM7pNwFEHDXsUp925cgaCbgso 7PYy/bTLemaUeIYItQ4UUAq1naMzW3DvD4NxslIJA8p5tdUfVukjsU/kCManqYJjMtRedp kE7n2Z0aLTwm443HW42NSMNpI6QIbtXi+V0T0DoDJaqr4pOtGXKxh3veAv5JLw== 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=1715840983; 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=ZYlcTgHaxcvHnDGsy2FrKzKArqffFSH60qr9rH8svLg=; b=m6k/TQEiUg2lVC93LVtdj1SnxWA3dwPf4LuAhVJc5bDDtJDq3wwLhinDgDi9i6mZGD8wQc ayoSuwNTsbydTFm9up+4mgpnYKogwZhAGH49BYfYv+cekN1vCapyQgRedOAcJB9sfCAoIl Cym/gFMKsxaFEojDo4n+314ayoni+wqd0JZY5MenpogTWrZkrDr1X5eI7z4dFLoFUm6oEO LTSVQ8jBBnn21zv7pldMO/JhQUY5tnYF7T6tLkdl0Kfh5ewgrNELhnWntNGOlFfaUi27jB 9EOGcjGl35aebtrbeY0fHTJaOI+TXMHHh28alE/4mnAzESoXXmlgn4rIZ9YeAg== 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 4Vg0Yz4yK2znsK; Thu, 16 May 2024 06:29:43 +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 44G6ThCL032715; Thu, 16 May 2024 06:29:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44G6Th4p032712; Thu, 16 May 2024 06:29:43 GMT (envelope-from git) Date: Thu, 16 May 2024 06:29:43 GMT Message-Id: <202405160629.44G6Th4p032712@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: 8eb3fc8f0184 - main - www/rubygem-bullet_train-fields: Add rubygem-bullet_train-fields 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: 8eb3fc8f0184e14704ff2e483344e9719f2062ce Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8eb3fc8f0184e14704ff2e483344e9719f2062ce commit 8eb3fc8f0184e14704ff2e483344e9719f2062ce Author: Po-Chuan Hsieh AuthorDate: 2024-05-16 06:13:58 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-16 06:21:52 +0000 www/rubygem-bullet_train-fields: Add rubygem-bullet_train-fields 1.7.2 Bullet Train includes a collection of view partials that are intended to DRY-up as much redundant presentation logic as possible for different types of form fields without taking on a third-party dependency like Formtastic. These form field partials standardize and centralize the following behavior across all form fields that use them: - Apply theme styling and classes. - Display any error messages for a specific field inline under the field itself. - Display a stylized asterisk next to the label of fields that are known to be required. - Any labels, placeholder values, and help text are defined in a standardized way in the model's localization Yaml file. - For fields presenting a static list of options (e.g. a list of buttons or a select field) the options can be defined in the localization Yaml file. --- www/Makefile | 1 + www/rubygem-bullet_train-fields/Makefile | 22 ++++++++++++++++++++++ www/rubygem-bullet_train-fields/distinfo | 3 +++ www/rubygem-bullet_train-fields/pkg-descr | 14 ++++++++++++++ 4 files changed, 40 insertions(+) diff --git a/www/Makefile b/www/Makefile index f2ec5d3eedb3..fffd21ca0032 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1967,6 +1967,7 @@ SUBDIR += rubygem-bootstrap-sass SUBDIR += rubygem-browser SUBDIR += rubygem-bullet_train + SUBDIR += rubygem-bullet_train-fields SUBDIR += rubygem-cal-heatmap-rails SUBDIR += rubygem-carrierwave SUBDIR += rubygem-carrierwave1 diff --git a/www/rubygem-bullet_train-fields/Makefile b/www/rubygem-bullet_train-fields/Makefile new file mode 100644 index 000000000000..7dd326b07578 --- /dev/null +++ b/www/rubygem-bullet_train-fields/Makefile @@ -0,0 +1,22 @@ +PORTNAME= bullet_train-fields +PORTVERSION= 1.7.2 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Bullet Train Fields +WWW= https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train-fields + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-chronic>=0:devel/rubygem-chronic \ + rubygem-cloudinary>=0:www/rubygem-cloudinary \ + rubygem-phonelib>=0:devel/rubygem-phonelib \ + rubygem-rails71>=6.0.0:www/rubygem-rails71 + +USES= gem + +NO_ARCH= yes + +.include diff --git a/www/rubygem-bullet_train-fields/distinfo b/www/rubygem-bullet_train-fields/distinfo new file mode 100644 index 000000000000..d9f07c20ebd6 --- /dev/null +++ b/www/rubygem-bullet_train-fields/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227830 +SHA256 (rubygem/bullet_train-fields-1.7.2.gem) = 6edbfb189e451d574fe380c40e85f66eee17c9dac86e2083158018d217660f1e +SIZE (rubygem/bullet_train-fields-1.7.2.gem) = 20992 diff --git a/www/rubygem-bullet_train-fields/pkg-descr b/www/rubygem-bullet_train-fields/pkg-descr new file mode 100644 index 000000000000..f6b87613f89e --- /dev/null +++ b/www/rubygem-bullet_train-fields/pkg-descr @@ -0,0 +1,14 @@ +Bullet Train includes a collection of view partials that are intended to DRY-up +as much redundant presentation logic as possible for different types of form +fields without taking on a third-party dependency like Formtastic. + +These form field partials standardize and centralize the following behavior +across all form fields that use them: +- Apply theme styling and classes. +- Display any error messages for a specific field inline under the field itself. +- Display a stylized asterisk next to the label of fields that are known to be + required. +- Any labels, placeholder values, and help text are defined in a standardized + way in the model's localization Yaml file. +- For fields presenting a static list of options (e.g. a list of buttons or a + select field) the options can be defined in the localization Yaml file.