Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small readme fixes

  • Loading branch information...
commit f1474c9b02c1ce98c2baeb49a6c0c82a80caeadc 1 parent a9787d6
@mojombo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -33,7 +33,7 @@ client or backend close the connection.
Installation
------------
- gem install mojombo-proxymachine -s http://gems.github.com
+ $ gem install proxymachine -s http://gemcutter.org
Running
@@ -63,7 +63,7 @@ Example routing config file
# header information from the Git protocol is parsed to find the
# username and a lookup routine is run on the name to find the correct
# backend server. If no match can be made yet, do nothing with the
- # connection yet.
+ # connection.
proxy do |data|
if data =~ %r{^....git-upload-pack /([\w\.\-]+)/[\w\.\-]+\000host=\w+\000}
name = $1
@@ -80,7 +80,7 @@ Valid return values
`{ :remote => String }` - String is the host:port of the backend server that will be proxied.
`{ :remote => String, :data => String }` - Same as above, but send the given data instead.
`{ :noop => true }` - Do nothing.
-`{ :close` => true } - Close the connection.
+`{ :close => true }` - Close the connection.
`{ :close => String }` - Close the connection after sending the String.
Please sign in to comment.
Something went wrong with that request. Please try again.