[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/229: gnu: ruby-rubocop-rspec: Update to 2.19.0 and inverse inheritanc
From: |
guix-commits |
Subject: |
25/229: gnu: ruby-rubocop-rspec: Update to 2.19.0 and inverse inheritance relationship. |
Date: |
Tue, 28 Mar 2023 22:28:57 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 538e1dfaf7059344b24322aad20bba928ae50839
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 1 22:10:02 2023 -0500
gnu: ruby-rubocop-rspec: Update to 2.19.0 and inverse inheritance
relationship.
* gnu/packages/ruby.scm (ruby-rubocop-rspec): Update to 2.18.1.
[arguments]: Delete trailing #t. Change TEST-TARGET to "spec". Remove
phases.
[native-inputs]: Replace ruby-rubocop-performance with
ruby-rubocop-performance-minimal. Add ruby-bump and
ruby-rubocop-rake-minimal.
(ruby-rubocop-rspec-minimal): Reverse inheritance relationship; this package
is now the base package.
---
gnu/packages/ruby.scm | 62 ++++++++++++++++++++++++---------------------------
1 file changed, 29 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b588b434dc..225057b43d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1602,49 +1602,45 @@ code style checking of Capybara test files (RSpec,
Cucumber, Minitest).")
(home-page "https://github.com/rubocop/rubocop-rake")
(license license:expat)))
-(define-public ruby-rubocop-rspec
+;;; A minimal variant used to build ruby-rubocop itself.
+(define ruby-rubocop-rspec-minimal
(package
(name "ruby-rubocop-rspec")
- (version "2.2.0")
+ (version "2.19.0")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/rubocop-hq/rubocop-rspec")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0gdpjpympb6qc77bang759z7z6lckf14ghkx8v6614agxg8l3g5y"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rubocop-hq/rubocop-rspec")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0mgjyrzi8r44v3gb8xscdwspirz9kqkaf7zlsjhhlxr0di0rlj2r"))))
(build-system ruby-build-system)
- (arguments
- '(#:test-target "internal_investigation"
- #:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-HOME
- (lambda _
- (setenv "HOME" "/tmp")
- #t)))))
- (propagated-inputs
- (list ruby-rubocop ruby-rubocop-ast))
- (native-inputs
- (list ruby-rack ruby-rspec ruby-rubocop-performance ruby-simplecov
- ruby-yard))
+ (arguments (list #:tests? #f)) ;avoid extra dependencies
(synopsis "Code style checking for RSpec files")
(description "This package provides a plugin for the RuboCop code style
enforcing & linting tool.")
(home-page "https://github.com/rubocop-hq/rubocop-rspec")
(license license:expat)))
-(define-public ruby-rubocop-rspec-minimal
- (hidden-package
- (package
- (inherit ruby-rubocop-rspec)
- (arguments
- (substitute-keyword-arguments (package-arguments ruby-rubocop-rspec)
- ((#:tests? _ #f) #f)))
- (propagated-inputs '())
- (native-inputs '()))))
+(define-public ruby-rubocop-rspec
+ (package
+ (inherit ruby-rubocop-rspec-minimal)
+ (arguments '(#:test-target "spec"))
+ (native-inputs
+ (list ruby-bump
+ ruby-rack
+ ruby-rspec
+ ruby-rubocop-performance-minimal
+ ruby-rubocop-rake-minimal
+ ruby-simplecov
+ ruby-yard))
+ (propagated-inputs
+ (list ruby-rubocop
+ ruby-rubocop-ast
+ ruby-rubocop-capybara))))
(define-public ruby-rubocop-performance
(package
- 62/229: gnu: ruby-actionview: Update to 7.0.4.3., (continued)
- 62/229: gnu: ruby-actionview: Update to 7.0.4.3., guix-commits, 2023/03/28
- 64/229: gnu: Add ruby-minitest-proveit., guix-commits, 2023/03/28
- 67/229: gnu: ruby-activejob: Update to 7.0.4.3 and enable tests., guix-commits, 2023/03/28
- 69/229: gnu: ruby-addressable: Update to 2.8.1., guix-commits, 2023/03/28
- 73/229: gnu: ruby-puma: Build with SSL support., guix-commits, 2023/03/28
- 75/229: gnu: ruby-rack: Update to 2.2.6.3., guix-commits, 2023/03/28
- 77/229: gnu: Add ruby-rack-next., guix-commits, 2023/03/28
- 79/229: gnu: ruby-rack-test: Update to 2.1.0., guix-commits, 2023/03/28
- 16/229: gnu: ruby-given-core: Update to 3.8.2., guix-commits, 2023/03/28
- 23/229: gnu: ruby-simplecov: Update to 0.22.0., guix-commits, 2023/03/28
- 25/229: gnu: ruby-rubocop-rspec: Update to 2.19.0 and inverse inheritance relationship.,
guix-commits <=
- 32/229: gnu: ruby-standard: Enable test suite., guix-commits, 2023/03/28
- 42/229: gnu: Remove ruby-protobuf-cucumber., guix-commits, 2023/03/28
- 17/229: gnu: ruby-rspec-mocks: Update to 3.12.4., guix-commits, 2023/03/28
- 21/229: gnu: Add ruby-simplecov-json-formatter., guix-commits, 2023/03/28
- 37/229: gnu: Add ruby-hiredis., guix-commits, 2023/03/28
- 39/229: gnu: ruby-rake: Update to 13.0.6., guix-commits, 2023/03/28
- 48/229: gnu: Add ruby-cucumber-ci-environment., guix-commits, 2023/03/28
- 13/229: gnu: ruby-rspec: Update to 3.12.0., guix-commits, 2023/03/28
- 60/229: gnu: ruby-activerecord: Update to 7.0.4.3 and enable tests., guix-commits, 2023/03/28
- 65/229: gnu: ruby-zeitwerk: Update to 2.6.7., guix-commits, 2023/03/28