diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-02-16 01:34:25 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-20 20:40:00 +0200 |
| commit | 86e108fffd6a8ac1c6ce7af726786bd65316dc12 (patch) | |
| tree | e39036a5827bdfaf63dfdaeb84af8cdc639edf6f /gnu/packages/ruby.scm | |
| parent | 79e92e9c8fc546560255fe65711cd5b82852dd73 (diff) | |
gnu: Add ruby-rubocop-factory-bot.
* gnu/packages/ruby.scm (ruby-rubocop-factory-bot): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/ruby.scm')
| -rw-r--r-- | gnu/packages/ruby.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a995133e328..389d2aa74f8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -2067,6 +2067,25 @@ code style checking of Capybara test files (RSpec, Cucumber, Minitest).") | |||
| 2067 | ruby-simplecov | 2067 | ruby-simplecov |
| 2068 | ruby-yard)))) | 2068 | ruby-yard)))) |
| 2069 | 2069 | ||
| 2070 | (define-public ruby-rubocop-factory-bot | ||
| 2071 | (package | ||
| 2072 | (name "ruby-rubocop-factory-bot") | ||
| 2073 | (version "2.26.1") | ||
| 2074 | (source | ||
| 2075 | (origin | ||
| 2076 | (method url-fetch) | ||
| 2077 | (uri (rubygems-uri "rubocop-factory_bot" version)) | ||
| 2078 | (sha256 | ||
| 2079 | (base32 "1aljadsjx7affcarzbhz7pydpy6fgqb8hl951y0cmrffxpa3rqcd")))) | ||
| 2080 | (build-system ruby-build-system) | ||
| 2081 | (arguments '(#:tests? #f)) ; No tests bundled. | ||
| 2082 | (synopsis "Code style checking for factory_bot files") | ||
| 2083 | (description | ||
| 2084 | "This package provides a plugin for the @code{RuboCop} code style | ||
| 2085 | enforcing & linting tool for @code{factory_bot} files.") | ||
| 2086 | (home-page "https://github.com/rubocop/rubocop-factory_bot") | ||
| 2087 | (license license:expat))) | ||
| 2088 | |||
| 2070 | ;;; A minimal variant used to build ruby-rubocop itself. | 2089 | ;;; A minimal variant used to build ruby-rubocop itself. |
| 2071 | (define ruby-rubocop-rake-minimal | 2090 | (define ruby-rubocop-rake-minimal |
| 2072 | (package | 2091 | (package |
