examples/git.rb in mojombo-proxymachine-0.1.3 vs examples/git.rb in mojombo-proxymachine-0.2.0

- old
+ new

@@ -17,10 +17,10 @@ # backend server. If no match can be made yet, do nothing with the # connection yet. proxy do |data| if data =~ %r{^....git-upload-pack /([\w\.\-]+)/[\w\.\-]+\000host=(.+)\000} name, host = $1, $2 - GitRouter.lookup(name) + { :remote => GitRouter.lookup(name) } else - :noop + { :noop => true } end end \ No newline at end of file