Skip to content

Commit

Permalink
dev-ruby/activemodel-serializers-xml: add 1.0.2
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
graaff committed Aug 17, 2017
1 parent 9de91e5 commit 668d800
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/activemodel-serializers-xml/Manifest
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 668d800

Please sign in to comment.