diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:54:38 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-28 11:21:19 +0000 |
commit | 401ef91e92a12083e383e1d34438d85d63ecb582 (patch) | |
tree | 0d139f126f73a57e38f2fe313b7dbdb5a9425e56 /gnu/packages | |
parent | 8b932c1818799b37a952c8661b05aa9903f3f03d (diff) | |
download | guix-401ef91e92a12083e383e1d34438d85d63ecb582.tar guix-401ef91e92a12083e383e1d34438d85d63ecb582.tar.gz |
gnu: Add ruby-rails-dom-testing.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/rails.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 961742c007..78b55beaaf 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -165,3 +165,32 @@ API.") (home-page "https://github.com/rails/rails-html-sanitizer") (license license:expat))) + +(define-public ruby-rails-dom-testing + (package + (name "ruby-rails-dom-testing") + (version "2.0.2") + (source + (origin + (method url-fetch) + ;; The gem does not include a Rakefile, so we fetch the tarball from + ;; Github. + (uri (string-append "https://github.com/rails/rails-dom-testing/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bjc0mm4hc2xrq0066q7kbgzzmdn1vdnsv08xwy90vf2b6x70lxf")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs + `(("ruby-activesupport" ,ruby-activesupport) + ("ruby-nokogiri" ,ruby-nokogiri))) + (synopsis + " This gem can compare doms and assert certain elements exists in doms using Nokogiri. ") + (description + " This gem can compare doms and assert certain elements exists in doms using Nokogiri. ") + (home-page + "https://github.com/rails/rails-dom-testing") + (license license:expat))) |