dev-ruby/memoize: fix deprecated use of Config for ruby22 compatibility
authorHans de Graaff <graaff@gentoo.org>
Tue, 11 Aug 2015 06:52:48 +0000 (08:52 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 11 Aug 2015 06:53:07 +0000 (08:53 +0200)
Package-Manager: portage-2.2.20

dev-ruby/memoize/memoize-1.3.1-r1.ebuild

index c667851082601c2de84c1ea6a38d583f72bfa4e9..b3f7c7412bad7a584af790deab3c72db4d90c3f1 100644 (file)
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_EXTRADOC="README"
 
 inherit ruby-fakegem
 DESCRIPTION="A Ruby library that lets you memoize methods"
-HOMEPAGE="http://github.com/djberg96/memoize"
+HOMEPAGE="https://github.com/djberg96/memoize"
 
 LICENSE="Artistic-2"
 SLOT="0"
@@ -19,3 +19,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 ruby_add_bdepend "test? ( dev-ruby/test-unit:2 ) "
+
+all_ruby_prepare() {
+       sed -i -e 's/Config/RbConfig/' Rakefile || die
+}