Skip to content

Commit dcac416

Browse files
committed
Fix VERSION_STRING to use ::Rack.release instead of ::Rack.version
1 parent 8added2 commit dcac416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webmachine/adapters/rack.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Rack < Adapter
4141
DEFAULT_OPTIONS = {}
4242

4343
REQUEST_URI = 'REQUEST_URI'.freeze
44-
VERSION_STRING = "#{Webmachine::SERVER_STRING} Rack/#{::Rack.version}".freeze
44+
VERSION_STRING = "#{Webmachine::SERVER_STRING} Rack/#{::Rack.release}".freeze
4545
NEWLINE = "\n".freeze
4646

4747
# Start the Rack adapter

0 commit comments

Comments
 (0)