zuora_connect 2.0.48 → 2.0.49
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/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: 66e0c185eb5a4cd487c417c78ce7907bf52a9a1b14a181ad216a8dea8700f20c
|
4
|
+
data.tar.gz: bff4d5e1efd62d4bae9f0171a1142da765da5e73a889e301696d5ee58ee66794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f662ae258af4280a65d0cd6ec4e61bbf429e4475a87c70b222d0626d5a81ed2bba17bfd9908eef502d0bc8ed039855badae826de94aeaa5d19ce15958d80b097
|
7
|
+
data.tar.gz: f3f13b1d620b0aa387b82599aee3e678d9fbf54459d13e3c9794457f662c7f4ad6a4b5cbdac0e53e80db906d098f62558388bb4003a16465fad5d73f32411399
|
@@ -1156,13 +1156,15 @@ module ZuoraConnect
|
|
1156
1156
|
end
|
1157
1157
|
|
1158
1158
|
def reload_attributes(selected_attributes)
|
1159
|
-
raise "Attibutes must be array"
|
1160
|
-
|
1159
|
+
raise "Attibutes must be array" unless selected_attributes.is_a?(Array)
|
1160
|
+
selected_attributes.push(:organizations, :environment, :zuora_tenant_ids)
|
1161
|
+
selected_attributes.uniq!
|
1162
|
+
value_attributes = self.class.unscoped.where(id: id).select(selected_attributes).first.attributes
|
1161
1163
|
value_attributes.each do |key, value|
|
1162
1164
|
next if key == "id" && value.blank?
|
1163
1165
|
self.send(:write_attribute, key, value)
|
1164
1166
|
end
|
1165
|
-
|
1167
|
+
self
|
1166
1168
|
end
|
1167
1169
|
|
1168
1170
|
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.49
|
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-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|