g5_updatable 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/g5_updatable/client_updater.rb +6 -1
- data/lib/g5_updatable/version.rb +1 -1
- data/spec/dummy/log/test.log +1464 -0
- data/spec/lib/g5_updatable/client_updater_spec.rb +13 -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: 41dc59b9714737928143836c46ccb844e7edd89e
|
4
|
+
data.tar.gz: 4f01ea5eae3625b7b53ee79d8f6233901f8ab55b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc5153bb4e17e355defc6ee1f8b8f4da655973b6a10e59eebb1030b8b71846e2727870120c5a4f47adf249e969adc93eec7b8badf4ee722b9d89eb021f7af9a4
|
7
|
+
data.tar.gz: d33293bbf3c99f348897b573a1e2cea456245325e28c2fff2bbcbba270dec78d63283a8d3b7409256f12e91d8bd4a1c1ae02f945f0fbc40cfae1b4fdda9bb6fb
|
@@ -9,6 +9,11 @@ class G5Updatable::ClientUpdater
|
|
9
9
|
|
10
10
|
G5Updatable::Client.
|
11
11
|
find_or_initialize_by(uid: attributes[:uid]).
|
12
|
-
update_attributes!(
|
12
|
+
update_attributes!(
|
13
|
+
urn: attributes[:urn],
|
14
|
+
name: attributes[:name],
|
15
|
+
properties: attributes,
|
16
|
+
updated_at: DateTime.now
|
17
|
+
)
|
13
18
|
end
|
14
19
|
end
|
data/lib/g5_updatable/version.rb
CHANGED