[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/38: gnu: ruby-cucumber-core: Update to 7.1.0.
From: |
guix-commits |
Subject: |
27/38: gnu: ruby-cucumber-core: Update to 7.1.0. |
Date: |
Wed, 8 Jul 2020 23:42:33 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 95a5d992deaf7b5e3f422c664ddd76e08108c921
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jul 8 11:28:48 2020 -0400
gnu: ruby-cucumber-core: Update to 7.1.0.
* gnu/packages/ruby.scm (ruby-cucumber-core): Update to 7.1.0.
[origin]: Use the git-fetch method.
[arguments]: Enable tests, by specifying the test target and...
[native-inputs]: ...adding ruby-rspec, ruby-rake, ruby-coveralls,
ruby-rubocop, ruby-simplecov and ruby-unindent as native inputs. Remove
bundler.
[phases]{relax-version-requirements}: Add phase.
[propagated-inputs]: Remove ruby-backports. Add ruby-cucumber-messages.
---
gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8a732b5..9fbc8b3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6665,24 +6665,38 @@ in already-indented code.")
(define-public ruby-cucumber-core
(package
(name "ruby-cucumber-core")
- ;; Stick to major version 3, until version 4 of Cucumber is released.
- (version "3.2.1")
+ (version "7.1.0")
(source
(origin
- (method url-fetch)
- (uri (rubygems-uri "cucumber-core" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cucumber/cucumber-ruby-core.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1iavlh8hqj9lwljbpkw06259gdicbr1bdb6pbj5yy3n8szgr8k3c"))))
+ "1p5wb6wbggbw37ariyag4kxpiczznvgm3c8cnz1744dmbj79q1rn"))))
(build-system ruby-build-system)
+ (arguments
+ `(#:test-target "spec"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-version-requirements
+ (lambda _
+ (substitute* "cucumber-core.gemspec"
+ (("'cucumber-tag-expressions',.*")
+ "'cucumber-tag-expressions', '>=2.0.0'\n"))
+ #t)))))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)
+ ("ruby-coveralls" ,ruby-coveralls)
+ ("ruby-rubocop" ,ruby-rubocop)
+ ("ruby-simplecov" ,ruby-simplecov)
+ ("ruby-unindent" ,ruby-unindent)))
(propagated-inputs
- `(("ruby-backports" ,ruby-backports)
+ `(("ruby-cucumber-messages" ,ruby-cucumber-messages)
("ruby-gherkin" ,ruby-gherkin)
("ruby-cucumber-tag-expressions" ,ruby-cucumber-tag-expressions)))
- (native-inputs
- `(("bundler" ,bundler)))
- (arguments
- '(#:tests? #f)) ; needs simplecov, among others
(synopsis "Core library for the Cucumber BDD app")
(description "Cucumber is a tool for running automated tests
written in plain language. Because they're written in plain language,
- 16/38: gnu: Add ruby-pry-byebug., (continued)
- 16/38: gnu: Add ruby-pry-byebug., guix-commits, 2020/07/08
- 17/38: gnu: Add ruby-binding-of-caller., guix-commits, 2020/07/08
- 19/38: gnu: Add ruby-varint., guix-commits, 2020/07/08
- 20/38: gnu: Add ruby-ruby-prof., guix-commits, 2020/07/08
- 26/38: gnu: Add ruby-unindent., guix-commits, 2020/07/08
- 25/38: gnu: Add ruby-coveralls., guix-commits, 2020/07/08
- 30/38: gnu: Add ruby-cucumber-create-meta., guix-commits, 2020/07/08
- 22/38: gnu: Add ruby-protobuf-cucumber., guix-commits, 2020/07/08
- 24/38: gnu: ruby-gherkin: Update to 14.0.1., guix-commits, 2020/07/08
- 18/38: gnu: Add ruby-pry-stack-explorer., guix-commits, 2020/07/08
- 27/38: gnu: ruby-cucumber-core: Update to 7.1.0.,
guix-commits <=
- 28/38: gnu: ruby-cucumber-tag-expressions: Update to 3.0.0., guix-commits, 2020/07/08
- 37/38: gnu: ruby-parallel-tests: Update to 3.0.0., guix-commits, 2020/07/08
- 21/38: gnu: Add ruby-protobuf., guix-commits, 2020/07/08
- 29/38: gnu: Add ruby-sys-uname., guix-commits, 2020/07/08
- 31/38: gnu: ruby-cucumber-expressions: Update to 10.2.0., guix-commits, 2020/07/08
- 32/38: gnu: ruby-cucumber-wire: Update to 3.1.0., guix-commits, 2020/07/08
- 33/38: gnu: Add ruby-cucumber-html-formatter., guix-commits, 2020/07/08
- 23/38: gnu: Add ruby-cucumber-messages, guix-commits, 2020/07/08
- 34/38: gnu: ruby-cucumber: Update to 4.1.0., guix-commits, 2020/07/08
- 35/38: gnu: ruby_version: Update to 1.0.2., guix-commits, 2020/07/08