git: 1eeb8297da4e - main - textproc/rubygem-rails-dom-testing-rails72: Add rubygem-rails-dom-testing-rails72 2.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:18:44 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1eeb8297da4e4214cf420cdff55806ce85d3d1e3

commit 1eeb8297da4e4214cf420cdff55806ce85d3d1e3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:51:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:05 +0000

    textproc/rubygem-rails-dom-testing-rails72: Add rubygem-rails-dom-testing-rails72 2.2.0
    
    This gem is responsible for comparing HTML doms and asserting that DOM elements
    are present in Rails applications. Doms are compared via assert_dom_equal and
    assert_dom_not_equal. Elements are asserted via assert_select,
    assert_select_encoded, assert_select_email and a subset of the dom can be
    selected with css_select. The gem is developed for Rails 4.2 and above, and
    will not work on previous versions.
---
 textproc/Makefile                                  |  1 +
 .../rubygem-rails-dom-testing-rails72/Makefile     | 22 ++++++++++++++++++++++
 .../rubygem-rails-dom-testing-rails72/distinfo     |  3 +++
 .../rubygem-rails-dom-testing-rails72/pkg-descr    |  6 ++++++
 4 files changed, 32 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 16b9c4a7f62e..c46f75d7eccf 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1894,6 +1894,7 @@
     SUBDIR += rubygem-rails-dom-testing-rails61
     SUBDIR += rubygem-rails-dom-testing-rails70
     SUBDIR += rubygem-rails-dom-testing-rails71
+    SUBDIR += rubygem-rails-dom-testing-rails72
     SUBDIR += rubygem-rails-dom-testing1
     SUBDIR += rubygem-rails-html-sanitizer
     SUBDIR += rubygem-rak
diff --git a/textproc/rubygem-rails-dom-testing-rails72/Makefile b/textproc/rubygem-rails-dom-testing-rails72/Makefile
new file mode 100644
index 000000000000..0379c450bb85
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails72/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	rails-dom-testing
+PORTVERSION=	2.2.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails72
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Analyse and compare DOMs using Nokogiri
+WWW=		https://github.com/rails/rails-dom-testing
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport72>=5.0.0:devel/rubygem-activesupport72 \
+		rubygem-minitest>=0:devel/rubygem-minitest \
+		rubygem-nokogiri>=1.6:textproc/rubygem-nokogiri
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-rails-dom-testing-rails72/distinfo b/textproc/rubygem-rails-dom-testing-rails72/distinfo
new file mode 100644
index 000000000000..ad58a5f7a9ce
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697330216
+SHA256 (rubygem/rails-dom-testing-2.2.0.gem) = e515712e48df1f687a1d7c380fd7b07b8558faa26464474da64183a7426fa93b
+SIZE (rubygem/rails-dom-testing-2.2.0.gem) = 16896
diff --git a/textproc/rubygem-rails-dom-testing-rails72/pkg-descr b/textproc/rubygem-rails-dom-testing-rails72/pkg-descr
new file mode 100644
index 000000000000..ddabc817c4fd
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails72/pkg-descr
@@ -0,0 +1,6 @@
+This gem is responsible for comparing HTML doms and asserting that DOM elements
+are present in Rails applications. Doms are compared via assert_dom_equal and
+assert_dom_not_equal. Elements are asserted via assert_select,
+assert_select_encoded, assert_select_email and a subset of the dom can be
+selected with css_select. The gem is developed for Rails 4.2 and above, and
+will not work on previous versions.