Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mrueg:master commit in: dev-ruby/state_machines-activemodel/
Date: Sat, 26 Mar 2016 17:10:47
Message-Id: 1459012227.92aa3ca77250818c23900c98af7e8d3b9af95517.mrueg@gentoo
1 commit: 92aa3ca77250818c23900c98af7e8d3b9af95517
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 17:10:27 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 17:10:27 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=92aa3ca7
7
8 dev-ruby/state_machines-activemodel: Initial version
9
10 Package-Manager: portage-2.2.28
11
12 dev-ruby/state_machines-activemodel/Manifest | 1 +
13 dev-ruby/state_machines-activemodel/metadata.xml | 8 ++++++
14 .../state_machines-activemodel-0.3.0.ebuild | 31 ++++++++++++++++++++++
15 3 files changed, 40 insertions(+)
16
17 diff --git a/dev-ruby/state_machines-activemodel/Manifest b/dev-ruby/state_machines-activemodel/Manifest
18 new file mode 100644
19 index 0000000..ffad22b
20 --- /dev/null
21 +++ b/dev-ruby/state_machines-activemodel/Manifest
22 @@ -0,0 +1 @@
23 +DIST state_machines-activemodel-0.3.0.gem 17408 SHA256 1e7cc1411d4a94d5fc95b3ddbdcc1d8ec0801b804173b8afba6e8b3d4a6550af SHA512 3c4fbbdc006e19807841621877b4a05593719eb2a0bb57e38ac9afb24d4062d9942ef0c9214e75380a05614bfaf19ae262e73ec0cda5dcc6720d56d293702081 WHIRLPOOL 4fcf40e4bc87cda920d81d1e399897c309d8a460b38c3322690c2887afa5d3773a266fe38e87863e766b65b1a9ff02a69b701d2b839cbf891901227b374b537b
24
25 diff --git a/dev-ruby/state_machines-activemodel/metadata.xml b/dev-ruby/state_machines-activemodel/metadata.xml
26 new file mode 100644
27 index 0000000..bfcb697
28 --- /dev/null
29 +++ b/dev-ruby/state_machines-activemodel/metadata.xml
30 @@ -0,0 +1,8 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer>
35 + <email>mrueg@g.o</email>
36 + <name>Manuel Rüger</name>
37 + </maintainer>
38 +</pkgmetadata>
39
40 diff --git a/dev-ruby/state_machines-activemodel/state_machines-activemodel-0.3.0.ebuild b/dev-ruby/state_machines-activemodel/state_machines-activemodel-0.3.0.ebuild
41 new file mode 100644
42 index 0000000..ed16ce4
43 --- /dev/null
44 +++ b/dev-ruby/state_machines-activemodel/state_machines-activemodel-0.3.0.ebuild
45 @@ -0,0 +1,31 @@
46 +# Copyright 1999-2016 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Id$
49 +
50 +EAPI=5
51 +
52 +USE_RUBY="ruby20 ruby21 ruby22"
53 +
54 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
55 +
56 +inherit ruby-fakegem
57 +
58 +DESCRIPTION="Adds support for creating state machines for attributes on ActiveModel"
59 +HOMEPAGE="https://github.com/state-machines/state_machines-activemodel https://rubygems.org/gems/state_machines-activemodel"
60 +
61 +LICENSE="MIT"
62 +SLOT="0"
63 +KEYWORDS="~amd64"
64 +IUSE=""
65 +
66 +ruby_add_rdepend ">=dev-ruby/activemodel-4.1
67 + <dev-ruby/activemodel-5
68 + >=dev-ruby/state_machines-0.4.0"
69 +ruby_add_bdepend "test? (
70 + >=dev-ruby/minitest-5.4
71 + <dev-ruby/minitest-6
72 + >=dev-ruby/rake-10 )"
73 +
74 +all_ruby_prepare() {
75 + sed -i -e "/[Rr]eporters/d" test/test_helper.rb || die
76 +}