Diff redis-3.3.5 with a redis-4.0.1

/usr/portage/dev-ruby/redis/redis-4.0.1.ebuild 2018-04-10 23:38:00.000000000 +0300
6 6
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
7 7

  
8 8
MY_P="redis-rb-${PV}"
9
RUBY_FAKEGEM_RECIPE_TEST="rake"
10
RUBY_FAKEGEM_TASK_TEST="run"
9

  
11 10
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
12 11
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
13 12

  
......
18 17
SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
19 18

  
20 19
LICENSE="MIT"
21
SLOT="0"
20
SLOT="4"
22 21
KEYWORDS="~amd64"
23 22
IUSE="doc test"
24 23

  
......
26 25

  
27 26
RUBY_S="${MY_P}"
28 27

  
28
PATCHES=( "${FILESDIR}/${P}-local-redis-server.patch" )
29

  
29 30
all_ruby_prepare() {
30 31
	# call me impatient, but this way we don't need netcat
31 32
	sed -i \
32 33
		-e '/test_subscribe_past_a_timeout/,+18d' \
33 34
		test/publish_subscribe_test.rb || die "sed failed"
35
}
34 36

  
35
	# Version 3.0.6 downloads and compiles redis-server to test against.
36
	# This patch reverts it to the way 3.0.5 does it, using the local server.
37
	# https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2
38
	epatch "${FILESDIR}/${PN}-3.2.1-local-redis-server.patch"
37
each_ruby_test() {
38
	RUBY=${RUBY} emake test
39 39
}
Thank you!