Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-04-15 05:20:35 +00:00
7 changed files with 9 additions and 76 deletions

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/gjtorikian/html-pipeline/archive/v${PV}.tar.gz -> ${
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
IUSE=""
IUSE="test"
ruby_add_rdepend "
>=dev-ruby/activesupport-2:*
@@ -25,7 +25,7 @@ ruby_add_rdepend "
"
ruby_add_bdepend "test? (
dev-ruby/commonmarker
=dev-ruby/commonmarker-0*
dev-ruby/rinku
dev-ruby/redcloth
dev-ruby/rouge

View File

@@ -1,3 +1 @@
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
DIST rails-html-sanitizer-1.6.2.gem 25600 BLAKE2B b8789f005e58773f041a73b26beb1d479010c64a26ec7050ab86aad622a146540eac03748623aedf42a4af6b78f0086bcfd02dc7cd3ab317b2a3ff9a5f31e86f SHA512 5e2e477a91ea496522fd881610028c539ca6cb280399e912703bbd86387bef72392dfa27fe9cf30e1a64831e57ee0f221ca2ac05cadda14255884bbb516996ec

View File

@@ -1,32 +0,0 @@
# 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=""
ruby_add_rdepend ">=dev-ruby/loofah-2.21:0 >=dev-ruby/nokogiri-1.14: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
}

View File

@@ -1,32 +0,0 @@
# 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
}

View File

@@ -3,7 +3,7 @@
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -18,7 +18,6 @@ HOMEPAGE="https://github.com/shishi/rash_alt"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
ruby_add_rdepend ">=dev-ruby/hashie-3.4:*"

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRAINSTALL="locales"
inherit ruby-fakegem