summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-08-11 08:52:48 +0200
committerHans de Graaff <graaff@gentoo.org>2015-08-11 08:53:07 +0200
commit6b634cfd3e15c06a5b08ce23d5f760b18385adf5 (patch)
tree2c7aee3fca386e3e3ca11156f62c5521d4d48933 /dev-ruby/memoize
parentdev-ruby/jeweler: add missing test dependency on dev-ruby/hoe (diff)
downloadgentoo-6b634cfd3e15c06a5b08ce23d5f760b18385adf5.tar.gz
gentoo-6b634cfd3e15c06a5b08ce23d5f760b18385adf5.tar.bz2
gentoo-6b634cfd3e15c06a5b08ce23d5f760b18385adf5.zip
dev-ruby/memoize: fix deprecated use of Config for ruby22 compatibility
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-ruby/memoize')
-rw-r--r--dev-ruby/memoize/memoize-1.3.1-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/memoize/memoize-1.3.1-r1.ebuild b/dev-ruby/memoize/memoize-1.3.1-r1.ebuild
index c66785108260..b3f7c7412bad 100644
--- a/dev-ruby/memoize/memoize-1.3.1-r1.ebuild
+++ b/dev-ruby/memoize/memoize-1.3.1-r1.ebuild
@@ -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
+}