From patchwork Sun Sep 12 03:05:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 32802 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E32827BBE4; Sun, 12 Sep 2021 10:32:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CF21727BBE1 for ; Sun, 12 Sep 2021 10:32:06 +0100 (BST) Received: from localhost ([::1]:41500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPLqH-0002lh-Or for patchwork@mira.cbaines.net; Sun, 12 Sep 2021 05:32:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPFov-0002wX-8t for guix-patches@gnu.org; Sat, 11 Sep 2021 23:06:18 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPFot-0000Gc-Sj for guix-patches@gnu.org; Sat, 11 Sep 2021 23:06:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPFot-0005hA-OT for guix-patches@gnu.org; Sat, 11 Sep 2021 23:06:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50537] [PATCH 26/27] gnu: Add ruby-interception. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Sep 2021 03:06:15 +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.163141597121810 (code B ref 50537); Sun, 12 Sep 2021 03:06:15 +0000 Received: (at 50537) by debbugs.gnu.org; 12 Sep 2021 03:06:11 +0000 Received: from localhost ([127.0.0.1]:41799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPFoo-0005fZ-Os for submit@debbugs.gnu.org; Sat, 11 Sep 2021 23:06:11 -0400 Received: from singpolyma.net ([192.99.233.116]:43745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPFob-0005Yg-S8 for 50537@debbugs.gnu.org; Sat, 11 Sep 2021 23:06:00 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id 113E1486168F; 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=eJzIwyMVu6M02YWOHuGshLVVmQIavVTdux7pwNwEc6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MZ455bOAD69cw+igUWEibmy/Q30DVArvB+TgthCXN7tH/oDkx4FK5kwu2fcMPIa3v gfKo7AzisODSK1uTSGtiSYYXkoe0YDbiYeL7xD3EBJjGmHgj/WpcFJwlDKgAnftRnl 8m/wWpgBO6Do2r8UeF9iBrfKslEyCcE7XEwqeLG8= From: Stephen Paul Weber Date: Sat, 11 Sep 2021 22:05:31 -0500 Message-Id: <20210912030532.7439-26-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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-interception): New variable. --- gnu/packages/ruby.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f20b2d4409..2a13e139e8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13179,3 +13179,26 @@ Sentry error logger") HTTPS server, a proxy server, and a virtual-host server.") (home-page "https://github.com/ruby/webrick") (license license:bsd-2))) + +(define-public ruby-interception + (package + (name "ruby-interception") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "interception" version)) + (sha256 + (base32 + "01vrkn28psdx1ysh5js3hn17nfp1nvvv46wc1pwqsakm6vb1hf55")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-rspec" ,ruby-rspec))) + (synopsis + "Provides a cross-platform ability to intercept all exceptions") + (description + "This package provides a cross-platform ability to intercept all +exceptions as they are raised.") + (home-page + "https://github.com/ConradIrwin/interception") + (license license:expat)))