Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove specific version code from Lint

 * Too easy to miss during updates
 * Required format unchanged
 * Closes #501
  • Loading branch information...
commit a9474624a148fe58e0944664190b259787dcf51e 1 parent a6f6801
@raggi raggi authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  SPEC
  2. +1 −1  lib/rack/lint.rb
View
2  SPEC
@@ -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.
View
2  lib/rack/lint.rb
@@ -118,7 +118,7 @@ def check_env(env)
## 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.
Please sign in to comment.
Something went wrong with that request. Please try again.