From nobody Sun Aug 04 17:21:52 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 4WcRFX6w9Cz5SgkS; Sun, 04 Aug 2024 17:21:52 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcRFX5HJ2z3wct; Sun, 4 Aug 2024 17:21:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792112; 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=DHJBuN+CJ736uMeF/LtDwXKkuESCbkh6P1qqqk1PStw=; b=M99hsmSALzBUSzhWkYe9zI6tpsAIXi+zTIo/PfOmHfRCLVjc2BxATM3RWipQ4XfXC8rdzk 7NPWdnGCNdmaq1vA8cYNahuYbHTh9OSYA9cQtVYG7qPGrsAeKJuwCw3874QP3mS6ZXjOyA Ym0iTdUgUrkDzs2Kk/W1zUsjxSe4LYGt2UlxdvEP0qISNx8DTp79+/Fnap0U0Az61EODgC XofVwoptOe0dTjEW4Ym9yU5W0oz9cBMiIHodaHY3uMWn2a2AW8KxLn+LP+KOO4jeGXQTN+ lidpbuU+wrc0w3IETEMOC1CwBDWolCLuP+lXbMAkGH4knJ86yyYJmnR7+kFpOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722792112; a=rsa-sha256; cv=none; b=hCD6UmQXqBLNgD/QStRcXNDr5RMBGwH0AP61j5jIfHan315u2ixBszdWunYCOBkzFF3An8 OfkaACu9KwegTa220oGYNqUuvzStJco7CuSl/zoHA/fuFiT3Zoe13g6O5wPny36jXHYciF NvMMPq6Jar49Pv23AHrlhAAIQofhz/px7l+3IveR1H2l8yU2KhIoqaTZc9zfNozDviqVTS 724TpY07eiw6EGozfLlihY8231OuBqj7rz4qRtyWZWPKss6s1WgrDBK1WbliopDBV9xTqN H3muuyZcz9D+nxc0f/ZLphnWME/fz5eXkDPCQPqcb/APWxtOxzd9WZNntIqFLw== 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=1722792112; 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=DHJBuN+CJ736uMeF/LtDwXKkuESCbkh6P1qqqk1PStw=; b=xWzQYpcNuq1j2EQfh1wJU03cNeD8EShPQFHZRVHrTDsz84z5znBuMm0ycMhGC/Uzw9PWPQ nuNKJEHF7TtnGSGZq/U+ZMjPTb2Sdm6whRveTUscSCuUqyixAkoMmT1PHDxEaLNnEGdPoM zLz97DqR8K5Ej0AGegBw/hDQ3jP+qtj09P9J9+CCEiezhJoohStLJ31UgRTGKPsNhotpPk kVIuSykHm9ZgH0sC/9R34zRDIwkClcWut+mbOiZ/RcTsbL/+Tx8gfOCiPPdX/65ssH7Ks/ Ap1zqCSYVqKbk2HRcdKDLSdUrM7uDgvvAQAMJg0JPlbQgNQFzCS+1AWnrYlhEA== 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 4WcRFX4ZDsz14LZ; Sun, 4 Aug 2024 17:21:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474HLqb2059258; Sun, 4 Aug 2024 17:21:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474HLq72059255; Sun, 4 Aug 2024 17:21:52 GMT (envelope-from git) Date: Sun, 4 Aug 2024 17:21:52 GMT Message-Id: <202408041721.474HLq72059255@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: 04ad24954232 - main - devel/rubygem-better_html: Add rubygem-better_html 2.1.1 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: 04ad24954232d40d34f69602796f618185a58656 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=04ad24954232d40d34f69602796f618185a58656 commit 04ad24954232d40d34f69602796f618185a58656 Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 17:06:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 17:13:53 +0000 devel/rubygem-better_html: Add rubygem-better_html 2.1.1 This gem replaces the normal ERB parsing with an HTML-aware ERB parsing. This makes your templates smarter by adding runtime checks around the data interpolated from Ruby into HTML. --- devel/Makefile | 1 + devel/rubygem-better_html/Makefile | 22 ++++++++++++++++++++++ devel/rubygem-better_html/distinfo | 3 +++ devel/rubygem-better_html/pkg-descr | 3 +++ 4 files changed, 29 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8d30ff65f664..8c591c4cccf0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6860,6 +6860,7 @@ SUBDIR += rubygem-batch-loader SUBDIR += rubygem-bcp47_spec SUBDIR += rubygem-benelux + SUBDIR += rubygem-better_html SUBDIR += rubygem-better_html-rails61 SUBDIR += rubygem-bin_utils SUBDIR += rubygem-bindata diff --git a/devel/rubygem-better_html/Makefile b/devel/rubygem-better_html/Makefile new file mode 100644 index 000000000000..482c190d98fe --- /dev/null +++ b/devel/rubygem-better_html/Makefile @@ -0,0 +1,22 @@ +PORTNAME= better_html +PORTVERSION= 2.1.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Better HTML for Rails +WWW= https://github.com/Shopify/better-html + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-actionview71>=6.0:devel/rubygem-actionview71 \ + rubygem-activesupport71>=6.0:devel/rubygem-activesupport71 \ + rubygem-ast>=2.0<3:devel/rubygem-ast \ + rubygem-erubi>=1.4<2:www/rubygem-erubi \ + rubygem-parser>=2.4:devel/rubygem-parser \ + rubygem-smart_properties>=0:devel/rubygem-smart_properties + +USES= gem + +.include diff --git a/devel/rubygem-better_html/distinfo b/devel/rubygem-better_html/distinfo new file mode 100644 index 000000000000..678713b22d54 --- /dev/null +++ b/devel/rubygem-better_html/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722711135 +SHA256 (rubygem/better_html-2.1.1.gem) = 046c3551d1488a3f2939a7cac6fabf2bde08c32e135c91fcd683380118e5af55 +SIZE (rubygem/better_html-2.1.1.gem) = 27648 diff --git a/devel/rubygem-better_html/pkg-descr b/devel/rubygem-better_html/pkg-descr new file mode 100644 index 000000000000..3a1a0c94d73b --- /dev/null +++ b/devel/rubygem-better_html/pkg-descr @@ -0,0 +1,3 @@ +This gem replaces the normal ERB parsing with an HTML-aware ERB parsing. This +makes your templates smarter by adding runtime checks around the data +interpolated from Ruby into HTML.