[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/100: gnu: ruby-jwt: Update to 2.7.1.
From: |
guix-commits |
Subject: |
66/100: gnu: ruby-jwt: Update to 2.7.1. |
Date: |
Mon, 10 Jul 2023 03:27:35 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 0b7258ecc5a882b23cc3f06579f29f46bbfd23da
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jun 29 11:31:28 2023 +0100
gnu: ruby-jwt: Update to 2.7.1.
* gnu/packages/ruby.scm (ruby-jwt): Update to 2.7.1.
[source]: Switch to git.
[arguments]: Remove more unnecessary dependencies, and update style.
---
gnu/packages/ruby.scm | 48 ++++++++++++++++++++++++++++++------------------
1 file changed, 30 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2aa40230b3..97b79734fa 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7695,30 +7695,42 @@ a native C extension.")
(define-public ruby-jwt
(package
(name "ruby-jwt")
- (version "2.1.0")
+ (version "2.7.1")
(source
(origin
- (method url-fetch)
- (uri (rubygems-uri "jwt" version))
+ ;; For tests
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jwt/ruby-jwt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1w0kaqrbl71cq9sbnixc20x5lqah3hs2i93xmhlfdg2y3by7yzky"))))
+ "12ss6knfis6a6a41qndalnlvq3yykhpg6igzll8qyssnnwi9zdw7"))))
(build-system ruby-build-system)
(arguments
- '(#:test-target "test"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-unnecessary-dependencies
- (lambda _
- (substitute* "spec/spec_helper.rb"
- (("require 'simplecov.*") "\n")
- ;; Use [].each to disable running the SimpleCov configuration
- ;; block
- (("SimpleCov\\.configure") "[].each")
- (("require 'codeclimate-test-reporter'") "")
- (("require 'codacy-coverage'") "")
- (("Codacy::Reporter\\.start") ""))
- #t)))))
+ (list
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-unnecessary-dependencies
+ (lambda _
+ (substitute* "ruby-jwt.gemspec"
+ (("spec\\.add_development_dependency 'appraisal'") "")
+ (("spec\\.add_development_dependency 'simplecov'") ""))
+ (substitute* "Gemfile"
+ (("gem 'rubocop'.*") ""))
+ (substitute* "Rakefile"
+ (("require 'rubocop/rake_task'") "")
+ (("RuboCop::RakeTask\\.new\\(:rubocop\\)") ""))
+ (substitute* "spec/spec_helper.rb"
+ (("require 'simplecov.*") "\n")
+ ;; Use [].each to disable running the SimpleCov configuration
+ ;; block
+ (("SimpleCov\\.configure") "[].each")
+ (("require 'codeclimate-test-reporter'") "")
+ (("require 'codacy-coverage'") "")
+ (("Codacy::Reporter\\.start") "")))))))
(native-inputs
(list bundler ruby-rspec ruby-rbnacl))
(synopsis "Ruby implementation of the JSON Web Token standard")
- 34/100: gnu: ruby-mime-types: Update to 3.4.1., (continued)
- 34/100: gnu: ruby-mime-types: Update to 3.4.1., guix-commits, 2023/07/10
- 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 <=
- 90/100: gnu: ruby-fast-gettext: Update to 2.3.0., guix-commits, 2023/07/10
- 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