GNU bug report logs -
#71585
[PATCH] gnu: Add ruby-factory-bot.
Previous Next
To reply to this bug, email your comments to 71585 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix <at> cbaines.net, guix-patches <at> gnu.org
:
bug#71585
; Package
guix-patches
.
(Sun, 16 Jun 2024 03:40:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
gemmaro <gemmaro.dev <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix <at> cbaines.net, guix-patches <at> gnu.org
.
(Sun, 16 Jun 2024 03:40:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby.scm (ruby-factory-bot): New variable.
Change-Id: I92b90edd8618fbf38f8bc2f9d2065b9461188f6c
---
gnu/packages/ruby.scm | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5c1e666bb0..dd7ce0cbf8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -32,7 +32,7 @@
;;; Copyright © 2022-2024 Remco van 't Veer <remco <at> remworks.net>
;;; Copyright © 2022 Taiju HIGASHI <higashi <at> taiju.info>
;;; Copyright © 2023 Yovan Naumovski <yovan <at> gorski.stream>
-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke <at> gnu.org>
;;; Copyright © 2023, 2024 Zheng Junjie <873216071 <at> qq.com>
;;; Copyright © 2023, 2024 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
@@ -86,6 +86,7 @@ (define-module (gnu packages ruby)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages ragel)
+ #:use-module (gnu packages rails)
#:use-module (gnu packages rsync)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tls)
@@ -3134,6 +3135,40 @@ (define-public ruby-execjs
(home-page "https://github.com/rails/execjs")
(license license:expat)))
+(define-public ruby-factory-bot
+ (package
+ (name "ruby-factory-bot")
+ (version "6.4.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/thoughtbot/factory_bot")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0a38imcc4ffa6sx452nrmb112n47axqdq0a6xlz7vsl4wlzksmm9"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:test-target "spec"))
+ (native-inputs (list ruby-activerecord
+ ruby-cucumber
+ ruby-rspec
+ ruby-rspec-its
+ ruby-simplecov
+ ruby-standard
+ ruby-yard))
+ (propagated-inputs (list ruby-activesupport))
+ (synopsis "Framework and DSL for defining and using factories")
+ (description
+ "@samp{factory_bot} provides a framework and domain specific
+language (DSL) for defining and using factories. It is less
+error-prone, more explicit, and all-around easier to work with than
+fixtures.")
+ (home-page "https://github.com/thoughtbot/factory_bot")
+ (license license:expat)))
+
(define-public ruby-fakefs
(package
(name "ruby-fakefs")
base-commit: 612e4dd98f7d1d015e405af9d029bede3fe3c280
--
2.45.1
This bug report was last modified 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.