From e360a8895816748a726a1dcaf5db10388326ba41 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 5 Feb 2018 11:54:38 +0100 Subject: gnu: Add ruby-rails-dom-testing. --- gnu/packages/rails.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 1fbae39694..dbe2513e2f 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -329,3 +329,32 @@ API.") (home-page "https://github.com/rails/sprockets-rails") (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))) -- cgit v1.2.3