zuora_connect 2.0.51 → 2.0.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/zuora_connect/app_instance_base.rb +5 -3
- data/lib/zuora_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb0cb8bf799348f71ae8f7cca99a33545d3e3430df0f39756303c1756c1a724a
|
4
|
+
data.tar.gz: f600a3dc9f7890dac632eb0a9881312110cc73893be6b65805921806b0ce5518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8096cbe9f312f5e2c27d8c1546bde2ae20f95b6a0011b2de1c6da9b0824871ae24908555c0c117fda0a3f544e7393bde0ffc696a356213c3ab3a027b8979e66b
|
7
|
+
data.tar.gz: 0aa2d3ac8bea866d58ef925c8a3a7a208b866ef4ed56f4f91b3746d42ef8d407fb8c06f3af873c049525e06abb69be16ef617f360ec5672591551aa851e9168d
|
@@ -1162,13 +1162,15 @@ module ZuoraConnect
|
|
1162
1162
|
end
|
1163
1163
|
|
1164
1164
|
def reload_attributes(selected_attributes)
|
1165
|
-
raise "Attibutes must be array"
|
1166
|
-
|
1165
|
+
raise "Attibutes must be array" unless selected_attributes.is_a?(Array)
|
1166
|
+
selected_attributes.push(:organizations, :environment, :zuora_tenant_ids)
|
1167
|
+
selected_attributes.uniq!
|
1168
|
+
value_attributes = self.class.unscoped.where(id: id).select(selected_attributes).first.attributes
|
1167
1169
|
value_attributes.each do |key, value|
|
1168
1170
|
next if key == "id" && value.blank?
|
1169
1171
|
self.send(:write_attribute, key, value)
|
1170
1172
|
end
|
1171
|
-
|
1173
|
+
self
|
1172
1174
|
end
|
1173
1175
|
|
1174
1176
|
def instance_failure(failure)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|