diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:54:38 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-31 09:46:23 +0000 |
commit | 486f72f279887a3cdde83a131735013f6d9a9ee3 (patch) | |
tree | 583a6e9efe5abe30a5439fe032e3088b7a98dd2e /gnu/packages/rails.scm | |
parent | 2bb6cb2ba8728f7a41e9a7037a7523b2837910f3 (diff) | |
download | gnu-guix-486f72f279887a3cdde83a131735013f6d9a9ee3.tar gnu-guix-486f72f279887a3cdde83a131735013f6d9a9ee3.tar.gz |
gnu: Add ruby-rails-dom-testing.
Diffstat (limited to 'gnu/packages/rails.scm')
-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))) |