aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/rails.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 0db866cf75..1670edfff3 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -392,6 +392,28 @@ API.")
(home-page "http://www.rubyonrails.org")
(license license:expat)))
+(define-public ruby-discard
+ (package
+ (name "ruby-discard")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "discard" version))
+ (sha256
+ (base32
+ "1vyxhy7yz6l6kkys65kd7b5lj79ajvh495qqhvzn60wlz2dpap7r"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-activerecord" ,ruby-activerecord)))
+ (synopsis
+ "Allows marking ActiveRecord objects as discarded, and provides scopes for filtering.")
+ (description
+ "Allows marking ActiveRecord objects as discarded, and provides scopes for filtering.")
+ (home-page
+ "https://github.com/jhawthorn/discard")
+ (license license:expat)))
+
(define-public ruby-railties
(package
(name "ruby-railties")