summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2022-06-30 06:43:13 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2022-06-30 06:51:34 -0400
commit7cd6ac428af72ad93384ee34cbe6facf672fecb4 (patch)
tree118373711b77513375b917eaf3a63c53707e341c /gnu/packages/ruby.scm
parenteb10b8841fa14a742f563311c86ce755e2219b9b (diff)
gnu: Add ruby-interception.
* gnu/packages/ruby.scm (ruby-interception): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm18
1 files changed, 18 insertions, 0 deletions
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)))