summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-17 08:14:26 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-17 08:14:43 +0100
commit7b32ce061a175e291a8e3f09b465dadca6f32207 (patch)
treeeb756df45946056088ebd439a1b7d12e2edf0a0a /dev-ruby/sanitize
parentdev-ruby/nokogiri: add 1.6.7.1 (diff)
downloadgentoo-7b32ce061a175e291a8e3f09b465dadca6f32207.tar.gz
gentoo-7b32ce061a175e291a8e3f09b465dadca6f32207.tar.bz2
gentoo-7b32ce061a175e291a8e3f09b465dadca6f32207.zip
dev-ruby/sanitize: add 4.0.1
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r--dev-ruby/sanitize/Manifest1
-rw-r--r--dev-ruby/sanitize/sanitize-4.0.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest
index bd023253b8fc..5b21de9b63a0 100644
--- a/dev-ruby/sanitize/Manifest
+++ b/dev-ruby/sanitize/Manifest
@@ -1,3 +1,4 @@
DIST sanitize-2.0.6.tar.gz 78888 SHA256 ecc0526f231d68dd88efd957145f79841f446ba36124e28c91ef275cc88cafb8 SHA512 e086d6963e8506d498266f0642dd70a9151f38760c1cac69cbba08cde9af291989be48770062dfe824be87f59b21f3d8c125579d9db227f8edea0f93a0993893 WHIRLPOOL 6742f6c06f7b1fc750c76c440e6ed6fd0ee384c6b8afefe0cf064d7c4283e4d877ae9347d7fd392cb1cbfc44798d93d0915059d77aacabf3938ec54ed4491d8e
DIST sanitize-2.1.0.gem 20992 SHA256 c3be075f5b38a1b02404be5778b181e50fba9ab253bac851cb217d9a71375b77 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 WHIRLPOOL f07c3f7c3550b1e47e3189838a8c1c30c7cd856f237dde167516f25e86520fffe7357f87efd4f2fcf03230650fa55da0ff2d7870746c72c9897318f6dc935cc6
DIST sanitize-4.0.0.tar.gz 1345735 SHA256 d97e4016a187a7c3e509d837e917b879494185bfd39c67aded0f188a86b4bd14 SHA512 9505bdcc47f7042e4bb406622a86d82e723a5fc3913444708cd32a77203837a57e331611f6f5e284ddba1fe516d70a3c7949026e794bebbf019a0e8b698dfc80 WHIRLPOOL f2db11647797f5056d7ed975a4db26d725eca396feecb60d762a4cdde9a3d4bfc7a680b4dbb32087aedf8eb43bfe1769211c4b744c0793c6c9bad206fc2d0748
+DIST sanitize-4.0.1.tar.gz 1345784 SHA256 b867c3a85ad6d7c9537e2b99e227f7821625f0afa00c41a0428a55ef0ebaf582 SHA512 57ba4455e5bdb25e305d41aa371a5faa555bf01ed8cb41b159ca4bf07fbaa77451c75d27121aa151e2965a9d41323a288a05dc4b28fa5bf3b43c35f71997d0ea WHIRLPOOL af49a5dad74df73806f858f13ec95c502bdce668280a68dcc951c107dafc1e3fccbe9223bfbb160e66d010c060cc396870b37fa35d0daf4fd8e47cbe90894cb5
diff --git a/dev-ruby/sanitize/sanitize-4.0.1.ebuild b/dev-ruby/sanitize/sanitize-4.0.1.ebuild
new file mode 100644
index 000000000000..fb10464c608a
--- /dev/null
+++ b/dev-ruby/sanitize/sanitize-4.0.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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
+}