summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-11-09 19:37:11 +0100
committerAaron Bauman <bman@gentoo.org>2019-11-09 22:59:33 -0500
commitc9f62df10aa3d06e06a81b01d5ea2ac87519cce7 (patch)
tree400cbc71e23272e4e03354ab4a34884a245ac4c0
parentdev-ruby/rspec-core: remove unused patch(es) (diff)
downloadgentoo-c9f62df10aa3d06e06a81b01d5ea2ac87519cce7.tar.gz
gentoo-c9f62df10aa3d06e06a81b01d5ea2ac87519cce7.tar.bz2
gentoo-c9f62df10aa3d06e06a81b01d5ea2ac87519cce7.zip
dev-ruby/rspec-expectations: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Aaron Bauman <bman@gentoo.org>
-rw-r--r--dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch b/dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch
deleted file mode 100644
index feeddb0eff1b..000000000000
--- a/dev-ruby/rspec-expectations/files/rspec-expectations-3.7.0-ruby25.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5999ad46df4782a3136c4bad0c2353daede2cbbd Mon Sep 17 00:00:00 2001
-From: Myron Marston <myron.marston@gmail.com>
-Date: Sat, 30 Dec 2017 17:36:55 -0800
-Subject: [PATCH] Disable Ruby 2.5 feature to avoid test failures on 2.5.
-
----
- spec/rspec/expectations/failure_aggregator_spec.rb | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/spec/rspec/expectations/failure_aggregator_spec.rb b/spec/rspec/expectations/failure_aggregator_spec.rb
-index 6628aa75..40a1ae35 100644
---- a/spec/rspec/expectations/failure_aggregator_spec.rb
-+++ b/spec/rspec/expectations/failure_aggregator_spec.rb
-@@ -216,6 +216,19 @@ def expect_error_included_in_aggregated_failure(error)
- end
-
- context "when an expectation failure happens in another thread" do
-+ # On Ruby 2.5+, the new `report_on_exception` causes the errors in the threads
-+ # to print warnings, which our rspec-support test harness converts into a test
-+ # failure since we want to enforce warnings-free code. To prevent the warning,
-+ # we need to disable the setting here.
-+ if Thread.respond_to?(:report_on_exception)
-+ around do |example|
-+ orig = Thread.report_on_exception
-+ Thread.report_on_exception = false
-+ example.run
-+ Thread.report_on_exception = orig
-+ end
-+ end
-+
- it "includes the failure in the failures array if there are other failures" do
- expect {
- aggregate_failures do