[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/229: gnu: Add ruby-rubocop-capybara.
From: |
guix-commits |
Subject: |
24/229: gnu: Add ruby-rubocop-capybara. |
Date: |
Tue, 28 Mar 2023 22:28:56 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 64a03377241bf19410ab468989575c4c3da85378
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 1 22:07:38 2023 -0500
gnu: Add ruby-rubocop-capybara.
* gnu/packages/ruby.scm (ruby-rubocop-capybara): New variable.
---
gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bad0301ea3..b588b434dc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1557,6 +1557,31 @@ code style checking of Capybara test files (RSpec,
Cucumber, Minitest).")
(home-page "https://github.com/rubocop/rubocop-capybara")
(license license:expat)))
+(define-public ruby-rubocop-capybara
+ (package
+ (inherit ruby-rubocop-capybara-minimal)
+ (arguments
+ (list #:tests? #t
+ #:test-target "spec"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "Gemfile"
+ (("gem 'rubocop-rspec', '~> 2.16.0'")
+ "gem 'rubocop-rspec', '>= 2.16.0'")))))))
+ (native-inputs
+ (list ruby-bump
+ ruby-rack
+ ruby-rake
+ ruby-rspec
+ ruby-rubocop
+ ruby-rubocop-performance-minimal
+ ruby-rubocop-rake-minimal
+ ruby-rubocop-rspec-minimal
+ ruby-simplecov
+ ruby-yard))))
+
+;;; A minimal variant used to build ruby-rubocop itself.
(define ruby-rubocop-rake-minimal
(package
(name "ruby-rubocop-rake")
- 08/229: gnu: ruby-parser: Update to 3.2.1.1., (continued)
- 08/229: gnu: ruby-parser: Update to 3.2.1.1., guix-commits, 2023/03/28
- 09/229: gnu: ruby-rubocop-ast: Update to 1.28.0., guix-commits, 2023/03/28
- 10/229: gnu: Add ruby-rubocop-rake-minimal., guix-commits, 2023/03/28
- 18/229: gnu: ruby-rspec-expectations: Update to 3.12.2., guix-commits, 2023/03/28
- 19/229: gnu: ruby-rspec-given: Update to 3.8.2., guix-commits, 2023/03/28
- 20/229: gnu: ruby-rubocop-performance: Update to 1.16.0., guix-commits, 2023/03/28
- 15/229: gnu: ruby-rspec-support: Update to 3.12.0., guix-commits, 2023/03/28
- 22/229: gnu: ruby-simplecov-html: Update to 0.12.3., guix-commits, 2023/03/28
- 27/229: gnu: ruby-rubocop: Update to 1.48.1, guix-commits, 2023/03/28
- 28/229: gnu: ruby-thor: Update to 1.2.1., guix-commits, 2023/03/28
- 24/229: gnu: Add ruby-rubocop-capybara.,
guix-commits <=
- 33/229: gnu: ruby-standard: Relax requirements., guix-commits, 2023/03/28
- 35/229: gnu: Add ruby-minitest-retry., guix-commits, 2023/03/28
- 36/229: gnu: Add ruby-dalli., guix-commits, 2023/03/28
- 43/229: gnu: ruby-cucumber-tag-expressions: Update to 5.0.1, fixing build., guix-commits, 2023/03/28
- 46/229: gnu: ruby-cucumber-html-formatter: Update to 20.2.1., guix-commits, 2023/03/28
- 51/229: gnu: ruby-gherkin: Rename to ruby-cucumber-gherkin., guix-commits, 2023/03/28
- 26/229: gnu: Add ruby-rubocop-rake., guix-commits, 2023/03/28
- 30/229: gnu: Add ruby-m., guix-commits, 2023/03/28
- 31/229: gnu: Add ruby-language-server-protocol., guix-commits, 2023/03/28
- 49/229: gnu: ruby-cucumber-expressions: Update to 16.1.2., guix-commits, 2023/03/28