gizzmo 0.8.1 → 0.8.2
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.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
|