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: fad6e30fed3d07cbba87f2c74e137b3e420a92d4
4
- data.tar.gz: d1cb7be8c903d549832ea04e006ec94f753b3885
3
+ metadata.gz: c41a89a3f3b4bf54c88ae93fc75658adff53e757
4
+ data.tar.gz: 4bc73253d39f9315beb25776d71584e994380624
5
5
  SHA512:
6
- metadata.gz: b58852b7113d7c1d993b99d4bad6dda03d1bc076e4f4034a701e3f71cd5b854f438f2c977b8eb319c3e1217e67f3aef1ecf1f6335e33030ddb6c2f7e49bdb50b
7
- data.tar.gz: 1dd0b62a6f71318ed08b4485b1df1ce176a10a06ead73c0de2c2c67f49ed362d3c6f9355af99388f334870ed4fe0817c3e73ab10d9ffdf740d31432fb687e3b8
6
+ metadata.gz: 2ff1e5792b93e749d7d9c57058a0f7fd87ad4f000da2e7627db681dfdd6a0872dbea0135153ed6a197dd51d11f043a5dcf4d842a524296b6c9d6f60441996a4d
7
+ data.tar.gz: db72e9266b1a14c0d35fd64614a86bd1d649523d7c30e5c807f0ebad407592922eeef95ecc40390cb2d8a9806e728007005cb30821f853f1735c2aabc2ad3065
@@ -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?(Fixnum)
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 Fixnum then "*#{length}"
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 Fixnum then 'cannot be negative' if length < 0
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, Fixnum, Range or Hash'
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, Fixnum, Symbol, Hash] :rel_length A Range, a Fixnum, a Hash or a Symbol to indicate the variable-length/fixed-length
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
@@ -11,7 +11,7 @@ module Neo4j
11
11
  # timestamp inclusion.
12
12
  # @return [Boolean] the true/false value specified.
13
13
 
14
- # @return [Fixnum] The location of the default configuration file.
14
+ # @return [Integer] The location of the default configuration file.
15
15
  def default_file
16
16
  @default_file ||= DEFAULT_FILE
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.0.6'
2
+ VERSION = '8.0.7'
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: 8.0.6
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-04 00:00:00.000000000 Z
11
+ date: 2017-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter