summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Tucker <jftucker@gmail.com>2013-01-28 13:37:11 -0800
committerJames Tucker <jftucker@gmail.com>2013-01-28 13:38:47 -0800
commita9474624a148fe58e0944664190b259787dcf51e (patch)
treeddafae5e31928c1b173a7b6e1687de95bcada7ab
parenta6f6801a5a39e1df3d142d123943973a55bae576 (diff)
downloadrack-a9474624a148fe58e0944664190b259787dcf51e.tar.gz
Remove specific version code from Lint
* Too easy to miss during updates * Required format unchanged * Closes #501
-rw-r--r--SPEC2
-rw-r--r--lib/rack/lint.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/SPEC b/SPEC
index 9c31801f..9b28627c 100644
--- a/SPEC
+++ b/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.
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.