From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 4FHpLwmmGGSVnAAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 19:29:29 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oP3cLwmmGGREPAEAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 19:29:29 +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 894AA370DE for ; Mon, 20 Mar 2023 19:29:29 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EQZA0cSh; 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=1679336969; 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=IgMpb4g6pJPOr3q8GVe8cJH4psrPJsvXDC4PX21CVis=; b=FfMOkw0jit6xSHOgYf7KjypBeoXeKeDLkdJFpPl3Iu631AHlakUYlyj0Up4qGthtI3IXYm TuS8+5Ok4FJgtmcxbn88/CiLJPbvHt8CiOxIdtQT6CB8oxIH7/XW2+YR2iraqHncTBeMn/ zaG0laeJ1Tkqn9Q5hQpq0U72YPgoWOGoargOQZt+SjHSeYuo5so9RuyM5jg/mBHhfG9XMk WS2prNGh3j9sf6DmaOn3aUKSAUg1JIQgIwlj+uL5f0/N7aLpQ6ygk2m62M7WIyIxvL9wEV ihzwHIKfgyM7Efe3+JLda3yNTq0nxyZvx/TuK2Fr7K/Z8xglN71tWtDwhz+bsw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EQZA0cSh; 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=1679336969; a=rsa-sha256; cv=none; b=qTdOLyTgeadyJGo5dAH2aUF9vYZj8t8eXDMHwJKGawTZaTacJMhy7RwIYQA6qTTq3cg534 semfCs0dlDCHGq83am5NWCKyJqXRQxcERcetuXrybc1ierIWBa5HdZ07h25TEWzzN7jJHy YYHIPwjfvqNhaF0vjF+1L0gm8DVEK6lhF5qqhwaITx8088WNQfc6rzG+oOV/zYXtP+Zfef D9Uw8avibO/hILYjAbJwHEF8EkzecU5mryCJXuseDcHgAjB7oJgbYfcmyMkwZ5bKUz2eM6 tFcUtIwTEGCY/Od15IIChoh6mZjAnJWjsDitmNqU6qavrREO1+b0J7dxjWOghA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJL4-00011S-VT; Mon, 20 Mar 2023 13:30:32 -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 1peJKg-0000us-1e for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:08 -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 1peJKd-00078T-AT for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJKc-0004jN-Qh for guix-patches@gnu.org; Mon, 20 Mar 2023 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62196] [PATCH 125/223] gnu: Add ruby-rspec-debug. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:30:02 +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.167933337217965 (code B ref 62196); Mon, 20 Mar 2023 17:30:02 +0000 Received: (at 62196) by debbugs.gnu.org; 20 Mar 2023 17:29:32 +0000 Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJK7-0004fh-Ud for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:32 -0400 Received: from mail-pj1-f41.google.com ([209.85.216.41]:39593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJK5-0004fR-Bs for 62196@debbugs.gnu.org; Mon, 20 Mar 2023 13:29:29 -0400 Received: by mail-pj1-f41.google.com with SMTP id mp3-20020a17090b190300b0023fcc8ce113so2355549pjb.4 for <62196@debbugs.gnu.org>; Mon, 20 Mar 2023 10:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679333363; 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=IgMpb4g6pJPOr3q8GVe8cJH4psrPJsvXDC4PX21CVis=; b=EQZA0cSh/J6yiiJlZxmVQF9iY2fMqRboy/wwtb7bZ99RznitBsAL1dYeNVvrey1zOn lDKjLnKsa3QeC1mBXmfaXCbt/Sn5Rbcvh4I03qzxRc9jnkn1bn//zrB1RH3q87PQqqLv b62imOS0t/1OkA0URXRbkZ2gZSZnF73/TeEyGafcvklHAyl57vT3AYfVrtN4L5q1sOyW n0txBy4vTyFH8B8nWI0ZD193eXsJYdJSWh0g91hqMv4sWdh2TD2caMASOnQjKUp1cYDO 4bPHXxY2SHPG8DP4eOavfXl1q077qd49d8/Hqte8pLSgLtEmUf04iHVgzoNshurQ2qUx GFnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333363; 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=IgMpb4g6pJPOr3q8GVe8cJH4psrPJsvXDC4PX21CVis=; b=CCePS7DFvTnv2FNjj5+QEnPcmO98oiqIQzdH9rVVrUWm8GhHRxjaigxXMOHrue6l2g w79pc92oxyRryKB3NEgveJcX4fuxhzsg8D7dsNzrZEU/ivneWd56Ku58landv4t8cDiy 130p0Ere3gD1RNvi1AS10goWo+3/PxgTZ/jA8Pc/3b6GbkOQ+t9Zddu6nlwql8BAa9Ya 9Lt1zszCCZMTd1T0xLChl2ONYGaw84UP7LcoKRnN2aMyK2i0HVk3isCxipPhBWtn5Zgo kC9qqkggyyqlEJDQN8tgUI5BpgFJe9dIgaKDpelIykmvGzdkd8tDL3ZCpU6Mhkv3dAZr v+bA== X-Gm-Message-State: AO0yUKVYKwxZcG6fJOcgdVl+ZwUem1GO4KXXzAQJ4aGEV2NZTPesD4dF BvSte/puZBEXIyx3HpfQNnHmK/Ia/6I= X-Google-Smtp-Source: AK7set9b0xAhbNFgQarLL5r9MZK/e4VgaTOhRHV4kYzjeJi3JfOAVyZBmK1zbSEree9oBoZgVDhZbA== X-Received: by 2002:a05:6214:1d23:b0:5a2:2a1d:bfb1 with SMTP id f3-20020a0562141d2300b005a22a1dbfb1mr54896694qvd.28.1679333058740; Mon, 20 Mar 2023 10:24: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.24.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 10:24:18 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 20 Mar 2023 13:22:11 -0400 Message-Id: <20230320172349.12752-24-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: 894AA370DE X-Spam-Score: -2.45 X-Migadu-Spam-Score: -2.45 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: pz4cPyn4eKT4 * gnu/packages/ruby.scm (ruby-rspec-debug): New variable. --- gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1d89ff9006..fbf7c2d637 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -993,6 +993,37 @@ (define-public ruby-rspec-2 (propagated-inputs (list ruby-rspec-core-2 ruby-rspec-mocks-2 ruby-rspec-expectations-2)))) +(define-public ruby-rspec-debug + (package + (name "ruby-rspec-debug") + (version "0.2.0") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/ko1/rspec-debug") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "125p1zxjznkk765nyqvkksw8x1nbm7xk4sjc1wza2fyp5hvyiddn")))) + (build-system ruby-build-system) + (arguments + (list #:test-target "spec" + #:phases #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'relax-dependencies + (lambda _ + (substitute* "Gemfile" + (("~>") ">="))))))) + (native-inputs (list ruby-rspec)) + (propagated-inputs (list ruby-debug)) + (synopsis "Invoke Ruby debugger when spec fails") + (description "This package can be used to have the execution stopped for +inspection in the Ruby debugger upon encountering a failure. To use it, set +the @env{RSPEC_DEBUG} environment variable to @samp{true} then invoke the +@command{rspec} command as usual.") + (home-page "https://github.com/ko1/rspec-debug") + (license license:expat))) + ;; Bundler is yet another source of circular dependencies, so we must disable ;; its test suite as well. (define-public bundler -- 2.39.1