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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cda1ec188ea5746ae414a8192aafe9cfbfbc0d19
4
- data.tar.gz: 5c6e6984bfc33b7bc102fa1b88005cc36d4b6f62
3
+ metadata.gz: f1e0b745f51b5a1c58f9053bb5fe9b0d94b24bec
4
+ data.tar.gz: f83ca71aed4249ee3f7eff3f9a69b00b5b6ad7e5
5
5
  SHA512:
6
- metadata.gz: 7dfec1170324f4d06ef8e8eb7e09fb0224ce5a7e72683298bdbe625b7d574f5e6d6f8a649b43cabd39f5be947584a215b3c123d63426ffbe57cf9bb0ed867466
7
- data.tar.gz: e29c1ca9dfa3113f45cb129dc6e89aa9b03336b0ff161e1ec1a19193debaee1de48a5e39c6447a938933b8455b64d3b466fd1bc22144f0854159426c97fac1ab
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(6)
215
+ value.utc.iso8601(3)
216
216
  when Date
217
217
  value.to_s
218
218
  else
@@ -1,3 +1,3 @@
1
1
  module ActiveNode
2
- VERSION = "2.2.2"
2
+ VERSION = "2.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_node
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heinrich Klobuczek