From nobody Wed Sep 18 06:18:44 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 4X7pPc6VNdz5W03J; Wed, 18 Sep 2024 06:18:44 +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 4X7pPc5h8gz4Dtr; Wed, 18 Sep 2024 06:18:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640324; 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=LaScn4Kb1FMQU417mAYUo9rA4qaC1ANzPoxdRXZEiXo=; b=B0F/zaV5snn8HBngj11j9l/om+P0REF4nEJEJguRywFNTpgkNLtvAYzY3fk0XmRpPxT74+ eVCmiv7d5PeGGCABd4CNL0KT6Rn5OdBAJXiAzihf/0N59yRLHreTjugbTXmiiP4VrZrfJm MGmbVUwnP6VB+7i/JPP5nVcCX14mtdRlvVqqAjTqVwMs1cJb/0sbhTdhHRvPjce7LnrI4n +hujNzi+0uytC8jYXLJenV7Gda/9X6uDDUXGc6+dVw3awU/Ut05jBQ2oGt3NEWbxlK6xpi 4Oc3TsI1SOQSwmUtdKiViTVHSOjsImCyrIPUXzcOghCr/1AUsrs2Sc46O+uLeg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726640324; a=rsa-sha256; cv=none; b=sdTakyVjov8LOo14z3Tn6G9MP4pp77H8jSRdGxoxjtSH21hD//mQBNDmTVr8z6KwaVs6gI ue9Cr97rWAxBwy9gRhUVnhj+H5Zwa2fEVyyheH3dOoOrW42hsvw9b/MuodxGN0+CnvgE+3 gbkvpcOlvgeIQh1lb5VIiPn+X4RKRVem7bdn6hUD3SIZxy5/eDiM82C3Nj6F+L2qUlcSQI paYRL+JUEwRYoOF3Khg5MyjQXcj+QXzbPA8dyN3nBlMU9Jw+rMcfAC2hP8d8pRMm8oT10Y qYsXmiGtN17Tvm9QwkKMvslI1T0V3LiYB2Xz9zKCJrSEGKFYnvCENaVtqwRc/Q== 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=1726640324; 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=LaScn4Kb1FMQU417mAYUo9rA4qaC1ANzPoxdRXZEiXo=; b=cdIin0aLcNs1114BPgcO54Wrnu1ZNw4DZrLGKFg2ScDKznuxDR0aXhfjQEm635LlqHEpoo As9RS5qXweVv0Av56C8Bp6zS7SF8gZ/RNFocguDg42XXoELBtETa8bu6C1naKY8vxc37HQ AK6edT3tMk7NcsMY+ZaQlBE1eS7Flr3ARjU9ZFB23zOaijNt00x8yZMlcGJQFfo/ISiznI 0P9osOolq7AdQRP+1pJLrhUoonKEe0GNu0jPRzpFr2CSWVExollzhC7zT9FesAVvlKQxY3 lhoUgL+EJly6l/kZnInZaDfnBvSE9D9MpGGE0hS4AnFoANrDhMSUyXnDcA23wA== 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 4X7pPc5BmXz19c9; Wed, 18 Sep 2024 06:18:44 +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 48I6IiBr031938; Wed, 18 Sep 2024 06:18:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I6IiPq031935; Wed, 18 Sep 2024 06:18:44 GMT (envelope-from git) Date: Wed, 18 Sep 2024 06:18:44 GMT Message-Id: <202409180618.48I6IiPq031935@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: 1eeb8297da4e - main - textproc/rubygem-rails-dom-testing-rails72: Add rubygem-rails-dom-testing-rails72 2.2.0 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: 1eeb8297da4e4214cf420cdff55806ce85d3d1e3 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1eeb8297da4e4214cf420cdff55806ce85d3d1e3 commit 1eeb8297da4e4214cf420cdff55806ce85d3d1e3 Author: Po-Chuan Hsieh AuthorDate: 2024-09-18 05:51:36 +0000 Commit: Po-Chuan Hsieh 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 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.