From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE1901581EE for ; Sun, 30 Mar 2025 16:46:58 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AA6C034315A for ; Sun, 30 Mar 2025 16:46:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C86FF1104B1; Sun, 30 Mar 2025 16:46:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C32F51104B1 for ; Sun, 30 Mar 2025 16:46:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78AD6342FF5 for ; Sun, 30 Mar 2025 16:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D2471A3C for ; Sun, 30 Mar 2025 16:46:53 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1743353193.3fcfb7ecabab0f6f3a548689f8efc6eb7f8dba49.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-expectations/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild X-VCS-Directories: dev-ruby/rspec-expectations/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3fcfb7ecabab0f6f3a548689f8efc6eb7f8dba49 X-VCS-Branch: master Date: Sun, 30 Mar 2025 16:46:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 05a26341-253e-4bad-8f99-9b081bb38502 X-Archives-Hash: 085b0a45524e84ca7051c934541e77d3 commit: 3fcfb7ecabab0f6f3a548689f8efc6eb7f8dba49 Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 30 11:52:14 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 30 16:46:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcfb7ec dev-ruby/rspec-expectations: fix tests Avoid tests broken by newer diff-lcs. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild index da99fac8e53d..b0d38bc7f975 100644 --- a/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.13.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,4 +47,11 @@ all_ruby_prepare() { -e '/git ls/d' \ -e '/add_development_dependency/d' \ "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid specs failing with newer diff-lcs. Already fixed upstream. + rm -f spec/rspec/matchers/dsl_spec.rb \ + spec/rspec/matchers/built_in/{compound,have_attributes,include}_spec.rb || die + + sed -e '/simplecov/,/^end/ s:^:#:' \ + -i spec/spec_helper.rb || die }