Diff mocha-0.14.0 with a mocha-1.4.0

/usr/portage/dev-ruby/mocha/mocha-1.4.0.ebuild 2019-04-29 00:09:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
5
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
4
EAPI=6
5
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
6 6

  
7
RUBY_FAKEGEM_TASK_TEST="MOCHA_NO_DOCS=true test:units"
7
RUBY_FAKEGEM_TASK_TEST="test:units"
8 8

  
9 9
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
10 10
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
......
17 17
HOMEPAGE="http://gofreerange.com/mocha/docs/"
18 18

  
19 19
LICENSE="MIT"
20
SLOT="0.14"
21
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86"
20
SLOT="1.0"
21
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
22 22
IUSE=""
23 23

  
24 24
ruby_add_bdepend "
25 25
	test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )"
26 26

  
27
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
27
ruby_add_rdepend "=dev-ruby/metaclass-0.0*"
28 28

  
29 29
all_ruby_prepare() {
30 30
	sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
31
	sed -i -e '20irequire "mocha/setup"' test/test_helper.rb || die
31
}
32

  
33
each_ruby_test() {
34
	export MOCHA_NO_DOCS=true
35
	each_fakegem_test
32 36
}
Thank you!