Skip to content

Commit

Permalink
Freeze Rack::VERSION (#1726)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirs committed Dec 27, 2020
1 parent 1970771 commit 8d2e02a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/rack/version.rb
Expand Up @@ -13,11 +13,12 @@

module Rack
# The Rack protocol version number implemented.
VERSION = [1, 3]
VERSION = [1, 3].freeze
VERSION_STRING = VERSION.join(".").freeze

# Return the Rack protocol version as a dotted string.
def self.version
VERSION.join(".")
VERSION_STRING
end

RELEASE = "2.3.0"
Expand Down

0 comments on commit 8d2e02a

Please sign in to comment.