summaryrefslogtreecommitdiff
path: root/lib/rack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack.rb')
-rw-r--r--lib/rack.rb17
1 files changed, 2 insertions, 15 deletions
diff --git a/lib/rack.rb b/lib/rack.rb
index 751bb059..a40738fb 100644
--- a/lib/rack.rb
+++ b/lib/rack.rb
@@ -11,22 +11,9 @@
# All modules meant for use in your application are <tt>autoload</tt>ed here,
# so it should be enough just to <tt>require 'rack'</tt> in your code.
-module Rack
- # The Rack protocol version number implemented.
- VERSION = [1, 3]
-
- # Return the Rack protocol version as a dotted string.
- def self.version
- VERSION.join(".")
- end
-
- RELEASE = "2.2.0"
-
- # Return the Rack release as a dotted string.
- def self.release
- RELEASE
- end
+require_relative 'rack/version'
+module Rack
HTTP_HOST = 'HTTP_HOST'
HTTP_VERSION = 'HTTP_VERSION'
HTTPS = 'HTTPS'