[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/94: gnu: ruby-jwt: Update to 2.7.1.
From: |
guix-commits |
Subject: |
66/94: gnu: ruby-jwt: Update to 2.7.1. |
Date: |
Mon, 3 Jul 2023 06:06:35 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit 4cd360bb7213b11440e34404a9c8707d72f872bf
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")
- 37/94: gnu: Add ruby-http-accept-1., (continued)
- 37/94: gnu: Add ruby-http-accept-1., guix-commits, 2023/07/03
- 44/94: gnu: ruby-cucumber: Fix build., guix-commits, 2023/07/03
- 39/94: gnu: ruby-hoe: Fix build., guix-commits, 2023/07/03
- 45/94: gnu: ruby-puma: Update to 6.3.0., guix-commits, 2023/07/03
- 52/94: gnu: ruby-railties: Fix build., guix-commits, 2023/07/03
- 11/94: gnu: Add ruby-rbtree., guix-commits, 2023/07/03
- 07/94: gnu: ruby-ritex: Build with ruby-2.7., guix-commits, 2023/07/03
- 16/94: gnu: Remove ruby-instantiator., guix-commits, 2023/07/03
- 62/94: gnu: ruby-awesome-print: Update to 1.9.2., guix-commits, 2023/07/03
- 65/94: gnu: ruby-multi-json: Fix build., guix-commits, 2023/07/03
- 66/94: gnu: ruby-jwt: Update to 2.7.1.,
guix-commits <=
- 68/94: gnu: ruby-sorbet-runtime: Remove ruby-pry-byebug input., guix-commits, 2023/07/03
- 72/94: gnu: ruby-connection-pool: Update to 2.4.1., guix-commits, 2023/07/03
- 76/94: gnu: ruby-slop: Update to 4.10.1., guix-commits, 2023/07/03
- 81/94: gnu: ruby-ruby-parser: Update to 3.20.2., guix-commits, 2023/07/03
- 84/94: gnu: ruby-mapping: Fix build., guix-commits, 2023/07/03
- 38/94: gnu: ruby-protobuf: Fix build., guix-commits, 2023/07/03
- 42/94: gnu: ruby-tilt: Update to 2.0.11., guix-commits, 2023/07/03
- 35/94: gnu: ruby-http-cookie: Update to 1.0.5., guix-commits, 2023/07/03
- 47/94: gnu: ruby-kpeg: Update to 1.3.3., guix-commits, 2023/07/03
- 40/94: gnu: ruby-delayed-job: Fix build., guix-commits, 2023/07/03