gizzmo 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gizzmo.gemspec +1 -1
- data/lib/gizzard/commands.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
data/gizzmo.gemspec
CHANGED
data/lib/gizzard/commands.rb
CHANGED
@@ -421,7 +421,7 @@ module Gizzard
|
|
421
421
|
when String
|
422
422
|
host, prefix = obj.split("/")
|
423
423
|
host = "db" if host != "localhost" && sub
|
424
|
-
id ||= prefix[
|
424
|
+
id ||= prefix[/(\w+ward_)?\d+_\d+(_\w+ward)?/]
|
425
425
|
prefix = (" " * depth) + host + "/" + ((sub && id) ? prefix.sub(id, "[ID]") : prefix)
|
426
426
|
[id, prefix]
|
427
427
|
when Array
|