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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13caeda48d2131a8b475b6f40a499a4021781b9d
4
- data.tar.gz: 3ae2f5d7baccbebc38f6b67ad36b0b84d534e8af
3
+ metadata.gz: bf5c737355216b948f68bec41c58ccdf39c85cbc
4
+ data.tar.gz: b7db373bf656cc0b690eee7b8e30b41dd3673444
5
5
  SHA512:
6
- metadata.gz: 1e8db72abb19850d4586c8f689bedb987ab6c48c8ea03bbce232192d46c0a331f37c9c30847e069446ac9be9479322e5b7eca348d7bee16592db8e8ae142b347
7
- data.tar.gz: 12d7328f77bdb39ea6bc950f372dd67b1e0ffc7e6c2c655722cb05532961275814f1c9b92dae324c5eb25fc8820ff9b5922c77e07187da632042dcbc8844d9f4
6
+ metadata.gz: dcdc08ffcecd93be4858a9b27e135f110e59ec1dd03e9485e242c87b2cc780e203a2f3fb22131a00eb6bce0e26616e23d3efb52f5bcb26a2e15c708db891ac25
7
+ data.tar.gz: 320a5a20869c0d998ddc88e169dfaf9bc3f1c340e9f8f8b3914513f615fb0a52948eca3f4966b93fb6e3cb88f911150606ae083ec20c2807ae72faa8274eefe3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # GoodData Ruby SDK Changelog
2
2
 
3
+ ## 0.6.45
4
+ - Fixed transfer_everything when LDMs are the same
5
+
3
6
  ## 0.6.44
4
7
  - Fixed the tests
5
8
  - The MAQL execution now throws an exception if there is an error
@@ -129,10 +129,16 @@ module GoodData
129
129
 
130
130
  obj = GoodData::MdObject[uri, { project: target, client: client }]
131
131
 
132
- if obj.content['type'] != type
133
- synchronized_puts.call "Updating #{identifier} -> #{type} in #{target.title} - #{target.uri}"
134
- obj.content['type'] = type
135
- obj.save
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
@@ -6,7 +6,7 @@
6
6
 
7
7
  # GoodData Module
8
8
  module GoodData
9
- VERSION = '0.6.44'
9
+ VERSION = '0.6.45'
10
10
 
11
11
  class << self
12
12
  # Version
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.44
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-10 00:00:00.000000000 Z
14
+ date: 2016-10-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler