gnu: ruby-http-cookie: Update to 1.0.5.

* gnu/packages/ruby.scm (ruby-http-cookie): Update to 1.0.5.
[arguments, native-inputs]: Update style.
This commit is contained in:
Christopher Baines 2023-06-27 12:13:08 +01:00
parent 187e34f187
commit 4ba5e2929d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -11199,32 +11199,32 @@ (define-public ruby-dotenv-rails
(define-public ruby-http-cookie
(package
(name "ruby-http-cookie")
(version "1.0.3")
(version "1.0.5")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "http-cookie" version))
(sha256
(base32
"004cgs4xg5n6byjs7qld0xhsjq3n6ydfh897myr2mibvh6fjc49g"))))
"13rilvlv8kwbzqfb644qp6hrbsj82cbqmnzcvqip1p6vqx36sxbk"))))
(build-system ruby-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'add-dependency-to-bundler
(lambda _
;; Fix NameError
(substitute* "Rakefile"
(("HTTP::Cookie::VERSION")
"Bundler::GemHelper.gemspec.version"))
#t)))))
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'add-dependency-to-bundler
(lambda _
;; Fix NameError
(substitute* "Rakefile"
(("HTTP::Cookie::VERSION")
"Bundler::GemHelper.gemspec.version")))))))
(propagated-inputs
(list ruby-domain-name))
(native-inputs
`(("rubysimplecov" ,ruby-simplecov)
("bundler" ,bundler)
("ruby-sqlite3" ,ruby-sqlite3)
("ruby-test-unit" ,ruby-test-unit)))
(list ruby-simplecov
bundler
ruby-sqlite3
ruby-test-unit))
(synopsis "Handle HTTP Cookies based on RFC 6265")
(description
"@code{HTTP::Cookie} is a Ruby library to handle HTTP Cookies based on