Subject: [PATCH 13/41] gnu: Add ruby-diffy.

From: Julien Lepiller <[email-masked]>
Date: Sun, 26 Aug 2018 18:41:35 +0200

* gnu/packages/ruby.scm (ruby-diffy): 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 64fe68f8f..1ddaaef61 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5291,3 +5291,26 @@ about the changes.")
     (description "ruby-terminfo provides terminfo binding for Ruby.")
     (home-page "http://ruby-terminfo.rubyforge.org")
     (license license:bsd-3)))
+
+(define-public ruby-diffy
+  (package
+    (name "ruby-diffy")
+    (version "3.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "diffy" version))
+        (sha256
+          (base32
+            "119imrkn01agwhx5raxhknsi331y5i4yda7r0ws0an6905ximzjg"))))
+    (build-system ruby-build-system)
+    (arguments
+     ;; No tests
+     `(#:tests? #f))
+    (native-inputs
+     `(("ruby-rspec" ,ruby-rspec)))
+    (synopsis "Convenient diffing in ruby")
+    (description "Diffy provides a convenient way to generate a diff from two
+strings or files.")
+    (home-page "http://github.com/samg/diffy")
+    (license license:expat)))
-- 
2.18.0