Diff mocha-1.11.2 with a mocha-1.12.0

/usr/portage/dev-ruby/mocha/mocha-1.12.0.ebuild 2021-03-20 11:09:00.000000000 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
5
USE_RUBY="ruby25 ruby26 ruby27 ruby30"
6 6

  
7 7
RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance"
8 8

  
......
10 10

  
11 11
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
12 12

  
13
RUBY_FAKEGEM_GEMSPEC="mocha.gemspec"
14

  
13 15
inherit ruby-fakegem
14 16

  
15 17
DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock"
16 18
HOMEPAGE="https://mocha.jamesmead.org/"
19
SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17 20

  
18 21
LICENSE="MIT"
19 22
SLOT="1.0"
......
25 28

  
26 29
all_ruby_prepare() {
27 30
	sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
31

  
32
	sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
28 33
}
29 34

  
30 35
each_ruby_test() {
Thank you!