Skip to content

Commit 6e59d26

Browse files
committed
Make version constants public
1 parent a490892 commit 6e59d26

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

CHANGELOG.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Changelog
22

3-
## [v3.0.0](https://github.com/jwt/ruby-jwt/tree/v3.0.0) (NEXT)
4-
5-
**Features:**
6-
7-
- Your contribution here
3+
## [v2.10.1](https://github.com/jwt/ruby-jwt/tree/v2.10.1) (2024-12-26)
84

95
**Fixes and enhancements:**
106

11-
- Your contribution here
7+
- Make version constants public again [#646](https://github.com/jwt/ruby-jwt/pull/646) ([@anakinj]
128

139
## [v2.10.0](https://github.com/jwt/ruby-jwt/tree/v2.10.0) (2024-12-25)
1410

lib/jwt/version.rb

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ def self.gem_version
1414

1515
# @api private
1616
module VERSION
17-
MAJOR = 3
18-
MINOR = 0
19-
TINY = 0
17+
MAJOR = 2
18+
MINOR = 10
19+
TINY = 1
2020
PRE = nil
2121

2222
STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
23-
24-
private_constant(:MAJOR, :MINOR, :TINY, :PRE)
2523
end
2624

2725
# Checks if the OpenSSL version is 3 or greater.

0 commit comments

Comments
 (0)