From 6e59d2620fd098e307fd671a3283be29fb95cdc3 Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Thu, 26 Dec 2024 22:43:11 +0200 Subject: [PATCH] Make version constants public --- CHANGELOG.md | 8 ++------ lib/jwt/version.rb | 8 +++----- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ccdab811..dc8dbcb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,10 @@ # Changelog -## [v3.0.0](https://github.com/jwt/ruby-jwt/tree/v3.0.0) (NEXT) - -**Features:** - -- Your contribution here +## [v2.10.1](https://github.com/jwt/ruby-jwt/tree/v2.10.1) (2024-12-26) **Fixes and enhancements:** -- Your contribution here +- Make version constants public again [#646](https://github.com/jwt/ruby-jwt/pull/646) ([@anakinj] ## [v2.10.0](https://github.com/jwt/ruby-jwt/tree/v2.10.0) (2024-12-25) diff --git a/lib/jwt/version.rb b/lib/jwt/version.rb index 4fa41346..37309a97 100644 --- a/lib/jwt/version.rb +++ b/lib/jwt/version.rb @@ -14,14 +14,12 @@ def self.gem_version # @api private module VERSION - MAJOR = 3 - MINOR = 0 - TINY = 0 + MAJOR = 2 + MINOR = 10 + TINY = 1 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.') - - private_constant(:MAJOR, :MINOR, :TINY, :PRE) end # Checks if the OpenSSL version is 3 or greater.