diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 0f2f746579e69..c2937591c80b0 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,2 +1,3 @@ DIST sanitize-2.1.0.gem 20992 BLAKE2B 726cca43e1c9bebb4e750acec43dd6f6a3a17659e1390718dafcce3f1813a8756d9f34320b8c27c52a054009f40639e2e933718577ab4c5620bd4b754742d188 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 DIST sanitize-4.5.0.tar.gz 1347295 BLAKE2B f49f061c4213d62d01561fd0b5f9a3d0a955bb949e0667dd8ed64cfaff8daf77b1b9b7d089b3aadaea3a5045e5f18f334d3cc1cb6dbb48cc9a564a200517df09 SHA512 2be26bf42c83d7a181a57a9cb1cf63a2287866147590094d7ae4153c017ed997f2caf5a3cf4bfdd23c36706d416375267d4798bfb30d1d293572365cd8959226 +DIST sanitize-4.6.0.tar.gz 1347335 BLAKE2B 09b420c47c267729939b5eb927c746d86f2db99f7c569236b6a06a0a7e98b85f6a745e1e70ba7862f850cd7c051b5507556be83677a1912c6fae720f4d839792 SHA512 46bd3e825538d97227c9f4addd51aa673cc36992d30d97ed900c90764078b4b3eb0a7bb3802ec8e377af10e58f0f618c56ccda6ff6ad382eec2e200e526b169c diff --git a/dev-ruby/sanitize/sanitize-4.6.0.ebuild b/dev-ruby/sanitize/sanitize-4.6.0.ebuild new file mode 100644 index 0000000000000..58f0b67febe8a --- /dev/null +++ b/dev-ruby/sanitize/sanitize-4.6.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +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="4" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.4.4 + >=dev-ruby/nokogumbo-1.4.1 =dev-ruby/nokogumbo-1.4*" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +}