gnu: ruby-faraday: Update to 2.7.4 and enable test suite.

* gnu/packages/ruby.scm (ruby-faraday): Update to 2.7.4.
[source]: Fetch from git.
[arguments]: Delete #:tests? argument.  Add #:test-target argument.
[native-inputs]: New field.
[propagated-inputs]: Delete ruby-multipart-post.  Add ruby-ruby2-keywords.
This commit is contained in:
Maxim Cournoyer 2023-01-08 21:23:42 -05:00
parent 0eac35350c
commit 9bbe9c406b
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12184,23 +12184,30 @@ (define-public ruby-faraday-net-http
(define-public ruby-faraday (define-public ruby-faraday
(package (package
(name "ruby-faraday") (name "ruby-faraday")
(version "0.15.4") (version "2.7.4")
(source (source (origin
(origin (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (rubygems-uri "faraday" version)) (url "https://github.com/lostisland/faraday")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"0s72m05jvzc1pd6cw1i289chas399q0a14xrwg4rvkdwy7bgzrh0")))) (sha256
(base32
"0ya6jqa7ryr4i62mmzjjxzd8i8y0pyw0cbhifd758rs6lvkzmxa3"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments (list #:test-target "spec"))
'(#:tests? #f)) (native-inputs
(propagated-inputs (list ruby-coveralls
(list ruby-multipart-post)) ruby-faraday-net-http
ruby-pry
ruby-rack
ruby-rspec
ruby-simplecov
ruby-webmock))
(propagated-inputs (list ruby-ruby2-keywords))
(synopsis "Ruby HTTP/REST API client library") (synopsis "Ruby HTTP/REST API client library")
(description (description "Faraday is a HTTP/REST API client library which provides a
"Faraday is a HTTP/REST API client library which provides a common common interface over different adapters.")
interface over different adapters.")
(home-page "https://github.com/lostisland/faraday") (home-page "https://github.com/lostisland/faraday")
(license license:expat))) (license license:expat)))