[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 125/223] gnu: Add ruby-rspec-debug.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 125/223] gnu: Add ruby-rspec-debug. |
Date: |
Mon, 20 Mar 2023 13:22:11 -0400 |
* gnu/packages/ruby.scm (ruby-rspec-debug): New variable.
---
gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1d89ff9006..fbf7c2d637 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -993,6 +993,37 @@ (define-public ruby-rspec-2
(propagated-inputs
(list ruby-rspec-core-2 ruby-rspec-mocks-2 ruby-rspec-expectations-2))))
+(define-public ruby-rspec-debug
+ (package
+ (name "ruby-rspec-debug")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/ko1/rspec-debug")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "125p1zxjznkk765nyqvkksw8x1nbm7xk4sjc1wza2fyp5hvyiddn"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:test-target "spec"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-dependencies
+ (lambda _
+ (substitute* "Gemfile"
+ (("~>") ">=")))))))
+ (native-inputs (list ruby-rspec))
+ (propagated-inputs (list ruby-debug))
+ (synopsis "Invoke Ruby debugger when spec fails")
+ (description "This package can be used to have the execution stopped for
+inspection in the Ruby debugger upon encountering a failure. To use it, set
+the @env{RSPEC_DEBUG} environment variable to @samp{true} then invoke the
+@command{rspec} command as usual.")
+ (home-page "https://github.com/ko1/rspec-debug")
+ (license license:expat)))
+
;; Bundler is yet another source of circular dependencies, so we must disable
;; its test suite as well.
(define-public bundler
--
2.39.1
- [bug#62196] [PATCH 162/223] gnu: ruby-globalid: Update to 1.1.0., (continued)
- [bug#62196] [PATCH 162/223] gnu: ruby-globalid: Update to 1.1.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 145/223] gnu: ruby-marcel: Update to 1.0.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 172/223] gnu: Add ruby-flores., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 158/223] gnu: ruby-sprockets: Update to 4.2.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 175/223] gnu: Add perl-app-cpanminus., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 187/223] gnu: ruby-terminal-table: Update to 3.0.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 118/223] gnu: Add ruby-msgpack., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 157/223] gnu: ruby-actionmailer: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 186/223] gnu: Add ruby-minitest-profile., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 196/223] gnu: jekyll: Use gexps and remove input labels., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 125/223] gnu: Add ruby-rspec-debug.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 133/223] gnu: ruby-puma: Update to 6.1.1 and enable test suite., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 169/223] gnu: ruby-rails: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 155/223] gnu: Add ruby-net-smtp., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 182/223] gnu: ruby-temple: Update to 0.10.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 191/223] gnu: ruby-shoulda-matchers: Update to 5.3.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 167/223] gnu: Add ruby-stimulus-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 143/223] gnu: ruby-actioncable: Update to 7.0.4.3 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 148/223] gnu: ruby-activestorage: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 119/223] gnu: Add ruby-covered., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 160/223] gnu: ruby-sprockets-rails: Update to 3.4.2., Maxim Cournoyer, 2023/03/20