[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/19: gnu: ruby-jwt: Update to 2.7.1.
From: |
guix-commits |
Subject: |
07/19: gnu: ruby-jwt: Update to 2.7.1. |
Date: |
Thu, 29 Jun 2023 07:06:03 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit 811d12969c83924d66652d0b4c68de54eae5643c
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 1aa2599089..1ff56174e6 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")
- 01/19: gnu: facter: Update to 4.4.1., (continued)
- 01/19: gnu: facter: Update to 4.4.1., guix-commits, 2023/06/29
- 09/19: gnu: ruby-sorbet-runtime: Remove ruby-pry-byebug input., guix-commits, 2023/06/29
- 11/19: gnu: ruby-spy: Remove ruby-pry-byebug input., guix-commits, 2023/06/29
- 13/19: gnu: ruby-connection-pool: Update to 2.4.1., guix-commits, 2023/06/29
- 15/19: gnu: ruby-net-scp: Fix build., guix-commits, 2023/06/29
- 17/19: gnu: ruby-slop: Update to 4.10.1., guix-commits, 2023/06/29
- 05/19: gnu: ruby-braintree: Update to 4.12.0., guix-commits, 2023/06/29
- 02/19: gnu: ronn-ng: Fix build., guix-commits, 2023/06/29
- 04/19: gnu: ruby-benchmark-ips: Update to 2.12.0., guix-commits, 2023/06/29
- 06/19: gnu: ruby-multi-json: Fix build., guix-commits, 2023/06/29
- 07/19: gnu: ruby-jwt: Update to 2.7.1.,
guix-commits <=
- 12/19: gnu: ruby-net-http-digest-auth: Fix build., guix-commits, 2023/06/29
- 08/19: gnu: ruby-octokit: Update to 6.1.1., guix-commits, 2023/06/29
- 10/19: gnu: ruby-language-server-protocol: Remove ruby-pry-byebug dependency., guix-commits, 2023/06/29
- 19/19: gnu: swagger-diff: Update to 2.0.0., guix-commits, 2023/06/29
- 16/19: gnu: ruby-sexp-processor: Update to 4.17.0., guix-commits, 2023/06/29
- 14/19: gnu: ruby-net-http-persistent: Update to 4.0.2., guix-commits, 2023/06/29
- 18/19: gnu: ruby-text-hyphen: Update to 1.5.0., guix-commits, 2023/06/29