aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rubygem-rails-dom-testing-rails81
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /textproc/rubygem-rails-dom-testing-rails81
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'textproc/rubygem-rails-dom-testing-rails81')
-rw-r--r--textproc/rubygem-rails-dom-testing-rails81/Makefile22
-rw-r--r--textproc/rubygem-rails-dom-testing-rails81/distinfo3
-rw-r--r--textproc/rubygem-rails-dom-testing-rails81/pkg-descr6
3 files changed, 31 insertions, 0 deletions
diff --git a/textproc/rubygem-rails-dom-testing-rails81/Makefile b/textproc/rubygem-rails-dom-testing-rails81/Makefile
new file mode 100644
index 000000000000..6994c31344dc
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails81/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= rails-dom-testing
+PORTVERSION= 2.3.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails81
+
+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-activesupport81>=5.0.0:devel/rubygem-activesupport81 \
+ 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-rails81/distinfo b/textproc/rubygem-rails-dom-testing-rails81/distinfo
new file mode 100644
index 000000000000..a0b7ecf2e656
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails81/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748496007
+SHA256 (rubygem/rails-dom-testing-2.3.0.gem) = 8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
+SIZE (rubygem/rails-dom-testing-2.3.0.gem) = 17920
diff --git a/textproc/rubygem-rails-dom-testing-rails81/pkg-descr b/textproc/rubygem-rails-dom-testing-rails81/pkg-descr
new file mode 100644
index 000000000000..ddabc817c4fd
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails81/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.