summaryrefslogtreecommitdiff
path: root/dev-ruby/moneta
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-26 18:20:24 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-10-31 13:00:11 +0100
commitba9e52e8e8cca88f1133533c1c9a7484a009a93b (patch)
tree72731c86d0b742bc4fceada61afeb449ff688c69 /dev-ruby/moneta
parentf329429be76f6262fe681e117cdb657503d964f2 (diff)
downloadgentoo-ba9e52e8e8cca88f1133533c1c9a7484a009a93b.tar.gz
gentoo-ba9e52e8e8cca88f1133533c1c9a7484a009a93b.tar.xz
dev-ruby/moneta: remove unused patch.
Closes: https://github.com/gentoo/gentoo/pull/2417 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-ruby/moneta')
-rw-r--r--dev-ruby/moneta/files/moneta-0.6.0-optional-memcache.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-ruby/moneta/files/moneta-0.6.0-optional-memcache.patch b/dev-ruby/moneta/files/moneta-0.6.0-optional-memcache.patch
deleted file mode 100644
index 382d073ff99..00000000000
--- a/dev-ruby/moneta/files/moneta-0.6.0-optional-memcache.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-commit f24e8010e01449648f1d1e28cb325bde21bfdaed
-Author: Hans de Graaff <hans@degraaff.org>
-Date: Thu Jul 8 20:37:26 2010 +0200
-
- Fix case where both memcached and memcache are not present.
-
- The second require attempt will also generate a LoadError if memcache is not
- present, so this requires an extra block to rescue that error.
-
-diff --git a/lib/moneta/memcache.rb b/lib/moneta/memcache.rb
-index 5cf8c02..4e2f9d6 100644
---- a/lib/moneta/memcache.rb
-+++ b/lib/moneta/memcache.rb
-@@ -2,10 +2,12 @@ begin
- require "memcached"
- MemCache = Memcached
- rescue LoadError
-- require "memcache"
--rescue
-- puts "You need either the `memcached` or `memcache-client` gem to use the Memcache moneta store"
-- exit
-+ begin
-+ require "memcache"
-+ rescue LoadError
-+ puts "You need either the `memcached` or `memcache-client` gem to use the Memcache moneta store"
-+ exit
-+ end
- end
-
- module Moneta