things-client 0.2.3 → 0.2.4
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.
- data/VERSION +1 -1
- data/lib/things/reference/record.rb +2 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.4
|
|
@@ -77,7 +77,8 @@ module Things
|
|
|
77
77
|
self.reference.send(property).set(value.respond_to?(:reference) ? value.reference : value)
|
|
78
78
|
else
|
|
79
79
|
begin
|
|
80
|
-
|
|
80
|
+
# Check if the original value was not empty and remove it if wasn't
|
|
81
|
+
self.reference.send(property).delete if self.reference.send(property).get != :missing_value
|
|
81
82
|
rescue
|
|
82
83
|
end
|
|
83
84
|
end
|