Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

"a middleware" is grammatically meaningless #369

Merged
merged 1 commit into from

3 participants

@tenderlove
Owner

:+1:

@raggi raggi merged commit 284000f into rack:master
@raggi
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2012
  1. @gilesbowkett

    "a middleware" is grammatically meaningless

    gilesbowkett authored
    used English language properly
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/rack/builder.rb
  2. +1 −1  test/spec_session_cookie.rb
View
4 lib/rack/builder.rb
@@ -25,7 +25,7 @@ module Rack
#
# run app
#
- # +use+ adds a middleware to the stack, +run+ dispatches to an application.
+ # +use+ adds middleware to the stack, +run+ dispatches to an application.
# You can use +map+ to construct a Rack::URLMap in a convenient way.
class Builder
@@ -55,7 +55,7 @@ def self.app(default_app = nil, &block)
self.new(default_app, &block).to_app
end
- # Specifies a middleware to use in a stack.
+ # Specifies middleware to use in a stack.
#
# class Middleware
# def initialize(app)
View
2  test/spec_session_cookie.rb
@@ -256,7 +256,7 @@ def decode(str); @calls << :decode; str; end
response.body.should.not.be.nil
end
- it "can handle a middleware that inspects the env" do
+ it "can handle middleware that inspects the env" do
class TestEnvInspector
def initialize(app)
@app = app
Something went wrong with that request. Please try again.