commit: d7cfa1cd24f69617825a8f6cb9f6198cc81b7e1b Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Sat Nov 9 18:36:54 2019 +0000 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> CommitDate: Sun Nov 10 03:59:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7cfa1cd
dev-ruby/rspec-core: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> .../rspec-core/files/rspec-core-3.8.0-ruby26.patch | 23 ---------------------- 1 file changed, 23 deletions(-) diff --git a/dev-ruby/rspec-core/files/rspec-core-3.8.0-ruby26.patch b/dev-ruby/rspec-core/files/rspec-core-3.8.0-ruby26.patch deleted file mode 100644 index 7c4bc9f7e50..00000000000 --- a/dev-ruby/rspec-core/files/rspec-core-3.8.0-ruby26.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 5e6171ee7dadd520991153009eb01d7be3c82e7e Mon Sep 17 00:00:00 2001 -From: "Keiji, Yoshimi" <[email protected]> -Date: Mon, 10 Dec 2018 22:40:16 +0900 -Subject: [PATCH] Fixed warnings: lib/rspec/core/metadata.rb:172: warning: - Object#=~ is deprecated; it always returns nil (#2582) - ---- - lib/rspec/core/metadata.rb | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/rspec/core/metadata.rb b/lib/rspec/core/metadata.rb -index 094a7a3b3..c68627ac5 100644 ---- a/lib/rspec/core/metadata.rb -+++ b/lib/rspec/core/metadata.rb -@@ -169,7 +169,7 @@ def file_path_and_line_number_from(backtrace) - end - - def description_separator(parent_part, child_part) -- if parent_part.is_a?(Module) && child_part =~ /^(#|::|\.)/ -+ if parent_part.is_a?(Module) && /^(?:#|::|\.)/.match(child_part.to_s) - ''.freeze - else - ' '.freeze
