diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-07-08 13:00:24 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-07-08 13:00:24 -0400 |
commit | 0d2c45ce75fccf112e37403df815d9d98feedfdb (patch) | |
tree | 9c212b3ecaec8ca4fefb3924023dec16612f5d5a /gnu/packages | |
parent | 95a5d992deaf7b5e3f422c664ddd76e08108c921 (diff) | |
download | guix-0d2c45ce75fccf112e37403df815d9d98feedfdb.tar.gz |
gnu: ruby-cucumber-tag-expressions: Update to 3.0.0.
* gnu/packages/ruby.scm (ruby-cucumber-tag-expressions): Update to 3.0.0. [origin]: Fetch sources from git, to get the latest tag. [arguments]: Use the 'spec' test target instead of using a custom phase. [description]: Reformat.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ruby.scm | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9fbc8b322a..0cd0a133b3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6769,28 +6769,25 @@ invoked on any platform.") (define-public ruby-cucumber-tag-expressions (package (name "ruby-cucumber-tag-expressions") - (version "1.1.1") + (version "3.0.0") (source (origin - (method url-fetch) - (uri (rubygems-uri "cucumber-tag_expressions" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/cucumber/tag-expressions-ruby.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0cvmbljybws0qzjs1l67fvr9gqr005l8jk1ni5gcsis9pfmqh3vc")))) + "15dw4w0npd4m6aw7zhqkjxxzngp42kswrkwfygxkxcxnhy5zl1vx")))) (build-system ruby-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "rspec") - #t))))) + `(#:test-target "spec")) (native-inputs `(("ruby-rspec" ,ruby-rspec))) (synopsis "Cucumber tag expressions for Ruby") - (description - "Cucumber tag expression parser for Ruby. A tag expression is an infix -boolean expression used by Cucumber.") + (description "Cucumber tag expression parser for Ruby. A tag expression +is an infix boolean expression used by Cucumber.") (home-page "https://github.com/cucumber/tag-expressions-ruby") (license license:expat))) |