summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/state_machine')
-rw-r--r--dev-ruby/state_machine/Manifest1
-rw-r--r--dev-ruby/state_machine/metadata.xml5
-rw-r--r--dev-ruby/state_machine/state_machine-1.2.0.ebuild29
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/state_machine/Manifest b/dev-ruby/state_machine/Manifest
new file mode 100644
index 000000000000..77bf48ed3826
--- /dev/null
+++ b/dev-ruby/state_machine/Manifest
@@ -0,0 +1 @@
+DIST state_machine-1.2.0.gem 604160 SHA256 80fcddc91976baec8713c37c28b5bc0655f5f2e0a1412a1a4a3aac41082cc2ed SHA512 aa26d9cc99b0e873f9b146acddaa53f0332cff403463a5079cab5e00902db7b60e47957fc8b4c7ebc62861894460613a0b075b13548544392432ee564936567f WHIRLPOOL 2e798ab6a0f6eb28fef4d77306fcbccb13f0c5d3f62d6b9689cd5dac1dbfba45b9be3dcc60653772d868074f061714c0e980add5869f9ecd0aeb27eb8b3a6885
diff --git a/dev-ruby/state_machine/metadata.xml b/dev-ruby/state_machine/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/state_machine/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/state_machine/state_machine-1.2.0.ebuild b/dev-ruby/state_machine/state_machine-1.2.0.ebuild
new file mode 100644
index 000000000000..b9801661fe8a
--- /dev/null
+++ b/dev-ruby/state_machine/state_machine-1.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_TEST="test"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Adds support for creating state machines for attributes on any Ruby class"
+HOMEPAGE="http://www.pluginaweek.org"
+IUSE="test"
+SLOT="0"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/{unit,functional}/*_test.rb
+}