[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/17: gnu: Add ruby-spectroscope.
From: |
guix-commits |
Subject: |
14/17: gnu: Add ruby-spectroscope. |
Date: |
Sat, 11 Jul 2020 14:30:39 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 908df675a84cfdf80901a1cb25bd83cf576a1a99
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jul 10 23:49:32 2020 -0400
gnu: Add ruby-spectroscope.
* gnu/packages/ruby.scm (ruby-spectroscope): New variable.
---
gnu/packages/ruby.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 84b3b72..dd651dd 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7187,6 +7187,49 @@ definitions.")
("ruby-redcloth" ,ruby-redcloth)
("ruby-asciidoc" ,ruby-asciidoctor)))))
+(define-public ruby-spectroscope
+ (package
+ (name "ruby-spectroscope")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "spectroscope" version))
+ (sha256
+ (base32
+ "0iiid9sm110qhx0i1zkds710cvsnmhd308wbqa7slkzbq2akrb3y"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (with-output-to-file ".test"
+ (lambda _
+ (display
+ "\
+require 'ae/should'
+require 'rspec'
+
+include RSpec
+
+Test.run :default do |run|
+ run.files << 'spec/*_spec.rb'
+end")))
+ (invoke "ruby" "-Ilib" "-rrubytest" ".test"))))))
+ (native-inputs
+ `(("ruby-ae" ,ruby-ae)
+ ("ruby-rspec" ,ruby-rspec)))
+ (propagated-inputs
+ `(("ruby-rubytest" ,ruby-rubytest)))
+ (synopsis "Behavior-Driven Development (BDD) framework built on RubyTest")
+ (description "Spectroscope is a Behavior-Driven Development (BDD)
+framework built on RubyTest, designed to emulate RSpec in most respects. It
+is assertion framework independent so any number of assertion systems can be
+used, such as Assay or AE.")
+ (home-page "http://rubyworks.github.com/spectroscope/")
+ (license license:bsd-2)))
+
(define-public ruby-clap
(package
(name "ruby-clap")
- 05/17: gnu: ruby-sinatra: Update to 2.0.8.1., (continued)
- 05/17: gnu: ruby-sinatra: Update to 2.0.8.1., guix-commits, 2020/07/11
- 03/17: gnu: Add ruby-yard-with-tests., guix-commits, 2020/07/11
- 07/17: gnu: Add ruby-pandoc-ruby., guix-commits, 2020/07/11
- 12/17: gnu: ruby-asciidoctor: Re-indent., guix-commits, 2020/07/11
- 13/17: gnu: ruby-asciidoctor: Update to 2.0.10., guix-commits, 2020/07/11
- 09/17: gnu: ruby-tilt: Add pandoc, sassc support., guix-commits, 2020/07/11
- 16/17: gnu: Add ruby-yard-tomdoc., guix-commits, 2020/07/11
- 10/17: gnu: ruby-temple: Update to 0.8.2., guix-commits, 2020/07/11
- 15/17: gnu: Add ruby-tomparse., guix-commits, 2020/07/11
- 17/17: gnu: ruby-ruby-prof: Disable a flaky test., guix-commits, 2020/07/11
- 14/17: gnu: Add ruby-spectroscope.,
guix-commits <=