boltless 1.5.1 → 1.6.0

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: 6217285b067e6f2d0552c0ce98ef3ff79b87374094f2bff20355d5d8f02ab63a
4
- data.tar.gz: 0c091d0a1db0b440d1b25b3f382bab9729a742ebd17ce2016baed2e9cccaf518
3
+ metadata.gz: 810df6c0da5c601e9c8474ba2c77c8ffe4890aad9b622bac10371d83ed195cea
4
+ data.tar.gz: 06452e8b89e0223b0768b6c31d2f6f882acca5eb8849c44a5fe3b7782afcb34b
5
5
  SHA512:
6
- metadata.gz: fc2732c3e70eefad75c6bc8231e5421170a23b19e6536f0358894a5757a6af702e3ee51fd5e824ab43b2d44693bda2bdb79a6006ac7cf100dd1a58a682e82f0f
7
- data.tar.gz: d3b206798c72895aa27f269b86a1ecfbeaa814167dbd3e4f4c7c47fdf1221cb3e9f441c4cf2dc5f50837bec256122b8f6d9651d023d61994d859b7bf6163dbbe
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.1'
6
+ VERSION = '1.6.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
@@ -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.1
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-17 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