From 7cd6ac428af72ad93384ee34cbe6facf672fecb4 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Thu, 30 Jun 2022 06:43:13 -0400 Subject: [PATCH] gnu: Add ruby-interception. * gnu/packages/ruby.scm (ruby-interception): New variable. Signed-off-by: Raghav Gururajan --- gnu/packages/ruby.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7917492cec..3bf4cf1edc 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12827,3 +12827,21 @@ interface for the Sentry error logger.") (description "WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.") (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 (list ruby-rspec)) + (home-page "https://github.com/ConradIrwin/interception") + (synopsis "Listen to raise in Ruby") + (description "Interception provides a cross-platform ability to intercept all +exceptions as they are raised.") + (license license:expat)))