git: 108ae691a90a - main - textproc/rubygem-rails-dom-testing-rails70: Add rubygem-rails-dom-testing-rails70 (copied from rubygem-rails-dom-testing-rails61)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=108ae691a90a015218851868916df44a89861325

commit 108ae691a90a015218851868916df44a89861325
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:54:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:47 +0000

    textproc/rubygem-rails-dom-testing-rails70: Add rubygem-rails-dom-testing-rails70 (copied from rubygem-rails-dom-testing-rails61)
    
    - Add PORTSCOUT
---
 textproc/Makefile                                  |  1 +
 .../rubygem-rails-dom-testing-rails70/Makefile     | 23 ++++++++++++++++++++++
 .../rubygem-rails-dom-testing-rails70/distinfo     |  3 +++
 .../rubygem-rails-dom-testing-rails70/pkg-descr    |  8 ++++++++
 4 files changed, 35 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 913fa13b52d5..56f59d73435d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1728,6 +1728,7 @@
     SUBDIR += rubygem-rails-dom-testing-rails52
     SUBDIR += rubygem-rails-dom-testing-rails60
     SUBDIR += rubygem-rails-dom-testing-rails61
+    SUBDIR += rubygem-rails-dom-testing-rails70
     SUBDIR += rubygem-rails-dom-testing1
     SUBDIR += rubygem-rails-html-sanitizer
     SUBDIR += rubygem-rak
diff --git a/textproc/rubygem-rails-dom-testing-rails70/Makefile b/textproc/rubygem-rails-dom-testing-rails70/Makefile
new file mode 100644
index 000000000000..fee05583eeb1
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails70/Makefile
@@ -0,0 +1,23 @@
+# Created by: Johannes Jost Meixner <xmj@FreeBSD.org>
+
+PORTNAME=	rails-dom-testing
+PORTVERSION=	2.0.3
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails70
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Analyse and compare DOMs using Nokogiri
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport70>=4.2.0:devel/rubygem-activesupport70 \
+		rubygem-nokogiri>=1.6:textproc/rubygem-nokogiri
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-rails-dom-testing-rails70/distinfo b/textproc/rubygem-rails-dom-testing-rails70/distinfo
new file mode 100644
index 000000000000..d87274f660df
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails70/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494610306
+SHA256 (rubygem/rails-dom-testing-2.0.3.gem) = b140c4f39f6e609c8113137b9a60dfc2ecb89864e496f87f23a68b3b8f12d8d1
+SIZE (rubygem/rails-dom-testing-2.0.3.gem) = 14336
diff --git a/textproc/rubygem-rails-dom-testing-rails70/pkg-descr b/textproc/rubygem-rails-dom-testing-rails70/pkg-descr
new file mode 100644
index 000000000000..c87a1ba37065
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails70/pkg-descr
@@ -0,0 +1,8 @@
+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.
+
+WWW: https://github.com/rails/rails-dom-testing