mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ruby/rack-cache: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
committed by
Hans de Graaff
parent
bda97622d0
commit
2ae8be9080
@@ -1,20 +0,0 @@
|
||||
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.
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
https://github.com/rack/rack-cache/pull/14
|
||||
|
||||
From db34e2b5ab7b16051f7158b2896e56502992c33e Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Mon, 3 Apr 2023 03:31:31 +0100
|
||||
Subject: [PATCH] test: Add explicit 'timeout' require
|
||||
|
||||
Fixes the following when running tests individually:
|
||||
```
|
||||
1) Error:
|
||||
Rack::Cache::Context#test_0078_passes if there was a metastore exception:
|
||||
NameError: uninitialized constant Timeout
|
||||
test/context_test.rb:981:in `block (3 levels) in <top (required)>'
|
||||
test/test_helper.rb:170:in `request'
|
||||
test/test_helper.rb:177:in `get'
|
||||
test/context_test.rb:980:in `block (2 levels) in <top (required)>'
|
||||
```
|
||||
|
||||
Signed-off-by: Sam James <sam@gentoo.org>
|
||||
--- a/test/context_test.rb
|
||||
+++ b/test/context_test.rb
|
||||
@@ -1,4 +1,5 @@
|
||||
require_relative 'test_helper'
|
||||
+require 'timeout'
|
||||
require 'rack/cache/context'
|
||||
|
||||
describe Rack::Cache::Context do
|
||||
|
||||
Reference in New Issue
Block a user