me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 22 additions and 15 deletions

View File

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