[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/12: gnu: Add ruby-rspec-rails.
From: |
guix-commits |
Subject: |
10/12: gnu: Add ruby-rspec-rails. |
Date: |
Sat, 23 Mar 2019 05:57:32 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 87688ff3749219a1ea928300f5797e5cf56712c1
Author: Christopher Baines <address@hidden>
Date: Sun Feb 17 17:23:20 2019 +0000
gnu: Add ruby-rspec-rails.
* gnu/packages/ruby.scm (ruby-rspec-support): Export this variable, so that
it's accessible from the (gnu packages rails) module.
* gnu/packages/rails.scm (ruby-rspec-rails): New variable.
---
gnu/packages/rails.scm | 29 +++++++++++++++++++++++++++++
gnu/packages/ruby.scm | 2 +-
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 9fc8c5d..e359b24 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -173,6 +173,35 @@ an almost zero-configuration persistence layer for
applications.")
(home-page "https://rubyonrails.org")
(license license:expat)))
+(define-public ruby-rspec-rails
+ (package
+ (name "ruby-rspec-rails")
+ (version "3.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rspec-rails" version))
+ (sha256
+ (base32
+ "1pf6n9l4sw1arlax1bdbm1znsvl8cgna2n6k6yk1bi8vz2n73ls1"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f)) ; No included tests
+ (propagated-inputs
+ `(("ruby-actionpack" ,ruby-actionpack)
+ ("ruby-activesupport" ,ruby-activesupport)
+ ("ruby-railties" ,ruby-railties)
+ ("ruby-rspec-core" ,ruby-rspec-core)
+ ("ruby-rspec-expectations" ,ruby-rspec-expectations)
+ ("ruby-rspec-mocks" ,ruby-rspec-mocks)
+ ("ruby-rspec-support" ,ruby-rspec-support)))
+ (synopsis "Use RSpec to test Ruby on Rails applications")
+ (description
+ "This package provides support for using RSpec to test Ruby on Rails
+applications, in pace of the default Minitest testing library.")
+ (home-page "https://github.com/rspec/rspec-rails")
+ (license license:expat)))
+
(define-public ruby-rails-html-sanitizer
(package
(name "ruby-rails-html-sanitizer")
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5920599..9567f48 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -447,7 +447,7 @@ notebook).")
;; RSpec is the dominant testing library for Ruby projects. Even RSpec's
;; dependencies use RSpec for their test suites! To avoid these circular
;; dependencies, we disable tests for all of the RSpec-related packages.
-(define ruby-rspec-support
+(define-public ruby-rspec-support
(package
(name "ruby-rspec-support")
(version "3.8.0")
- branch master updated (f2096f4 -> 0992429), guix-commits, 2019/03/23
- 10/12: gnu: Add ruby-rspec-rails.,
guix-commits <=
- 08/12: gnu: Add ruby-execjs., guix-commits, 2019/03/23
- 07/12: gnu: Add ruby-web-console., guix-commits, 2019/03/23
- 06/12: gnu: Add ruby-bindex., guix-commits, 2019/03/23
- 09/12: gnu: ruby: Update some RSpec packages., guix-commits, 2019/03/23
- 02/12: gnu: Add ruby-dep., guix-commits, 2019/03/23
- 12/12: gnu: Add ruby-rerun., guix-commits, 2019/03/23
- 11/12: gnu: Add ruby-autoprefixer-rails., guix-commits, 2019/03/23
- 05/12: gnu: ruby-listen: Enable running the tests., guix-commits, 2019/03/23
- 04/12: gnu: Remove ruby-listen-3.0., guix-commits, 2019/03/23
- 03/12: gnu: ruby-jekyll-watch: Update to 2.1.2., guix-commits, 2019/03/23