neo4j-ruby-driver 1.7.1 → 1.7.2

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
  SHA256:
3
- metadata.gz: c2046ab6db9a33bd372582af76c0c91c02ec010beb3b72401fa6b79e758c4821
4
- data.tar.gz: 034dfaa2aa250886d9967e626beda32d93bff9857095cf4c1e5573639902f8ce
3
+ metadata.gz: 73e017d0ba7cbb58f6ab2ef0e4118e33e81bca173483ec8b28a60fe21ffa5d9e
4
+ data.tar.gz: eb314a4ad5450cac37dca70dac4ff6e2171d4f8067a094baa112d93e102d788b
5
5
  SHA512:
6
- metadata.gz: 95df5eedae01639609dc31b269c224a177b57598cab1a6239eb77795f290997bea05e80e241594326e6d0bc64356440c7e801feb23949fb87a62f0ec017f922d
7
- data.tar.gz: b28ba72ae62720aa1d92068b9b3f934f8eef9e47c1f8078e9e5971c212c79b759a64d6904fa26c58f29963cca93e5151e81b4f03e1e0427d607e32b492ee2333
6
+ metadata.gz: 8a9548471d5962bf3d53bf0a5fd48ef0a04753a4fa41f5cf19d2038ebebc8e375159b364465f6bd03c00197add59b04c8eddd905fa33aeccc1fe0f9726da36f1
7
+ data.tar.gz: 7ad0bdfaaa1f202f86b102a95a3d12cb50c65e64fd3e941fe2c780f4b6cdf87b01428874ec15d6c8eb60fe43c844c94751fe7be0f738ecfd3abb1cc1cec2a3a0
@@ -41,6 +41,7 @@ end
41
41
 
42
42
  require 'active_support/concern'
43
43
  require 'active_support/core_ext/array/grouping'
44
+ require 'active_support/logger'
44
45
  require 'concurrent/atomic/atomic_boolean'
45
46
  require 'concurrent/atomic/atomic_reference'
46
47
  require 'ffi'
@@ -13,7 +13,7 @@ module Neo4j
13
13
  nodes = [prev_node] # Start node is always 0, and isn't encoded in the sequence
14
14
  rels = []
15
15
  path = Types::Path.new(nodes, rels)
16
- sequence.in_groups_of(2) do |node_idx, rel_idx|
16
+ sequence.in_groups_of(2) do |rel_idx, node_idx|
17
17
  node = uniq_nodes[node_idx]
18
18
  nodes << node
19
19
  rel = uniq_rels[rel_idx.abs - 1] # -1 because rel idx are 1-indexed
@@ -4,7 +4,7 @@ module Neo4j
4
4
  module Driver
5
5
  module Types
6
6
  class Path < Array
7
- attr_reader :modes, :relationships
7
+ attr_reader :nodes, :relationships
8
8
 
9
9
  class Segment
10
10
  attr_reader :start_node, :relationship, :end_node
@@ -4,12 +4,11 @@ module Neo4j
4
4
  module Driver
5
5
  module Exceptions
6
6
  class Neo4jException < RuntimeError
7
- attr_reader :code, :cause, :suppressed
7
+ attr_reader :code, :suppressed
8
8
 
9
9
  def initialize(*args)
10
10
  @code = args.shift if args.count > 1
11
11
  message = args.shift
12
- @cause = args.shift
13
12
  @suppressed = args.shift
14
13
  super(message)
15
14
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Neo4j
4
4
  module Driver
5
- VERSION = '1.7.1'
5
+ VERSION = '1.7.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-ruby-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-01 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport