From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oPhlAdiXGGQQbgEASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 18:28:56 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YDhrAdiXGGRwXQEA9RJhRA (envelope-from ) for ; Mon, 20 Mar 2023 18:28:56 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id D1C2E367B2 for ; Mon, 20 Mar 2023 18:28:55 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=anDAmQ5S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679333335; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Cb9GHTyaqxRoU1fAysYqN+OFag/uD/cfXrwVq4gF8PM=; b=kUdofD3FPdtmSIOjrH1zvAJxyKnvUwWjBMTie61wPgzgGGDjbWW5BfC9qZrLuHu8nmXb7z EmUP9SpQvl7DievmX/cXy61nzuQeLCIVwuwLi1MoHmcxcOlRfDPf77novmw4gTPMl9lOAf +ayNU9NXPzWh0jPWJZg59/KPfCQTRQBxPGVxN0qW4vOY3FfEBC4+y1ptINgDqdn32Yvmin 8GO+GRwfDv+lakhBZc/VPcbTal9CvS7INBDLLE9psAFj4Oa42blcAm9Dwo8cr/2YE9UYnl HqBKCoeFMzbWKSZFo5SowQEwC8n1FAdf6QcvcG+2odcQWC7lGi7T7C7qdk7qrA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=anDAmQ5S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679333335; a=rsa-sha256; cv=none; b=YMMKdbMPIhAbpFyh4sPWD22EiiQkR+hI91Vcc6vtXps193rwnYlpqPYlbzBSxY6K24/6ec Qzv7jWUGGnJA3S4hU9yG8Un54zgdLFfaqTz8+mz0ZGCA3i26Q/4whmRfqwJ1LvTDodIzVk jPVrbTLRPP2mcdqn4dpdc2GVJUUomvrR8ICe/er9otKcZzz+X/RH6O1GNeP1j7Oc/4pqzK 3DSDAOgxJtN9JZ8GPV8k0p2EWP7j072KBXLt+15ZLa552AOdExjJzI1uI6/JUsbdvaZHV1 1ecvTLSIhTvB1WjquwqceZt5XmhxImxLqD9N0cCVnMGZZ26eaXRWfxQm5rA+oQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJHS-0004qM-4r; Mon, 20 Mar 2023 13:26:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peJHK-0004kf-MH for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:38 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peJHJ-0005Zm-At for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:38 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJHJ-00047M-6Z for guix-patches@gnu.org; Mon, 20 Mar 2023 13:26:37 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 192/223] gnu: ruby-shoulda-matchers: Honor #:tests?. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:26:37 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62196 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62196@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 62196-submit@debbugs.gnu.org id=B62196.167933316115144 (code B ref 62196); Mon, 20 Mar 2023 17:26:37 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:26:01 +0000 Received: from localhost ([127.0.0.1]:56215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJGj-0003w3-BS for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:26:01 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:42860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJG3-0003jc-Fm for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:25:19 -0400 Received: by mail-qt1-f181.google.com with SMTP id r16so13966157qtx.9 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333119; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Cb9GHTyaqxRoU1fAysYqN+OFag/uD/cfXrwVq4gF8PM=; b=anDAmQ5Szz8WAITzyKhjbC98mUJRx4+N/AtwPuk8ZjcwRNcMdOokEFGcP8CP/2BZZC vqC+qKP0+L2CArgt75fMlHytkXYNR07H0rf+FZxwEqg0dNWKrEWpOYKyc1ftTaNFHf/b aNsFOPa+nUT6SfX+2+XJMAYvqVGpVGzOsirirYcoREE4WzGr5McG4XmOdzxWNhtZOoJy 4EW7a66HTXZWZHrJwPjZLgqp580HjSIAtW3i3RCiPj6mNILMNsdivZmJdrHXnjxDW1YL hF641hECICAuPbfUhV99b0ShGsJhWgI/uBq5+bpU9jsM8GIzDzDlX+j8lhVpTMdfGMQ6 yO5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333119; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Cb9GHTyaqxRoU1fAysYqN+OFag/uD/cfXrwVq4gF8PM=; b=dB00gNdF7JP6LnEbKsQxIDPd4T6HUb97XN2g21iJRdavECd542Fd+ZWLM4yK5k2RHB MUXG4z3xiezkYREDaKz43KkG958xfKAATB9sinPqfoeMU9GSMeDJmdSziaghIj76Qk5J kLDShzht+u8Cwizu7AyzpWdaO4l8KYuM/FF9IlHwon5dhPQMChFCnjV8PKLQpR/mA1Ch wFaT2TkVC90WXtlJB9pIAiwGaInbDCrZfC/6SL3skGkPHPXPrfnzKJZykD7g09Cy286N cVuVMGK5hbWzuKlZZUcqk8STnaJdHfFGYlmM93yo4UKAQYBMPObVr3yX2lyAVmgoVgLr BCYQ== X-Gm-Message-State: AO0yUKUwDfCjlz516rpxhQNXYFuRXYPV9ECS34kJYQIMguMskH4jPetG xP6YdlyjczVXDovLAO5RLMM+QQHmeG4= X-Google-Smtp-Source: AK7set8vI4BGGdwOZ+XmBZ9OmTLPtLiwNw3UpfM4gyZ48q5cr6v9tsnkJWsdtUujmt1t+3cbSHNM7Q== X-Received: by 2002:ac8:574d:0:b0:3d1:1b8e:62f2 with SMTP id 13-20020ac8574d000000b003d11b8e62f2mr27915401qtx.31.1679333118967; Mon, 20 Mar 2023 10:25:18 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-46.b2b2c.ca. [72.10.128.46]) by smtp.gmail.com with ESMTPSA id i7-20020a378607000000b007422eee8058sm7769352qkd.125.2023.03.20.10.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:25:18 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:23:18 -0400 Message-Id: <20230320172349.12752-91-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230320172349.12752-1-maxim.cournoyer@gmail.com> References: <20230320172349.12752-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: D1C2E367B2 X-Spam-Score: -2.16 X-Migadu-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: vWyarep+s8qR * gnu/packages/ruby.scm (ruby-shoulda-matchers) [arguments]: Honor #:tests? in check phase. --- gnu/packages/ruby.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index bd24f6e7e1..ceec6fe291 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -10121,10 +10121,11 @@ (define-public ruby-shoulda-matchers `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - ;; Do not run tests to avoid circular dependence with rails. Instead - ;; just import the library to test. - (invoke "ruby" "-Ilib" "-r" "shoulda-matchers")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Do not run tests to avoid circular dependence with rails. Instead + ;; just import the library to test. + (invoke "ruby" "-Ilib" "-r" "shoulda-matchers"))))))) (propagated-inputs (list ruby-activesupport)) (synopsis "Collection of testing matchers extracted from Shoulda") -- 2.39.1