summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-09-10 07:48:01 +0200
committerHans de Graaff <graaff@gentoo.org>2016-09-10 07:48:01 +0200
commite578c2d0c74f63e02abf43d86db046d6f0d27462 (patch)
treecbb00c8df5aa8f245c819a398eeba63b09c8ccc6
parentapp-emulation/qemu: apply fix for CVE-2016-7170, bug #593284 (diff)
downloadgentoo-e578c2d0c74f63e02abf43d86db046d6f0d27462.tar.gz
gentoo-e578c2d0c74f63e02abf43d86db046d6f0d27462.tar.bz2
gentoo-e578c2d0c74f63e02abf43d86db046d6f0d27462.zip
dev-ruby/actionpack-xml_parser: add 2.0.0
Package-Manager: portage-2.2.28
-rw-r--r--dev-ruby/actionpack-xml_parser/Manifest1
-rw-r--r--dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/actionpack-xml_parser/Manifest b/dev-ruby/actionpack-xml_parser/Manifest
index 40b3d0c5049..bdd5879b251 100644
--- a/dev-ruby/actionpack-xml_parser/Manifest
+++ b/dev-ruby/actionpack-xml_parser/Manifest
@@ -1 +1,2 @@
DIST actionpack-xml_parser-1.0.2.tar.gz 6623 SHA256 6bed4e15ba11ed4bb33eacae77f15b78a78a0b81a6196203377208d5785178a2 SHA512 6fb9323b2632059d6c253083dfe6a09c413d4a5f7d622457402db95529ccad6d28b0471b01f4555c4e448b65183e6d07ef639de994c47c4858d2bfe5318aaa0b WHIRLPOOL 48f3fccf9207840ac1459026ea094f4c72af68e4b7904a21c9db40f735f9f9ccef5be84bc47e7687ee424ebcde17d3553db95eb2cf88cfe05a0fafbbe46b2e55
+DIST actionpack-xml_parser-2.0.0.tar.gz 6499 SHA256 f2aafb0c9e935ce6b7b25a8c947d46fef4dd091e145b6f93cb8a7d7d4d638a5d SHA512 fb1a9c551a3ff6751e0b9e95b1c667ef5dd6da50b4e5cf4d010468f76d022cb437b20a02e8ee795da757de98e3e45e8b71b9f37f2c0dc16f1a338f8d335d712f WHIRLPOOL 6e30ed00ab7a579bef827ed52276a8fb98a0f95b90dc8408e72b98d910d08645ec4c06e42a54e4b5b3c077501847176638112c0b8694919b5ca72138e4ae7435
diff --git a/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.0.ebuild b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.0.ebuild
new file mode 100644
index 00000000000..a6e53595629
--- /dev/null
+++ b/dev-ruby/actionpack-xml_parser/actionpack-xml_parser-2.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="XML parameters parser for Action Pack (removed from core in Rails 4.0)"
+HOMEPAGE="https://github.com/rails/actionpack-xml_parser"
+SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="2"
+IUSE=""
+
+ruby_add_rdepend "=dev-ruby/actionpack-5*:* =dev-ruby/railties-5*:*"
+
+all_ruby_prepare() {
+ sed -i -e "/bundler/d" Rakefile test/helper.rb || die
+ sed -i -e '1igem "actionpack", "~>5.0"' test/helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e "Dir['test/*_test.rb'].each{|f| require f}"
+}