2017-01-01 16:56:31 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2014-11-10 13:31:18 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2014-11-10 13:31:18 +03:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2017-02-13 11:20:39 +03:00
|
|
|
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
2014-11-10 13:31:18 +03:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="README"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
2016-03-07 19:13:31 +03:00
|
|
|
DESCRIPTION="Base class with almost all of the methods from Object and Kernel being removed"
|
2014-11-10 13:31:18 +03:00
|
|
|
HOMEPAGE="https://rubygems.org/gems/blankslate"
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2017-01-03 18:38:26 +03:00
|
|
|
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
2014-11-10 13:31:18 +03:00
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
# Avoid test failing with rspec 2.x.
|
|
|
|
sed -i -e '/cleanliness/,/^ end/ s:^:#:' spec/blankslate_spec.rb || die
|
|
|
|
}
|