neuron-client 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -239,7 +239,7 @@ module Neuron
|
|
239
239
|
validate_against_schema!(:update, data)
|
240
240
|
data = connection.put("#{resources_name}/#{id}", data)
|
241
241
|
end
|
242
|
-
apply_attributes!(data[resource_name])
|
242
|
+
apply_attributes!(data[resource_name]) unless data.nil?
|
243
243
|
[]
|
244
244
|
end
|
245
245
|
@errors.empty?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neuron-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 7
|
10
|
+
version: 0.4.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- RMM Online
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-23 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rest-client
|