active_node 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_node/persistence.rb +2 -2
- data/lib/active_node/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1e0b745f51b5a1c58f9053bb5fe9b0d94b24bec
|
4
|
+
data.tar.gz: f83ca71aed4249ee3f7eff3f9a69b00b5b6ad7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ced0ba488ef4173804f1dbd6cc96ba567ef76f796ed7e3b093e901df80b0228309ba1dfbfb3da6fb58f9ccd73303f002642c693b353542f2f6085a64f58ae271
|
7
|
+
data.tar.gz: 20b2b8337a2fc1577fa9f943a5dc1ab4476138b1e3bb87255ed67963085252cf2d505e5bcd68bf9f57584ea706e1e8da9c1a47c84b83f56ecea8f2e77689f319
|
@@ -182,7 +182,7 @@ module ActiveNode
|
|
182
182
|
end
|
183
183
|
|
184
184
|
def write
|
185
|
-
now = Time.now
|
185
|
+
now = to_neo(Time.now)
|
186
186
|
try :updated_at=, now
|
187
187
|
if persisted?
|
188
188
|
write_properties
|
@@ -212,7 +212,7 @@ module ActiveNode
|
|
212
212
|
def to_neo value
|
213
213
|
case value
|
214
214
|
when Time, DateTime
|
215
|
-
value.utc.iso8601(
|
215
|
+
value.utc.iso8601(3)
|
216
216
|
when Date
|
217
217
|
value.to_s
|
218
218
|
else
|
data/lib/active_node/version.rb
CHANGED