[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add ruby-rubocop-rspec.
From: |
guix-commits |
Subject: |
09/11: gnu: Add ruby-rubocop-rspec. |
Date: |
Wed, 17 Feb 2021 09:17:28 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 8588e6683c72d7c9c5e5a3a0573f4494ba22211c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 17 15:30:36 2021 +0200
gnu: Add ruby-rubocop-rspec.
* gnu/packages/ruby.scm (ruby-rubocop-rspec): New variable.
---
gnu/packages/ruby.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1934a68..bad97e8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1546,6 +1546,44 @@ logic.")
(home-page "https://github.com/typhoeus/typhoeus")
(license license:expat)))
+(define-public ruby-rubocop-rspec
+ (package
+ (name "ruby-rubocop-rspec")
+ (version "2.2.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"))))
+ (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
+ `(("ruby-rubocop" ,ruby-rubocop)
+ ("ruby-rubocop-ast" ,ruby-rubocop-ast)))
+ (native-inputs
+ `(("ruby-rack" ,ruby-rack)
+ ("ruby-rspec" ,ruby-rspec)
+ ("ruby-rubocop-performance" ,ruby-rubocop-performance)
+ ("ruby-simplecov" ,ruby-simplecov)
+ ("ruby-yard" ,ruby-yard)))
+ (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-performance
(package
(name "ruby-rubocop-performance")
- branch master updated (093beb6 -> 301d1ba), guix-commits, 2021/02/17
- 02/11: gnu: ruby-parser: Update to 3.0.0.0., guix-commits, 2021/02/17
- 03/11: gnu: ruby-rubocop-ast: Update to 1.4.1., guix-commits, 2021/02/17
- 01/11: gnu: Add ruby-oedipus-lex., guix-commits, 2021/02/17
- 06/11: gnu: Add ruby-memory-profiler., guix-commits, 2021/02/17
- 04/11: gnu: ruby-hashdiff: Update to 1.0.1., guix-commits, 2021/02/17
- 05/11: gnu: Add ruby-stackprof., guix-commits, 2021/02/17
- 07/11: gnu: ruby-crack: Update to 0.4.5., guix-commits, 2021/02/17
- 08/11: gnu: ruby-rubocop-performance: Update to 1.9.2., guix-commits, 2021/02/17
- 09/11: gnu: Add ruby-rubocop-rspec.,
guix-commits <=
- 10/11: gnu: ruby-webmock: Update to 3.11.2., guix-commits, 2021/02/17
- 11/11: gnu: ruby-rubocop: Update to 1.10.0., guix-commits, 2021/02/17