rack-bridge 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/bridge/server.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.1
|
data/lib/bridge/server.rb
CHANGED
|
@@ -65,7 +65,7 @@ module Bridge
|
|
|
65
65
|
@listen_hosts = hosts.collect do |h|
|
|
66
66
|
# We need to expand *blah into *.blah and blah. This is a client-side
|
|
67
67
|
# convenience, not something the server deals with.
|
|
68
|
-
if (match = %r{^\*[^\.]
|
|
68
|
+
if (match = %r{^\*([^\.].+)$}.match(h))
|
|
69
69
|
["*." << match[1], match[1]]
|
|
70
70
|
else
|
|
71
71
|
h
|