[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
50/66: gnu: Add ruby-rails-dom-testing.
From: |
guix-commits |
Subject: |
50/66: gnu: Add ruby-rails-dom-testing. |
Date: |
Thu, 14 Feb 2019 16:38:39 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 24412de48d06ab6ae6122082601e95d9f8bd9f5e
Author: Christopher Baines <address@hidden>
Date: Mon Jan 28 16:00:13 2019 +0000
gnu: Add ruby-rails-dom-testing.
* gnu/packages/rails.scm (ruby-rails-dom-testing): New variable.
---
gnu/packages/rails.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index c0c6e5a..7e0e3dd 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -20,6 +20,7 @@
(define-module (gnu packages rails)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (gnu packages ruby)
#:use-module (guix build-system ruby))
@@ -169,3 +170,30 @@ you need similar functionality in non Rails apps consider
using Loofah
directly.")
(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 git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rails/rails-dom-testing.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0zrg6x1w3wjgklbhcphjmggl11jx5s8cl21qjqij7wknm412i5wl"))))
+ (build-system ruby-build-system)
+ (native-inputs
+ `(("bundler" ,bundler)))
+ (propagated-inputs
+ `(("ruby-activesupport" ,ruby-activesupport)
+ ("ruby-nokogiri" ,ruby-nokogiri)))
+ (synopsis "Compare HTML DOMs and assert certain elements exists")
+ (description
+ "This gem can compare HTML and assert certain elements exists. This is
+useful when writing tests.")
+ (home-page "https://github.com/rails/rails-dom-testing")
+ (license license:expat)))
- 31/66: gnu: ruby-public-suffix: Enable tests., (continued)
- 31/66: gnu: ruby-public-suffix: Enable tests., guix-commits, 2019/02/14
- 32/66: gnu: Add ruby-idn-ruby., guix-commits, 2019/02/14
- 24/66: gnu: Add ruby-parser., guix-commits, 2019/02/14
- 16/66: gnu: Add ruby-racc., guix-commits, 2019/02/14
- 21/66: gnu: Add ruby-bacon-colored-output., guix-commits, 2019/02/14
- 23/66: gnu: Add ruby-cliver., guix-commits, 2019/02/14
- 19/66: gnu: Add ruby-webmock., guix-commits, 2019/02/14
- 29/66: gnu: ruby-minitest: Update to 5.11.3., guix-commits, 2019/02/14
- 26/66: gnu: Add ruby-jaro-winkler., guix-commits, 2019/02/14
- 27/66: gnu: Add ruby-rubocop., guix-commits, 2019/02/14
- 50/66: gnu: Add ruby-rails-dom-testing.,
guix-commits <=
- 58/66: gnu: Add ruby-globalid., guix-commits, 2019/02/14
- 48/66: gnu: Add ruby-loofah., guix-commits, 2019/02/14
- 40/66: gnu: Add ruby-activerecord., guix-commits, 2019/02/14
- 49/66: gnu: Add ruby-rails-html-sanitizer., guix-commits, 2019/02/14
- 36/66: gnu: Add ruby-bump., guix-commits, 2019/02/14
- 65/66: gnu: Add ruby-activestorage., guix-commits, 2019/02/14
- 54/66: gnu: Add ruby-websocket-extensions., guix-commits, 2019/02/14
- 47/66: gnu: Add ruby-crass., guix-commits, 2019/02/14
- 64/66: gnu: Add ruby-marcel., guix-commits, 2019/02/14
- 34/66: gnu: Add ruby_version., guix-commits, 2019/02/14