gnu: ruby-yajl-ruby: Update to 1.4.3.

* gnu/packages/ruby.scm (ruby-yajl-ruby): Update to 1.4.3.
[arguments]: Update style.
This commit is contained in:
Christopher Baines 2023-06-18 11:43:59 +01:00
parent f2488b8df9
commit daea7bc223
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -9842,25 +9842,25 @@ (define-public ruby-bio-logger
(define-public ruby-yajl-ruby
(package
(name "ruby-yajl-ruby")
(version "1.4.1")
(version "1.4.3")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "yajl-ruby" version))
(sha256
(base32
"16v0w5749qjp13xhjgr2gcsvjv6mf35br7iqwycix1n2h7kfcckf"))))
"1lni4jbyrlph7sz8y49q84pb0sbj82lgwvnjnsiv01xf26f4v5wc"))))
(build-system ruby-build-system)
(arguments
'(#:test-target "spec"
#:phases
(modify-phases %standard-phases
(add-before 'check 'patch-test-to-update-load-path
(lambda _
(substitute* "spec/parsing/large_number_spec.rb"
(("require \"yajl\"")
"$LOAD_PATH << 'lib'; require 'yajl'"))
#t)))))
(list
#:test-target "spec"
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'patch-test-to-update-load-path
(lambda _
(substitute* "spec/parsing/large_number_spec.rb"
(("require \"yajl\"")
"$LOAD_PATH << 'lib'; require 'yajl'")))))))
(native-inputs
(list ruby-rake-compiler ruby-rspec))
(synopsis "Streaming JSON parsing and encoding library for Ruby")