[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
90/100: gnu: ruby-fast-gettext: Update to 2.3.0.
From: |
guix-commits |
Subject: |
90/100: gnu: ruby-fast-gettext: Update to 2.3.0. |
Date: |
Mon, 10 Jul 2023 03:27:39 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit f8827a441620fb0e2925e306145b989b4e46c290
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Mon Jul 3 10:02:04 2023 +0100
gnu: ruby-fast-gettext: Update to 2.3.0.
* gnu/packages/ruby.scm (ruby-fast-gettext): Update to 2.3.0.
[arguments]: Update style and remove now unnecessary phases.
[native-inputs]: Add ruby-rubocop-packaging.
---
gnu/packages/ruby.scm | 37 ++++++++++---------------------------
1 file changed, 10 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4993d81c79..82b3ed86a9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4243,7 +4243,7 @@ interface for Ruby programs.")
(define-public ruby-fast-gettext
(package
(name "ruby-fast-gettext")
- (version "2.0.3")
+ (version "2.3.0")
(home-page "https://github.com/grosser/fast_gettext")
(source (origin
(method git-fetch)
@@ -4252,34 +4252,16 @@ interface for Ruby programs.")
(file-name (git-file-name name version))
(sha256
(base32
- "1dg14apq5sfjshhcq0idphhs7aq9ikzswhqmn689p1h76mxqr1v6"))))
+ "0ba1wv96qarvvh19s8m1cgd26a9jgil4wl8nwgv4sl9fg5sqgksm"))))
(build-system ruby-build-system)
(arguments
- '(#:test-target "spec"
- #:phases (modify-phases %standard-phases
- (add-before 'check 'remove-version-constraints
- (lambda _
- (delete-file "Gemfile.lock")
- #t))
- (add-before 'check 'remove-activerecord-test
- (lambda _
- ;; FIXME: This test fails because ActiveRecord depends on
- ;; a different version of ruby-sqlite than the currently
- ;; available one.
- (delete-file
- "spec/fast_gettext/translation_repository/db_spec.rb")
- #t))
- (add-before 'check 'disable-i18n-test
- (lambda _
- ;; XXX: This test checks i18n intricasies with Rails 3
and
- ;; automatically disables itself for Rails 4.0, but does
- ;; not know about newer versions as it has not been
updated
- ;; since 2014. Disable for later versions of Rails too.
- (substitute* "spec/fast_gettext/vendor/string_spec.rb"
- (((string-append "ActiveRecord::VERSION::MAJOR == 4
and "
- "ActiveRecord::VERSION::MINOR == 0"))
- "ActiveRecord::VERSION::MAJOR >= 4"))
- #t)))))
+ (list
+ #:test-target "spec"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-version-constraints
+ (lambda _
+ (delete-file "Gemfile.lock"))))))
(native-inputs
(list ;; For tests.
ruby-activerecord
@@ -4288,6 +4270,7 @@ interface for Ruby programs.")
ruby-forking-test-runner
ruby-i18n
ruby-rubocop
+ ruby-rubocop-packaging
ruby-rspec
ruby-single-cov
ruby-sqlite3
- 19/100: gnu: ruby-test-construct: Update to 2.0.2., (continued)
- 19/100: gnu: ruby-test-construct: Update to 2.0.2., guix-commits, 2023/07/10
- 35/100: gnu: ruby-http-cookie: Update to 1.0.5., guix-commits, 2023/07/10
- 44/100: gnu: ruby-cucumber: Fix build., guix-commits, 2023/07/10
- 47/100: gnu: ruby-kpeg: Update to 1.3.3., guix-commits, 2023/07/10
- 45/100: gnu: ruby-puma: Update to 6.3.0., guix-commits, 2023/07/10
- 52/100: gnu: ruby-railties: Fix build., guix-commits, 2023/07/10
- 49/100: gnu: %ruby-rails-version: Update to 7.0.5.1., guix-commits, 2023/07/10
- 50/100: gnu: ruby-bootsnap: Fix build., guix-commits, 2023/07/10
- 56/100: gnu: ruby-maxitest: Update to 5.1.0., guix-commits, 2023/07/10
- 66/100: gnu: ruby-jwt: Update to 2.7.1., guix-commits, 2023/07/10
- 90/100: gnu: ruby-fast-gettext: Update to 2.3.0.,
guix-commits <=
- 94/100: gnu: ruby-yard: Refactor package and some dependencies., guix-commits, 2023/07/10
- 85/100: gnu: Add ruby-hoe-3., guix-commits, 2023/07/10
- 08/100: gnu: ruby-contracts: Update to 0.17., guix-commits, 2023/07/10
- 21/100: gnu: ruby-stackprof: Update to 0.2.25., guix-commits, 2023/07/10
- 16/100: gnu: Remove ruby-instantiator., guix-commits, 2023/07/10
- 17/100: gnu: Add ruby-psych., guix-commits, 2023/07/10
- 97/100: gnu: ruby-sass-spec: Remove ruby-terminfo input., guix-commits, 2023/07/10
- 33/100: gnu: ruby-listen: Update to 3.8.0., guix-commits, 2023/07/10
- 30/100: gnu: ruby-minitest-focus: Update to 1.3.1., guix-commits, 2023/07/10
- 51/100: gnu: ruby-marcel: Fix build., guix-commits, 2023/07/10