summaryrefslogtreecommitdiff
path: root/dev-ruby/sanitize
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-07 10:16:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-07 10:16:30 +0100
commit2c9fab2a3468abc6862cb3115c9ff63aa266bf57 (patch)
treeb9249df06dd8229d7f334cb2e536d5c56ac81d3c /dev-ruby/sanitize
parent0735b7c70f35339a20b45aee2a0a0ad80d118550 (diff)
gentoo auto-resync : 07:07:2023 - 10:16:30
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r--dev-ruby/sanitize/Manifest2
-rw-r--r--dev-ruby/sanitize/sanitize-6.0.2.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest
index 2a35f98dbc77..bc1ae50f8f07 100644
--- a/dev-ruby/sanitize/Manifest
+++ b/dev-ruby/sanitize/Manifest
@@ -1,3 +1,5 @@
DIST sanitize-6.0.1.tar.gz 1352433 BLAKE2B 91614d3a5fe4f3d3741a8cc8d88a98281a43424132e82932600f4140ab857a0a3492d49ed92205a7e9a05f9eb0b350c30b3b0342790baab0b5f37ab6b83357a2 SHA512 2b43b11e211ddc10c1362bb5c78abd2c8844f3daf6dbb44ddd0731af596a44f7d5883e4f45e3d29c9b8f545794b8a1f98301565818982dadd8c86ece7fd9b2a1
+DIST sanitize-6.0.2.tar.gz 1352670 BLAKE2B b9d2066f4f7ec168f6265953a855e9e5cccf5d045b294178656649e1f38b2b39a4bd605ebd802a430c85eb6eaf5166baf0821d0d5a99229415338726fb7dc393 SHA512 e4cd6b2058d937db1e37bc5f09e471c96bb4eaac4a67ecf634150b5aac1c87f02e627c8a60cac482f0bebef460ec3ef01d02b45b9524025269a7dbc51d20ca8e
EBUILD sanitize-6.0.1.ebuild 762 BLAKE2B 8dd6159223e6942409b1c361a0386646bac66892550616beda33a067d5c07d7cad3ce19d66b8a94f1f2da8ab2f0d666aaebd0d04250003b201c0f8dc5dae34d7 SHA512 988023d10ccf24a175a59d355aafca7094b64b24853b6949fb033ec5d113551fba94d6bd17260bf626f1b3a57d907a4fabc90a4dc854e39e59fd386408e16524
+EBUILD sanitize-6.0.2.ebuild 755 BLAKE2B b143655251d14cb4b78f530e02de7877bc99c7834a09ec465fcf42d642353d2a58bdd6b90f2ab2fa986e38876a6bfb90dcd6cc9ff5e9d811add5ad26bc1bf6e2 SHA512 d6c4607ec8c74e3f340b0ebb3924e2bd2a19e2f7ea3ef917b23aa8f5b3c44150379c1e1bb53d6b65627bc1232d247bf7b9b3a42c5ccb8b27357a931d24f45473
MISC metadata.xml 342 BLAKE2B 56d8c8d3467a7284a795dbe938e591403576e6e3d4fe675471e2b24b6c2f8520bec8cdea8d7e3182fe6fe8187a6dfb2889befbf5272f76b8f87acc4942a36e9d SHA512 e4257fbb18383d391d7962b3869db25b6875721cad7100dd42f7e10ac72254720c67e1028c13e4fe7517fda833677c1a542e12ff81ba0632b878b851a974c00c
diff --git a/dev-ruby/sanitize/sanitize-6.0.2.ebuild b/dev-ruby/sanitize/sanitize-6.0.2.ebuild
new file mode 100644
index 000000000000..742dfc9c5f97
--- /dev/null
+++ b/dev-ruby/sanitize/sanitize-6.0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer"
+HOMEPAGE="https://github.com/rgrove/sanitize"
+SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0*
+ >=dev-ruby/nokogiri-1.12.0
+"
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test_sanitize.rb || die
+}