From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3EA40158094 for ; Tue, 2 Aug 2022 05:35:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D615E09EA; Tue, 2 Aug 2022 05:35:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47B86E09EA for ; Tue, 2 Aug 2022 05:35:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AD6433BE42 for ; Tue, 2 Aug 2022 05:35:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA31C55B for ; Tue, 2 Aug 2022 05:35:35 +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: <1659418531.258c736c584ce2d90f114f5c18214a2357adf083.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday_middleware/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild X-VCS-Directories: dev-ruby/faraday_middleware/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 258c736c584ce2d90f114f5c18214a2357adf083 X-VCS-Branch: master Date: Tue, 2 Aug 2022 05:35:35 +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: 8bbd526f-d1f9-41d0-88a7-50dda76c9f59 X-Archives-Hash: a1781a918f5719c1ab96e3c8a40ccbd2 commit: 258c736c584ce2d90f114f5c18214a2357adf083 Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 2 05:35:21 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Aug 2 05:35:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258c736c dev-ruby/faraday_middleware: enable ruby30 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild index b08b6146db7d..ed5fc68e6050 100644 --- a/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild +++ b/dev-ruby/faraday_middleware/faraday_middleware-1.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -46,17 +46,21 @@ ruby_add_bdepend "test? ( all_ruby_prepare() { sed -i -e '/\(cane\|parallel\|rubocop\|simplecov\)/ s:^:#:' \ - -e '/rspec/ s/>=/~>/' \ -e "/addressable/ s/, '< 2.4'//" \ -e "/rack/ s/< 2/< 2.3/" \ -e "/rack-cache/ s/, '< 1.3'//" \ -e "/simple_oauth/ s/, '< 0.3'//" \ + -e "/safe_yaml/ s:^:#:" \ -e "/webmock/ s/2.3/3.0/" Gemfile || die # Avoid unneeded dependency on git sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die sed -i -e '1irequire "fileutils"' spec/spec_helper.rb || die + + # Avoid safe_yaml specs since they are broken with newer ruby versions + # and safe_yaml is not mandatory for using faraday_middleware. + rm -f spec/unit/parse_yaml_spec.rb || die } each_ruby_test() {