mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: ruby-cucumber: Update to 4.1.0.
* gnu/packages/ruby.scm (ruby-cucumber): Update to 4.1.0. [phases]{strip-version-requirements}: New phase. [propagated-inputs]: Add ruby-cucumber-create-meta, ruby-cucumber-html-formatter and ruby-cucumber-messages. Remove ruby-cucumber-expressions. [native-inputs]: Add ruby-rubocop. [description]: Reformat.
This commit is contained in:
parent
f357462426
commit
92ebbaad09
1 changed files with 14 additions and 15 deletions
|
@ -6648,7 +6648,7 @@ (define-public ruby-cucumber-html-formatter
|
||||||
(define-public ruby-cucumber
|
(define-public ruby-cucumber
|
||||||
(package
|
(package
|
||||||
(name "ruby-cucumber")
|
(name "ruby-cucumber")
|
||||||
(version "3.1.2")
|
(version "4.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -6658,41 +6658,40 @@ (define-public ruby-cucumber
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0764wp2cjg60qa3l69q1dxda5g06a01n5w92szqbf89d2hgl47n3"))))
|
"0g9rqfslbzkkrq2kvl14fgknrhfbji3bjjpjxff5nc9wzd3hd549"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "spec"
|
'(#:test-target "spec"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; Don't run or require rubocop, the code linting tool, as this is a
|
(add-after 'extract-gemspec 'strip-version-requirements
|
||||||
;; bit unnecessary.
|
|
||||||
(add-after 'unpack 'dont-run-rubocop
|
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Rakefile"
|
(substitute* "cucumber.gemspec"
|
||||||
((".*rubocop/rake\\_task.*") "")
|
(("(.*add_.*dependency '[_A-Za-z0-9-]+').*" _ stripped)
|
||||||
((".*RuboCop.*") ""))
|
(string-append stripped "\n")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ruby-builder" ,ruby-builder)
|
`(("ruby-builder" ,ruby-builder)
|
||||||
("ruby-cucumber-core" ,ruby-cucumber-core)
|
("ruby-cucumber-core" ,ruby-cucumber-core)
|
||||||
|
("ruby-cucumber-create-meta" ,ruby-cucumber-create-meta)
|
||||||
|
("ruby-cucumber-html-formatter" ,ruby-cucumber-html-formatter)
|
||||||
|
("ruby-cucumber-messages" ,ruby-cucumber-messages)
|
||||||
("ruby-cucumber-wire" ,ruby-cucumber-wire)
|
("ruby-cucumber-wire" ,ruby-cucumber-wire)
|
||||||
("ruby-cucumber-expressions" ,ruby-cucumber-expressions)
|
|
||||||
("ruby-diff-lcs" ,ruby-diff-lcs)
|
("ruby-diff-lcs" ,ruby-diff-lcs)
|
||||||
("ruby-gherkin" ,ruby-gherkin)
|
("ruby-gherkin" ,ruby-gherkin)
|
||||||
("ruby-multi-json" ,ruby-multi-json)
|
("ruby-multi-json" ,ruby-multi-json)
|
||||||
("ruby-multi-test" ,ruby-multi-test)))
|
("ruby-multi-test" ,ruby-multi-test)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bundler" ,bundler)
|
`(;; Use a untested version of aruba, to avoid a circular dependency, as
|
||||||
;; Use a untested version of aruba, to avoid a circular dependency, as
|
|
||||||
;; ruby-aruba depends on ruby-cucumber.
|
;; ruby-aruba depends on ruby-cucumber.
|
||||||
("ruby-aruba", ruby-aruba-without-tests)
|
("ruby-aruba", ruby-aruba-without-tests)
|
||||||
("ruby-rspec" ,ruby-rspec)
|
("ruby-rspec" ,ruby-rspec)
|
||||||
("ruby-pry" ,ruby-pry)
|
("ruby-pry" ,ruby-pry)
|
||||||
("ruby-nokogiri" ,ruby-nokogiri)))
|
("ruby-nokogiri" ,ruby-nokogiri)
|
||||||
|
("ruby-rubocop" ,ruby-rubocop)))
|
||||||
(synopsis "Describe automated tests in plain language")
|
(synopsis "Describe automated tests in plain language")
|
||||||
(description
|
(description "Cucumber is a tool for running automated tests written in
|
||||||
"Cucumber is a tool for running automated tests written in plain
|
plain language. It's designed to support a Behaviour Driven Development (BDD)
|
||||||
language. It's designed to support a Behaviour Driven Development (BDD)
|
|
||||||
software development workflow.")
|
software development workflow.")
|
||||||
(home-page "https://cucumber.io/")
|
(home-page "https://cucumber.io/")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
Loading…
Reference in a new issue