gooddata 0.6.44 → 0.6.45
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/CHANGELOG.md +3 -0
- data/lib/gooddata/lcm/lcm.rb +10 -4
- data/lib/gooddata/models/project_creator.rb +1 -1
- data/lib/gooddata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf5c737355216b948f68bec41c58ccdf39c85cbc
|
|
4
|
+
data.tar.gz: b7db373bf656cc0b690eee7b8e30b41dd3673444
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcdc08ffcecd93be4858a9b27e135f110e59ec1dd03e9485e242c87b2cc780e203a2f3fb22131a00eb6bce0e26616e23d3efb52f5bcb26a2e15c708db891ac25
|
|
7
|
+
data.tar.gz: 320a5a20869c0d998ddc88e169dfaf9bc3f1c340e9f8f8b3914513f615fb0a52948eca3f4966b93fb6e3cb88f911150606ae083ec20c2807ae72faa8274eefe3
|
data/CHANGELOG.md
CHANGED
data/lib/gooddata/lcm/lcm.rb
CHANGED
|
@@ -129,10 +129,16 @@ module GoodData
|
|
|
129
129
|
|
|
130
130
|
obj = GoodData::MdObject[uri, { project: target, client: client }]
|
|
131
131
|
|
|
132
|
-
if obj
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
if obj
|
|
133
|
+
if obj.content['type'] != type
|
|
134
|
+
synchronized_puts.call "Updating #{identifier} -> #{type} in '#{target.title}'"
|
|
135
|
+
obj.content['type'] = type
|
|
136
|
+
obj.save
|
|
137
|
+
else
|
|
138
|
+
synchronized_puts.call "Identifier #{identifier} in '#{target.title}' already has desired type - #{type}"
|
|
139
|
+
end
|
|
140
|
+
else
|
|
141
|
+
synchronized_puts.call "Unable to find #{identifier} in '#{target.title}'"
|
|
136
142
|
end
|
|
137
143
|
end
|
|
138
144
|
end
|
|
@@ -63,7 +63,7 @@ module GoodData
|
|
|
63
63
|
next
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
|
-
if errors.length == replaced_maqls.length
|
|
66
|
+
if (errors.length > 0) && (errors.length == replaced_maqls.length)
|
|
67
67
|
messages = errors.map { |e| GoodData::Helpers.interpolate_error_messages(e.data['wTaskStatus']['messages']) }
|
|
68
68
|
fail "Unable to migrate LDM, reason(s): \n #{messages.join("\n")}"
|
|
69
69
|
end
|
data/lib/gooddata/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gooddata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pavel Kolesnikov
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2016-10-
|
|
14
|
+
date: 2016-10-20 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|