summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-03-11 05:58:31 +0000
committerHans de Graaff <graaff@gentoo.org>2015-03-11 05:58:31 +0000
commit72ac8f1d2d229e8e1bce58e4b0d3fe0caf725018 (patch)
tree50d5c3b201c2d6c06e285cce633911eb3daaec9c /dev-ruby/rails-html-sanitizer
parentfixing CVE-2015-0259 (diff)
downloadgentoo-2-72ac8f1d2d229e8e1bce58e4b0d3fe0caf725018.tar.gz
gentoo-2-72ac8f1d2d229e8e1bce58e4b0d3fe0caf725018.tar.bz2
gentoo-2-72ac8f1d2d229e8e1bce58e4b0d3fe0caf725018.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rails-html-sanitizer')
-rw-r--r--dev-ruby/rails-html-sanitizer/ChangeLog8
-rw-r--r--dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.2.ebuild31
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-ruby/rails-html-sanitizer/ChangeLog b/dev-ruby/rails-html-sanitizer/ChangeLog
index 7e46e1cd1c69..b61ebf13f1a8 100644
--- a/dev-ruby/rails-html-sanitizer/ChangeLog
+++ b/dev-ruby/rails-html-sanitizer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rails-html-sanitizer
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-html-sanitizer/ChangeLog,v 1.4 2015/01/08 20:50:49 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-html-sanitizer/ChangeLog,v 1.5 2015/03/11 05:58:31 graaff Exp $
+
+*rails-html-sanitizer-1.0.2 (11 Mar 2015)
+
+ 11 Mar 2015; Hans de Graaff <graaff@gentoo.org>
+ +rails-html-sanitizer-1.0.2.ebuild:
+ Version bump.
08 Jan 2015; Markus Meier <maekke@gentoo.org>
rails-html-sanitizer-1.0.1.ebuild:
diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.2.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.2.ebuild
new file mode 100644
index 000000000000..105fc3883854
--- /dev/null
+++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.0.2.ebuild,v 1.1 2015/03/11 05:58:31 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+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 ~arm ~ppc ~ppc64"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/loofah:0"
+
+all_ruby_prepare() {
+ # Avoid broken test already fixed in upstream master.
+ #sed -i -e '/test_should_allow_anchors/askip "gentoo"' test/sanitizer_test.rb || die
+ :
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
+}