From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IHN4JhjJPWFKRwEAgWs5BA (envelope-from ) for ; Sun, 12 Sep 2021 11:32:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CAASIhjJPWEjawAAbx9fmQ (envelope-from ) for ; Sun, 12 Sep 2021 09:32:08 +0000 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 aspmx1.migadu.com (Postfix) with ESMTPS id 567CF9EF4 for ; Sun, 12 Sep 2021 11:32:08 +0200 (CEST) Received: from localhost ([::1]:41476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPLqJ-0002kr-GI for larch@yhetil.org; Sun, 12 Sep 2021 05:32:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPFpf-0003Nq-4x for guix-patches@gnu.org; Sat, 11 Sep 2021 23:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPFpe-00010k-TN for guix-patches@gnu.org; Sat, 11 Sep 2021 23:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPFpe-0005j0-P5 for guix-patches@gnu.org; Sat, 11 Sep 2021 23:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50537] [PATCH 27/27] gnu: Add ruby-pry-rescue. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Sep 2021 03:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50537@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 50537-submit@debbugs.gnu.org id=B50537.163141599621958 (code B ref 50537); Sun, 12 Sep 2021 03:07:02 +0000 Received: (at 50537) by debbugs.gnu.org; 12 Sep 2021 03:06:36 +0000 Received: from localhost ([127.0.0.1]:41816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPFpE-0005i0-Gp for submit@debbugs.gnu.org; Sat, 11 Sep 2021 23:06:36 -0400 Received: from singpolyma.net ([192.99.233.116]:39993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPFob-0005Zh-UW for 50537@debbugs.gnu.org; Sat, 11 Sep 2021 23:06:00 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 301154861690; Sun, 12 Sep 2021 03:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1631415956; bh=SZ0CtdLhH3AVwOmGoioNArENi0eYkLDIJiHT1tt0S08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BXIi+nwDzPLmfongv2+k5m53x3lw8hZuZGnccaBuSUrnCdqrMyBONJ42W8EeNpC2C eXUq2X3aKSD23kQL9fKlI8TyaLaB8B1LbSfkuuEyWNgAh/5eDjCunBhZpxiWT3e7qK 8lFxXgovUj/VbTMuzyFq1OlVCXtLT2E0QtSkg1yw= From: Stephen Paul Weber Date: Sat, 11 Sep 2021 22:05:32 -0500 Message-Id: <20210912030532.7439-27-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210912030532.7439-1-singpolyma@singpolyma.net> References: <20210912030532.7439-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 12 Sep 2021 05:29:08 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631439128; 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=o8BCeijzhUplsA+MYykS2emTJ2GczJZSmXkx5wMn73Y=; b=TLiCsFMp+SZRO3S1igqb33uohyfbIm2R/KhZ3juC4roftJXfi9ZaRO4UkoT2o/sI0niCDQ noAPVEUMRtQwzayzILyu+Gq17KkZnq7wHYaE6seGfyAxnd5PHsbrL8UGlH989qVDmNFwM6 k2IPSFJa0Z+U6kXACYUuNVoU8Dgqi9bRk0P0kptC0V5MorcycBiGk9YGMFUir02RWAa4JX Z6Nm5Zsoq+Snc0kCWFgoapB3OriFzzHNQ0i6IzfNcHFzdq9HadjsDnrEKfnOO7n57K+e8i BizswDaZpH+N7RpNL4DcXNn6IPrZjvdOUFXzqCWbro3mAVkMzpsQDgJOcREq0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631439128; a=rsa-sha256; cv=none; b=aVmMdSfjEWOhH4tzl4mLPY6WwlPHDANvp0Nd04P04pBjkJmHbDZlWz59TpjosZvddf1djx gvTSKQH2dKLdkjhiWz+LnsIcdfQeUNIRHBQeY6O9SCGWGXNAXoZWUFQDlFZ1uXV6YReeDq FcHU1YySzdvxoBJqdYMJBs/DC6ugfkwJV1ZoAlREZMARPJzax7fpfXAkjHSePfMrKObVOG gJ/6H+BGg/n0L73mG6unnWUsk2VHJNXYFm+qxBcJA+PdmmdZg6fqXoHcoa0Lf1YEiwyskG p4rRr8NTnpylCKUXCM8HbmWOQ5Ailn6eOLFVUdVqVIxz2hEF7TRhleZwgKVWQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=BXIi+nwD; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=BXIi+nwD; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 567CF9EF4 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: geojalpzNsFW * gnu/packages/ruby.scm (ruby-pry-rescue): New variable. --- gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 2a13e139e8..bfbcd88272 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13202,3 +13202,38 @@ exceptions as they are raised.") (home-page "https://github.com/ConradIrwin/interception") (license license:expat))) + +(define-public ruby-pry-rescue + (package + (name "ruby-pry-rescue") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "pry-rescue" version)) + (sha256 + (base32 + "1wn72y8y3d3g0ng350ld92nyjln012432q2z2iy9lhwzjc4dwi65")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'nuke-bad-test + (lambda _ + (substitute* "spec/source_location_spec.rb" + (("time = Time.now") "skip")) + #t))))) + (propagated-inputs + `(("ruby-interception" ,ruby-interception) + ("ruby-pry" ,ruby-pry))) + (native-inputs + `(("ruby-rspec" ,ruby-rspec) + ("ruby-pry-stack-explorer" ,ruby-pry-stack-explorer))) + (synopsis + "Allows you to wrap code to open a pry session at any unhandled exceptions") + (description + "Allows you to wrap code in Pry::rescue{ } to open a pry session at any +unhandled exceptions") + (home-page + "https://github.com/ConradIrwin/pry-rescue") + (license license:expat))) -- 2.20.1