gizzmo 0.8.0 → 0.8.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/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.1
|
data/gizzmo.gemspec
CHANGED
data/lib/gizzard/commands.rb
CHANGED
|
@@ -422,7 +422,7 @@ module Gizzard
|
|
|
422
422
|
host, prefix = obj.split("/")
|
|
423
423
|
host = "db" if host != "localhost" && sub
|
|
424
424
|
id ||= prefix[/\w+ward_\d+_\d+/]
|
|
425
|
-
prefix = (" " * depth) + host + "/" + (sub ? prefix.sub(id, "[ID]") : prefix)
|
|
425
|
+
prefix = (" " * depth) + host + "/" + ((sub && id) ? prefix.sub(id, "[ID]") : prefix)
|
|
426
426
|
[id, prefix]
|
|
427
427
|
when Array
|
|
428
428
|
obj.map do |e|
|