neo4j 7.0.0 → 7.0.1

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: c0ba26c69ab484cabe5aab9690a49d0327a04262
4
- data.tar.gz: 1040797d50c12bf69320003daedbe651940c1869
3
+ metadata.gz: e3b30796aa35e3f2172ceb8914e1d50b48fa554e
4
+ data.tar.gz: b2d172ea8448cd2de97844eb32bdae86772af216
5
5
  SHA512:
6
- metadata.gz: b6bef544a89b23cd097ce33435c5715ab3ab6b7fe47a58ec9035fd00927c8f21651100bf2e60c46c844dc159f13033fb5e676b1db535832277be2041a1968248
7
- data.tar.gz: 83d5889d7d5056e8f937d31c9125dfd5433f9e37264b3f498ee9d4dd31e61bf899ba333a791c7b751e0870b5d7823cde99b961c1223a204e5c901f4855c9ac0e
6
+ metadata.gz: 4f8f40cf2761f28d764e5ff630d50989eac8628fc13f5d7c120b37b2d417b69f496a24df17b46e845e34643a05ae6c1a8637c90eb60b6fe6271a914b7a885cfe
7
+ data.tar.gz: ba9e797aaf5fdcd4ee2e1c809af259516a17a2930cba4729a551be5f3f1802e5d88743309028d131b4f4f5108a184b7215e635d627322f51908407446ed03e13
data/CHANGELOG.md CHANGED
@@ -3,12 +3,18 @@ All notable changes to this project will be documented in this file.
3
3
  This file should follow the standards specified on [http://keepachangelog.com/]
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [7.0.1] - 03-22-2016
7
+
8
+ ### Fixed
9
+
10
+ - Conversion of string values from form inputs (thanks to jbhannah / see #1163)
11
+
6
12
  ## [7.0.0] - 03-18-2016
7
13
 
8
14
  No changes from `rc.7`
9
15
 
10
16
  ## [7.0.0.rc.7] - 03-16-2016
11
-
17
+ /
12
18
  ### Changed
13
19
 
14
20
  - `with_associations` now generates separate `OPTIONAL MATCH` clauses, separated by `WITH` clauses and is preceeded by a `WITH` clause.
@@ -2,6 +2,7 @@ require 'date'
2
2
  require 'bigdecimal'
3
3
  require 'bigdecimal/util'
4
4
  require 'active_support/core_ext/big_decimal/conversions'
5
+ require 'active_support/core_ext/string/conversions'
5
6
 
6
7
  module Neo4j::Shared
7
8
  class Boolean; end
@@ -176,7 +177,6 @@ module Neo4j::Shared
176
177
  Time.utc(*args).to_i
177
178
  end
178
179
 
179
- DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S %z'
180
180
  def to_ruby(value)
181
181
  return value if value.is_a?(DateTime)
182
182
  t = case value
@@ -185,7 +185,7 @@ module Neo4j::Shared
185
185
  when Integer
186
186
  Time.at(value).utc
187
187
  when String
188
- DateTime.strptime(value, DATETIME_FORMAT)
188
+ return value.to_datetime
189
189
  else
190
190
  fail ArgumentError, "Invalid value type for DateType property: #{value.inspect}"
191
191
  end
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '7.0.0'
2
+ VERSION = '7.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-18 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter