gazer 0.2.22 → 0.2.23
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gzr/commands/space/export.rb +4 -2
- data/lib/gzr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3703d087e39d95150305aa414fa6a7bf8f18c6b0
|
|
4
|
+
data.tar.gz: e3a77952ee01fd8eb78f3c89b194622800de2de9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83ae74fca0c61ee82e50f9fb7f5db945276a6c47956a1799c8ebe5b4733de8be874522af7b79d660c22d19f0ff073cfe0c9b853186ab1aaf81597367fd3573d2
|
|
7
|
+
data.tar.gz: daf31b848eed4d29d6be094362b2178d606be3a0457660eef0fc0f47b3d84119e6d044ad1a1e65a60c2a4c08f94abf35d34eb59c614aa5241fa54b6c35391425
|
data/Gemfile.lock
CHANGED
|
@@ -75,10 +75,12 @@ module Gzr
|
|
|
75
75
|
|
|
76
76
|
def process_space(space_id, base, rel_path = nil)
|
|
77
77
|
space = query_space(space_id)
|
|
78
|
-
|
|
78
|
+
name = space.name
|
|
79
|
+
name = "nil (#{space_id})" if name.nil?
|
|
80
|
+
path = Pathname.new(name.gsub('/',"\u{2215}"))
|
|
79
81
|
path = rel_path + path if rel_path
|
|
80
82
|
|
|
81
|
-
write_file("Space_#{space.id}_#{
|
|
83
|
+
write_file("Space_#{space.id}_#{name}.json", base, path) do |f|
|
|
82
84
|
f.write JSON.pretty_generate(space.to_attrs.reject do |k,v|
|
|
83
85
|
[:looks, :dashboards].include?(k)
|
|
84
86
|
end)
|
data/lib/gzr/version.rb
CHANGED