[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: ruby-json-pure: Update to 2.3.1.
From: |
guix-commits |
Subject: |
03/06: gnu: ruby-json-pure: Update to 2.3.1. |
Date: |
Sun, 12 Sep 2021 07:07:29 -0400 (EDT) |
efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit fb204d0a217cc6eb35e236c932fff1f5724095df
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 12 12:57:26 2021 +0300
gnu: ruby-json-pure: Update to 2.3.1.
* gnu/packages/ruby.scm (ruby-json-pure): Update to 2.3.1.
[arguments]: Remove custom 'regenerate-gemspec, 'fix-json-java.gemspec
phases. Remove part of custom 'fix-rakefile phase.
[native-inputs]: Add which.
---
gnu/packages/ruby.scm | 25 +++++--------------------
1 file changed, 5 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 179cfdd..264e67f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6225,13 +6225,13 @@ a native C extension.")
(define-public ruby-json-pure
(package
(name "ruby-json-pure")
- (version "2.2.0")
+ (version "2.3.1")
(source (origin
(method url-fetch)
(uri (rubygems-uri "json_pure" version))
(sha256
(base32
- "0m0j1mfwv0mvw72kzqisb26xjl236ivqypw1741dkis7s63b8439"))))
+ "00pziwkfqwk8vj19s65sdki31q1wvmf5v9b3sfglxm94qfvas1lx"))))
(build-system ruby-build-system)
(arguments
`(#:phases
@@ -6240,28 +6240,13 @@ a native C extension.")
(lambda _
(substitute* "Rakefile"
;; Since this is not a git repository, do not call 'git'.
- (("`git ls-files`") "`find . -type f |sort`")
- ;; Loosen dependency constraint.
- (("'test-unit', '~> 2.0'") "'test-unit', '>= 2.0'"))
- #t))
- (add-after 'replace-git-ls-files 'regenerate-gemspec
- (lambda _
- ;; Regenerate gemspec so loosened dependency constraints are
- ;; propagated.
- (invoke "rake" "gemspec")))
- (add-after 'regenerate-gemspec 'fix-json-java.gemspec
- (lambda _
- ;; This gemspec doesn't look to be generated by the above
- ;; command, so patch it separately.
- (substitute* "json-java.gemspec"
- (("%q<test-unit>\\.freeze, \\[\"~> 2\\.0\"\\]")
- "%q<test-unit>.freeze, [\">= 2.0\"]"))
- #t)))))
+ (("`git ls-files`") "`find . -type f |sort`")))))))
(native-inputs
`(("bundler" ,bundler)
("ragel" ,ragel)
("ruby-simplecov" ,ruby-simplecov)
- ("ruby-test-unit" ,ruby-test-unit)))
+ ("ruby-test-unit" ,ruby-test-unit)
+ ("which" ,which)))
(synopsis "JSON implementation in pure Ruby")
(description
"This package provides a JSON implementation written in pure Ruby.")
- branch core-updates-frozen updated (0246bf5 -> 66cf685), guix-commits, 2021/09/12
- 03/06: gnu: ruby-json-pure: Update to 2.3.1.,
guix-commits <=
- 06/06: gnu: ruby-tins: Update to 1.29.1., guix-commits, 2021/09/12
- 05/06: gnu: Add ruby-sync., guix-commits, 2021/09/12
- 04/06: gnu: ruby-multi-json: Update to 1.15.0., guix-commits, 2021/09/12
- 02/06: gnu: ruby-mocha: Update to 1.13.0., guix-commits, 2021/09/12
- 01/06: gnu: ruby-pandoc-ruby: Adjust test suite., guix-commits, 2021/09/12