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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02E141581F3 for ; Tue, 3 Dec 2024 14:09:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CC07E0837; Tue, 3 Dec 2024 14:09:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0D57E0837 for ; Tue, 3 Dec 2024 14:09:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16EF9340C3C for ; Tue, 3 Dec 2024 14:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 793D113F5 for ; Tue, 3 Dec 2024 14:09:06 +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: <1733234928.7fe8d8acdc317f118414110b0195d2fcd8a84674.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.6.1.ebuild X-VCS-Directories: dev-ruby/rails-html-sanitizer/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7fe8d8acdc317f118414110b0195d2fcd8a84674 X-VCS-Branch: master Date: Tue, 3 Dec 2024 14:09:06 +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: c2121c73-c81b-42ce-8f91-76e433f582e7 X-Archives-Hash: d86f85451a54e4c5d44033345d6315fa commit: 7fe8d8acdc317f118414110b0195d2fcd8a84674 Author: Hans de Graaff gentoo org> AuthorDate: Tue Dec 3 14:08:48 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Dec 3 14:08:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe8d8ac dev-ruby/rails-html-sanitizer: add 1.6.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rails-html-sanitizer/Manifest | 1 + .../rails-html-sanitizer-1.6.1.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/rails-html-sanitizer/Manifest b/dev-ruby/rails-html-sanitizer/Manifest index cf8dcb67040e..3f5c33c61e67 100644 --- a/dev-ruby/rails-html-sanitizer/Manifest +++ b/dev-ruby/rails-html-sanitizer/Manifest @@ -1 +1,2 @@ DIST rails-html-sanitizer-1.6.0.gem 23552 BLAKE2B 7bc00cada4bb10a6f3b264a20f555b1e3e81a09d528339f20961ebbd5c958c23a7b14febf8a2e1c07d36e8d67aff30317d2ebc0f9cd009a1b519d24b18a0171b SHA512 265c093872b43794be02a8b1d2574be8270762b46c2b0d930159d3b41e06b897ed8b6edf3b219e0e71591fa5f7d38107ed8d332cebd3dfe4c37c6d06b7b5fa12 +DIST rails-html-sanitizer-1.6.1.gem 25600 BLAKE2B ef9ce472eec5e6fbcf52cd68b61ceb1bf30185400914e1edc831018f1acbeea0afb71915e1552d158cd076bd6f9742f9cd3a89da7df3b51ff63ee6137984a582 SHA512 97b7fb6fc2a420173ff4619e6b58df6d283df77f115d4ebd15e29ba0ab412734565e975bf27c0b46477615eeae3a17ba539f7ea60fa162cb4133acd55db292d5 diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.6.1.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.6.1.ebuild new file mode 100644 index 000000000000..20b685d1f8f0 --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.6.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize HTML fragments in Rails applications" +HOMEPAGE="https://github.com/rails/rails-html-sanitizer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/loofah-2.21:0 >=dev-ruby/nokogiri-1.16.8: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 +}