Skip to content

Commit

Permalink
Make version constants public
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Dec 26, 2024
1 parent a490892 commit 6e59d26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
8 changes: 2 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
8 changes: 3 additions & 5 deletions lib/jwt/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6e59d26

Please sign in to comment.