summaryrefslogtreecommitdiff
path: root/dev-ruby/rails-html-sanitizer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-21 11:40:40 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-21 11:40:40 +0000
commitbae478b64a6bc9eca66b65bcfa318fc21e7f34bb (patch)
treef713006fd9c119e5dbb3bdafe7d695d2644da94c /dev-ruby/rails-html-sanitizer
parent374561aeaff53ce5a2836af934749923b4ea3763 (diff)
gentoo auto-resync : 21:01:2023 - 11:40:40
Diffstat (limited to 'dev-ruby/rails-html-sanitizer')
-rw-r--r--dev-ruby/rails-html-sanitizer/Manifest2
-rw-r--r--dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/rails-html-sanitizer/Manifest b/dev-ruby/rails-html-sanitizer/Manifest
index 3c9d9328def0..e75bb2a9a8ed 100644
--- a/dev-ruby/rails-html-sanitizer/Manifest
+++ b/dev-ruby/rails-html-sanitizer/Manifest
@@ -1,3 +1,5 @@
DIST rails-html-sanitizer-1.4.4.gem 18432 BLAKE2B c6966ae526142219040e98a5bd02190672050dc9831194ecd570498b75bfb168e734fe3f4d9ffa5814d1c5b94f73820e5900e805a199651c9b37645acff0237c SHA512 9a6671334967078f744296ca273a8b44c0071d04c841fe626333bbb62c252b6688b5559079a47cda540f06bd35c924ede8d9ef092c775dfab55e2673137fc05b
+DIST rails-html-sanitizer-1.5.0.gem 19456 BLAKE2B 7f8b0270d9006b975fed28941139e176af4738954bd56e7b34dbc4f778521d770ff0c2c92cb365d1a671fc69d1da79f4d3bd4d90e37913c61084139ba7ff9893 SHA512 533a203d34b0f77b70258fc1b610caf1d4910da48224b136774d094ee8fa74b5cd9f3b1719118334489a41d743b97592539935b05b07770cd745e03634422214
EBUILD rails-html-sanitizer-1.4.4.ebuild 849 BLAKE2B 85a0428a2aaf0b871754e3169db8b5e4468223ef1273bd3f110e44e826cf7a90cd44608bcf0e846922893806da6f83dc23ea46782c1b77344d9732d8bfbd043d SHA512 e85a2473782a91ac9169832c256ced4ef0d004ad63cdd634b86945e1d2a35b416a255cd2450b95360297426935614b6fc3ec3fdaf041c5c153da3b00f850920c
+EBUILD rails-html-sanitizer-1.5.0.ebuild 853 BLAKE2B fe618cfd8c5048eeefeb55fcddc9db49423ba0e06bd5e12a05ee72ac807ea245295722c208b2bd63a41d1c0425299c4101528125432ec9d9ee7efaf98ed9c4c7 SHA512 751d83ea37dcf8986847a129ca25f6cdeaf3695654d8d401286697f15295279d5c1d7de81c1856ef65eb61680d016a4b044551b5160036a4e10a263b3397a5bc
MISC metadata.xml 360 BLAKE2B e7d08120d5b72f9cf58b105b3ee904c54d8c45917ad7ca640c309e133b9fcc19476e60e247a66ddf317e7fd83dfaecad4dd17206f40fed73c5d01b7556f4e07b SHA512 31bcb326d30a4b9af02e12dcbf06d44c6e8ea7cd358aa2eb2443b640dff6fd9067e9d80c9e9f08320bac2195bae9bda2afb8ac6d8752940b8a2104ec4515daa2
diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild
new file mode 100644
index 000000000000..598d5a84bed4
--- /dev/null
+++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 ~riscv ~sparc ~x86 ~amd64-linux"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/loofah-2.19.1: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
+}