diff options
author | James Tucker <jftucker@gmail.com> | 2013-01-28 13:37:11 -0800 |
---|---|---|
committer | James Tucker <jftucker@gmail.com> | 2013-01-28 13:38:47 -0800 |
commit | a9474624a148fe58e0944664190b259787dcf51e (patch) | |
tree | ddafae5e31928c1b173a7b6e1687de95bcada7ab | |
parent | a6f6801a5a39e1df3d142d123943973a55bae576 (diff) | |
download | rack-a9474624a148fe58e0944664190b259787dcf51e.tar.gz |
Remove specific version code from Lint
* Too easy to miss during updates
* Required format unchanged
* Closes #501
-rw-r--r-- | SPEC | 2 | ||||
-rw-r--r-- | lib/rack/lint.rb | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ below. RFC3875 section 4.1.18</a> for specific behavior. In addition to this, the Rack environment must include these Rack-specific variables: -<tt>rack.version</tt>:: The Array [1,1], representing this version of Rack. +<tt>rack.version</tt>:: The Array representing this version of Rack. See Rack::VERSION, that corresponds to the version of this SPEC. <tt>rack.url_scheme</tt>:: +http+ or +https+, depending on the request URL. <tt>rack.input</tt>:: See below, the input stream. <tt>rack.errors</tt>:: See below, the error stream. diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb index 1bc2127f..fd21f775 100644 --- a/lib/rack/lint.rb +++ b/lib/rack/lint.rb @@ -118,7 +118,7 @@ module Rack ## In addition to this, the Rack environment must include these ## Rack-specific variables: - ## <tt>rack.version</tt>:: The Array [1,1], representing this version of Rack. + ## <tt>rack.version</tt>:: The Array representing this version of Rack. See Rack::VERSION, that corresponds to the version of this SPEC. ## <tt>rack.url_scheme</tt>:: +http+ or +https+, depending on the request URL. ## <tt>rack.input</tt>:: See below, the input stream. ## <tt>rack.errors</tt>:: See below, the error stream. |