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