dev-ruby/rails-html-sanitizer: add 1.0.4
authorHans de Graaff <graaff@gentoo.org>
Sat, 24 Mar 2018 06:34:26 +0000 (07:34 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 24 Mar 2018 08:35:12 +0000 (09:35 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-ruby/rails-html-sanitizer/Manifest
dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.4.ebuild [new file with mode: 0644]

index 7e7891d45e1dc3b05847562c06eb8af54edceb44..15ca70dfa5f088809a4fb40d49b187e7f6e1bf0c 100644 (file)
@@ -1 +1,2 @@
 DIST rails-html-sanitizer-1.0.3.gem 15360 BLAKE2B 375cce24dd83b56baa0fc11bc0bed9e843ac694548d103eab2daccb30fd38be19d91782c87530d47dec7ad4683a6e2433152644580a804f8ca42e0b5887f7469 SHA512 84d91014384773389492d7cde0afcdc7e3324320970788d88861f89395d847d2599d1e645177f5301109194805ffb684f591e287f3e4280117738416655d934a
+DIST rails-html-sanitizer-1.0.4.gem 15872 BLAKE2B 4408a494f75bedb4e4286e053536abf62f094873d9e0a8c21f9de6f42b2826f187c9919fb86c84380c1eff241c62f077d48cc21912c93fe85ac2b6039089a84d SHA512 f608f2b642869606fc2c3986298a8ae3e36c676a7eda5e3cce419700961bfed011f8d4a2dcb59e5d32a41f556815ca5f214ec19f8940ce71d1217ba84686b8e1
diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.4.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.4.ebuild
new file mode 100644 (file)
index 0000000..f94e8c5
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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 ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/loofah-2.2.2:0"
+
+ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )"
+
+each_ruby_test() {
+       ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}