summaryrefslogtreecommitdiff
path: root/textproc/rubygem-rails-dom-testing-rails5
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2017-05-01 13:42:41 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2017-05-01 13:42:41 +0000
commit3272a15d44675eda6ae515c9256385f8b87d6a0d (patch)
tree97f2b173dcd4e4cf46447cb978717f85ba5a0c64 /textproc/rubygem-rails-dom-testing-rails5
parentUse official tarball from PyPI (diff)
Create and update rails5 ports to prevent installation of the same ports
for rails4 and rails5 Approved by: swills (mentor, implicit)
Notes
Notes: svn path=/head/; revision=439897
Diffstat (limited to 'textproc/rubygem-rails-dom-testing-rails5')
-rw-r--r--textproc/rubygem-rails-dom-testing-rails5/Makefile24
-rw-r--r--textproc/rubygem-rails-dom-testing-rails5/distinfo3
-rw-r--r--textproc/rubygem-rails-dom-testing-rails5/pkg-descr8
3 files changed, 35 insertions, 0 deletions
diff --git a/textproc/rubygem-rails-dom-testing-rails5/Makefile b/textproc/rubygem-rails-dom-testing-rails5/Makefile
new file mode 100644
index 000000000000..ba50c5e84da6
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails5/Makefile
@@ -0,0 +1,24 @@
+# Created by: Johannes Jost Meixner <xmj@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= rails-dom-testing
+PORTVERSION= 2.0.2
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails5
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Analyse and compare DOMs using Nokogiri
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-activesupport5>0:devel/rubygem-activesupport5 \
+ rubygem-nokogiri>=1.6:textproc/rubygem-nokogiri \
+ rubygem-rails-deprecated_sanitizer-rails5>=1.0.1:devel/rubygem-rails-deprecated_sanitizer-rails5
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-rails-dom-testing-rails5/distinfo b/textproc/rubygem-rails-dom-testing-rails5/distinfo
new file mode 100644
index 000000000000..1f1e2b91b66c
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1483229671
+SHA256 (rubygem/rails-dom-testing-2.0.2.gem) = 7b7a3813b3ae83d450a7d16a80d5f3f38585b5589a28084443fa9c1b492635d8
+SIZE (rubygem/rails-dom-testing-2.0.2.gem) = 14336
diff --git a/textproc/rubygem-rails-dom-testing-rails5/pkg-descr b/textproc/rubygem-rails-dom-testing-rails5/pkg-descr
new file mode 100644
index 000000000000..c87a1ba37065
--- /dev/null
+++ b/textproc/rubygem-rails-dom-testing-rails5/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