summaryrefslogtreecommitdiff
path: root/dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch')
-rw-r--r--dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch b/dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch
new file mode 100644
index 000000000000..62bd028eedf7
--- /dev/null
+++ b/dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch
@@ -0,0 +1,20 @@
+https://github.com/rack/rack-cache/commit/8b22b6e532ed21ba30fdfbc62907f58db052e767
+
+From 8b22b6e532ed21ba30fdfbc62907f58db052e767 Mon Sep 17 00:00:00 2001
+From: Peter Goldstein <peter.m.goldstein@gmail.com>
+Date: Mon, 2 Jan 2023 06:32:20 -0500
+Subject: [PATCH] Adds Ruby 3.2 to the CI matrix (#12)
+
+* Update mocha require for modern version of mocha
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -7,7 +7,7 @@
+
+ require 'maxitest/global_must'
+ require 'maxitest/autorun'
+-require 'mocha/setup'
++require 'mocha/minitest'
+
+ # Set the MEMCACHED environment variable as follows to enable testing
+ # of the MemCached meta and entity stores.
+