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.
This commit is contained in:
parent
bee67d1831
commit
87688ff374
|
@ -173,6 +173,35 @@ an almost zero-configuration persistence layer for applications.")
|
||||||
(home-page "https://rubyonrails.org")
|
(home-page "https://rubyonrails.org")
|
||||||
(license license:expat)))
|
(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
|
(define-public ruby-rails-html-sanitizer
|
||||||
(package
|
(package
|
||||||
(name "ruby-rails-html-sanitizer")
|
(name "ruby-rails-html-sanitizer")
|
||||||
|
|
|
@ -447,7 +447,7 @@ notebook).")
|
||||||
;; RSpec is the dominant testing library for Ruby projects. Even RSpec's
|
;; RSpec is the dominant testing library for Ruby projects. Even RSpec's
|
||||||
;; dependencies use RSpec for their test suites! To avoid these circular
|
;; dependencies use RSpec for their test suites! To avoid these circular
|
||||||
;; dependencies, we disable tests for all of the RSpec-related packages.
|
;; dependencies, we disable tests for all of the RSpec-related packages.
|
||||||
(define ruby-rspec-support
|
(define-public ruby-rspec-support
|
||||||
(package
|
(package
|
||||||
(name "ruby-rspec-support")
|
(name "ruby-rspec-support")
|
||||||
(version "3.8.0")
|
(version "3.8.0")
|
||||||
|
|
Loading…
Reference in New Issue