2019-01-20 19:51:09 +03:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2013-06-13 13:29:25 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2014-04-25 01:23:25 +04:00
|
|
|
EAPI=5
|
2019-01-20 19:51:09 +03:00
|
|
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
2013-06-13 13:29:25 +04:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|