From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81B7B1580B6 for ; Tue, 24 Aug 2021 05:59:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E565E0AB4; Tue, 24 Aug 2021 05:59:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 810AFE0A97 for ; Tue, 24 Aug 2021 05:59:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 35D0333E01A for ; Tue, 24 Aug 2021 05:59:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A074E87B for ; Tue, 24 Aug 2021 05:59:12 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1629784220.afe331f4ebd5b4b1d5865b8d8c0f1f41d061bf88.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rails-html-sanitizer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rails-html-sanitizer/Manifest dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild X-VCS-Directories: dev-ruby/rails-html-sanitizer/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: afe331f4ebd5b4b1d5865b8d8c0f1f41d061bf88 X-VCS-Branch: master Date: Tue, 24 Aug 2021 05:59:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6d48164b-4155-4043-b3a1-60df918d665e X-Archives-Hash: 84ded402032b1822089a6a7723969cef commit: afe331f4ebd5b4b1d5865b8d8c0f1f41d061bf88 Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 24 05:44:29 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Aug 24 05:50:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe331f4 dev-ruby/rails-html-sanitizer: add 1.4.2 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rails-html-sanitizer/Manifest | 1 + .../rails-html-sanitizer-1.4.2.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-ruby/rails-html-sanitizer/Manifest b/dev-ruby/rails-html-sanitizer/Manifest index cb0b4792da6..6bf16840321 100644 --- a/dev-ruby/rails-html-sanitizer/Manifest +++ b/dev-ruby/rails-html-sanitizer/Manifest @@ -1,2 +1,3 @@ DIST rails-html-sanitizer-1.3.0.gem 16384 BLAKE2B ae0b9acfd4ffc53b84b92cb42c149022312112f90d64866de916be2b91b680ecfbbdc94d278626c992cc90b0061705c11c9a604f6d9e91092e1117e40e003e6d SHA512 01d67f750ffc6ac857e4dc47b77d66e02acc4488f353af97e2fc367590fe85107b631aaf8b32f61f9e1f375c93e1b24fbf966f738e35483f5174880a0ffe5ddb DIST rails-html-sanitizer-1.4.1.gem 17408 BLAKE2B 4d503bad7a84aefe3bfbb1121eebe768ecf388f502e9ee58f2daf9d1a497ecfea2ad29e7bdd7c2b06e6914355b8eeaf2eeb730aadbceadebdd5a342b9fdc0969 SHA512 c778189fd3fdbdca4a586938d0f22b600f499a174d4d0e34567f0a2a92b8095a2c6c544e47cca3bd7d1f8ae09916898c200d4462de2d31f6bb8eb2c920ab69b4 +DIST rails-html-sanitizer-1.4.2.gem 16896 BLAKE2B 97f09d43ad99c13c07c34c0f5c47e3b34983b94773923cf7d131d1115d818ede619fc0ef268c5523524c53178afde2c9ee2652617add6b4efc282d190591be80 SHA512 9f0872f1000c758918f66a889322d3393ec678604eb3b01fc21bbb861189ec04fcf05f5c9487bd5eeb63ce6d99a80064718c82bfce2daf25c07754979a2ed747 diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild new file mode 100644 index 00000000000..144833b644b --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize HTML fragments in Rails applications" +HOMEPAGE="https://github.com/rafaelfranca/rails-html-sanitizer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/loofah-2.3:0" + +ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )" + +all_ruby_prepare() { + # Avoid tests that depend on nokogiri patches to libxml2. + sed -i -e '/\(name_action\|attr\)_in_a_tag_in_safe_list_sanitizer/askip "libxml2"' test/sanitizer_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +}