neo4j 8.0.6 → 8.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c41a89a3f3b4bf54c88ae93fc75658adff53e757
|
4
|
+
data.tar.gz: 4bc73253d39f9315beb25776d71584e994380624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ff1e5792b93e749d7d9c57058a0f7fd87ad4f000da2e7627db681dfdd6a0872dbea0135153ed6a197dd51d11f043a5dcf4d842a524296b6c9d6f60441996a4d
|
7
|
+
data.tar.gz: db72e9266b1a14c0d35fd64614a86bd1d649523d7c30e5c807f0ebad407592922eeef95ecc40390cb2d8a9806e728007005cb30821f853f1735c2aabc2ad3065
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@ 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
|
+
## [8.0.7] 2016-02-24
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- Fix Ruby 2.4 deprecations re: Integer (see #1360 / thanks @jboler)
|
11
|
+
|
6
12
|
## [8.0.6] 2016-02-04
|
7
13
|
|
8
14
|
### Fixed
|
@@ -454,7 +454,7 @@ module Neo4j::ActiveNode
|
|
454
454
|
|
455
455
|
# Return all results if a variable-length relationship length was given
|
456
456
|
association_proxy = association_proxy(name, {node: node, rel: rel}.merge!(options))
|
457
|
-
if options[:rel_length] && !options[:rel_length].is_a?(
|
457
|
+
if options[:rel_length] && !options[:rel_length].is_a?(Integer)
|
458
458
|
association_proxy
|
459
459
|
else
|
460
460
|
target_class = self.class.send(:association_target_class, name)
|
@@ -53,7 +53,7 @@ module Neo4j
|
|
53
53
|
|
54
54
|
case length
|
55
55
|
when Symbol then VALID_REL_LENGTH_SYMBOLS[length]
|
56
|
-
when
|
56
|
+
when Integer then "*#{length}"
|
57
57
|
when Range then cypher_for_range_rel_length(length)
|
58
58
|
when Hash then cypher_for_hash_rel_length(length)
|
59
59
|
end
|
@@ -79,11 +79,11 @@ module Neo4j
|
|
79
79
|
|
80
80
|
def rel_length_error_message(length)
|
81
81
|
case length
|
82
|
-
when
|
82
|
+
when Integer then 'cannot be negative' if length < 0
|
83
83
|
when Symbol then rel_length_symbol_error_message(length)
|
84
84
|
when Range then rel_length_range_error_message(length)
|
85
85
|
when Hash then rel_length_hash_error_message(length)
|
86
|
-
else 'should be a Symbol,
|
86
|
+
else 'should be a Symbol, Integer, Range or Hash'
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
@@ -31,7 +31,7 @@ module Neo4j
|
|
31
31
|
# @param [Hash] options Additional options pertaining to the QueryProxy object. These may include:
|
32
32
|
# @option options [String, Symbol] :node_var A string or symbol to be used by Cypher within its query string as an identifier
|
33
33
|
# @option options [String, Symbol] :rel_var Same as above but pertaining to a relationship identifier
|
34
|
-
# @option options [Range,
|
34
|
+
# @option options [Range, Integer, Symbol, Hash] :rel_length A Range, a Integer, a Hash or a Symbol to indicate the variable-length/fixed-length
|
35
35
|
# qualifier of the relationship. See http://neo4jrb.readthedocs.org/en/latest/Querying.html#variable-length-relationships.
|
36
36
|
# @option options [Neo4j::Session] :session The session to be used for this query
|
37
37
|
# @option options [Neo4j::ActiveNode] :source_object The node instance at the start of the QueryProxy chain
|
data/lib/neo4j/config.rb
CHANGED
@@ -11,7 +11,7 @@ module Neo4j
|
|
11
11
|
# timestamp inclusion.
|
12
12
|
# @return [Boolean] the true/false value specified.
|
13
13
|
|
14
|
-
# @return [
|
14
|
+
# @return [Integer] The location of the default configuration file.
|
15
15
|
def default_file
|
16
16
|
@default_file ||= DEFAULT_FILE
|
17
17
|
end
|
data/lib/neo4j/version.rb
CHANGED
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: 8.0.
|
4
|
+
version: 8.0.7
|
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: 2017-02-
|
11
|
+
date: 2017-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|