summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-08-17 07:14:44 +0200
committerHans de Graaff <graaff@gentoo.org>2017-08-17 07:14:44 +0200
commit668d8003815bfed0d1989d078258c49218ef6b6b (patch)
tree8cdb3693a271721efbd43f8382a9d870316261e5 /dev-ruby/activemodel-serializers-xml
parentnet-dns/dnscrypt-proxy: remove proxied maintainer per their request (diff)
downloadgentoo-668d8003815bfed0d1989d078258c49218ef6b6b.tar.gz
gentoo-668d8003815bfed0d1989d078258c49218ef6b6b.tar.bz2
gentoo-668d8003815bfed0d1989d078258c49218ef6b6b.zip
dev-ruby/activemodel-serializers-xml: add 1.0.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/activemodel-serializers-xml')
-rw-r--r--dev-ruby/activemodel-serializers-xml/Manifest1
-rw-r--r--dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/activemodel-serializers-xml/Manifest b/dev-ruby/activemodel-serializers-xml/Manifest
index fff8eef0d4a0..488a780b7bf8 100644
--- a/dev-ruby/activemodel-serializers-xml/Manifest
+++ b/dev-ruby/activemodel-serializers-xml/Manifest
@@ -1 +1,2 @@
DIST activemodel-serializers-xml-1.0.1.tgz 23338 SHA256 b3af3ced66f80498112177653dad29425554c9a52fd3e95354b2308bc3f1c46f SHA512 cc6f5c80f577fbcc0b61866eea8e588c7930b09dbadf603442e3c6b661bbf7e5b6fb427ec15dfe8fbd6e8ea952e84332150cfc65fbe9a3c7fe7cbec98fe3acc1 WHIRLPOOL 7e77840cf2667bb357c4677aa9bc6dfee8c82e92f7a7df3ae5801b5fb83e5996fa9f18b50087b678d318b2f6444fb75284c1d329306c5c756154a322181bfcbe
+DIST activemodel-serializers-xml-1.0.2.tgz 23321 SHA256 8de567b44afb019186e32f5030e8e39f7b1562a9593a3fd79eea08168a701123 SHA512 888db4822f9ed4fd17ba93f2e03e4edc204bc14f62e3622949140a3497f56ad7cd7d49cd7f38fbf557098ceed9f2f1334093fd8493ccc82e56be15f6bf138af9 WHIRLPOOL 8ca3bb06c7282c00ed190af66542b20a150c9c47b2441a55898b5c453d1f8fcf9044f9eadb0ce79755ae599ed07e6e6134fd5d6d75cfc84cfdccc3b99baa9ecf
diff --git a/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild
new file mode 100644
index 000000000000..2d603f210bb2
--- /dev/null
+++ b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="XML serialization for your Active Model objects and Active Record models"
+HOMEPAGE="https://github.com/rails/activemodel-serializers-xml"
+SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ =dev-ruby/activesupport-5*:*
+ =dev-ruby/activemodel-5*:*
+ =dev-ruby/builder-3*:* >=dev-ruby/builder-3.1:*
+"
+
+ruby_add_bdepend "test? (
+ =dev-ruby/activerecord-5*:*
+ dev-ruby/sqlite3
+)"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}