boltless 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 415b0dd9a2ebf001efe1d8b5419e8731fd4bfcd21934c0aa128853f4bc861e12
4
- data.tar.gz: 414b0c6f902e037aefb88ed893fc71dd63f53610c99e17e148a753c87668e086
3
+ metadata.gz: 810df6c0da5c601e9c8474ba2c77c8ffe4890aad9b622bac10371d83ed195cea
4
+ data.tar.gz: 06452e8b89e0223b0768b6c31d2f6f882acca5eb8849c44a5fe3b7782afcb34b
5
5
  SHA512:
6
- metadata.gz: 806813e8eb62ea816c42f19b79d78aa34ae5f71fe6d58a7c79ee2d0447e534e41aa6dd26602844cf5a616cdcb03246b06358f2e4acb92b587db4fb25fc6b774b
7
- data.tar.gz: 65650ecd2b5ffd59db6c0e4af217af1b5b63e97d328349317d53850cbc5a945b999e02da6f4eda2da395a7cdc66ded1c3514c133883d8da86628c3af86808303
6
+ metadata.gz: 39b8c31d2de8ce6e344cac27cc8179e23a83175d1e8d500b8bee6e20815a7d62f2b3771640670918e37c749acb4f14afb4bb10bbb5779f90f84589e232592298
7
+ data.tar.gz: c8973fb129dec86b78c76f40c6f9529d64a8899f1a5c5026d7e38677d194a4421f2b37c96ae0d6d7c70ea01892d09a74855357b7477fb8ce3f3d8c862b5905f8
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Boltless
5
5
  # The version of the +boltless+ gem
6
- VERSION = '1.5.0'
6
+ VERSION = '1.6.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
data/lib/boltless.rb CHANGED
@@ -6,6 +6,7 @@ require 'connection_pool'
6
6
  require 'oj'
7
7
  require 'fast_jsonparser'
8
8
  require 'colorize'
9
+ require 'logger'
9
10
  require 'active_support'
10
11
  require 'active_support/concern'
11
12
  require 'active_support/core_ext/module/delegation'
@@ -31,6 +32,6 @@ module Boltless
31
32
  include Extensions::Operations
32
33
  include Extensions::Utilities
33
34
 
34
- # Make sure to eager load all SDK constants
35
+ # Make sure to eager load all constants
35
36
  loader.eager_load
36
37
  end
@@ -100,12 +100,12 @@ RSpec.describe Boltless::ResultRow do
100
100
  end
101
101
 
102
102
  it 'includes the values' do
103
- expect(action).to include('values=[{:name=>"Klaus"}]')
103
+ expect(action).to include(/values=\[{:?name(=>|: )"Klaus"}\]/)
104
104
  end
105
105
 
106
106
  it 'includes the meta' do
107
- expect(action).to \
108
- include('meta=[{:id=>146, :type=>"node", :deleted=>false}]')
107
+ parts = [':?id(=>|: )146', ':?type(=>|: )"node"', ':?deleted(=>|: )false']
108
+ expect(action).to include(/meta=\[{#{parts.join(', ')}}\]/)
109
109
  end
110
110
 
111
111
  it 'includes the graph' do
@@ -143,18 +143,18 @@ RSpec.describe Boltless::ResultRow do
143
143
  let(:input) { raw_result_fixture(:with_graph_result) }
144
144
 
145
145
  it 'includes the graph (key)' do
146
- expect(action).to include('graph={:nodes=>')
146
+ expect(action).to include(/graph={:?nodes(=>|: )/)
147
147
  end
148
148
 
149
149
  it 'includes the graph (nodes)' do
150
- expect(action).to \
151
- include('[{:id=>"149", :labels=>["User"], ' \
152
- ':properties=>{:name=>"Kalle"}}]')
150
+ parts = [':?id(=>|: )"149"', ':?labels(=>|: )\["User"\]',
151
+ ':?properties(=>|: ){:?name(=>|: )"Kalle"}']
152
+ expect(action).to include(/\[{#{parts.join(', ')}}\]/)
153
153
  end
154
154
 
155
155
  it 'includes the graph (relationships)' do
156
156
  expect(action).to \
157
- include(':relationships=>[]')
157
+ include(/:?relationships(=>|: )\[\]/)
158
158
  end
159
159
  end
160
160
  end
@@ -99,7 +99,7 @@ RSpec.describe Boltless::Result do
99
99
  end
100
100
 
101
101
  it 'includes the stats' do
102
- expect(action).to include('stats={:contains_updates=>true')
102
+ expect(action).to include(/stats={:?contains_updates(=>|: )true/)
103
103
  end
104
104
  end
105
105
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boltless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-03 00:00:00.000000000 Z
11
+ date: 2025-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  requirements: []
202
- rubygems_version: 3.3.26
202
+ rubygems_version: 3.4.22
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: neo4j driver, via the HTTP API