neo4j-ruby-driver 0.3.0 → 0.3.3

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: 9da1a1a99dc073fdc74afd9078432f53d6d574eecf5fecc436c9207f9096687b
4
- data.tar.gz: 0765c112017827121324658b302e4c7bd809fa7c390944aa21e912f16e371b9a
3
+ metadata.gz: a3c781eed440e5a6f5ee72e401a2955ee86f567d6589b812604a930255671461
4
+ data.tar.gz: 94201a0e2f248d7b61b61454023130a63e22c28d037286be2ce3f39e4dee46f2
5
5
  SHA512:
6
- metadata.gz: bf3e072bf5b7a189de7cb6f176c64f7d502e9e30f93590dcd4b35a1af0ac9c8d3e01f4e5d087269a9257f7e9995686e1d5cb4e258f46637e01ae53526cbec3ca
7
- data.tar.gz: b3c9e897e362d1e93db0a82d554d8b1cb1dcc5f625b0fc3223214fd55295291eb41f40f1858aad32e0e61ab7a711dbbfcb1f3296e832ee5c33a81a551d44ce97
6
+ metadata.gz: 9b242565eedbdb7a18b01db9a6e21165dd39419d704c378453d40a46731ef45677d7f8d65b8acc17fa3cd45ed6ef3971778800c7b4a948cdd6aa83c85b7a2f6f
7
+ data.tar.gz: afd3e5c659e1c9adf8aead1808d41ddf0db65f0ce8eee0c81a1ef4c3b66da44d19f65d79d6a0431f12841da5960bf681ef4cf1eb9acf8268cfc0d000afef5554
data/README.md CHANGED
@@ -26,8 +26,13 @@ Or install it yourself as:
26
26
 
27
27
  ### neo4j-ruby-driver
28
28
 
29
- As a prerequisite [seabolt](https://github.com/neo4j-drivers/seabolt) must be installed. Please follow the instructions to install either from package or source.
30
- Add `SEABOLT_LIB` environment variable with the location of the installed library.
29
+ As a prerequisite [seabolt](https://github.com/neo4j-drivers/seabolt) must be installed.
30
+
31
+ On macOS
32
+
33
+ $ brew install michael-simons/homebrew-seabolt/seabolt
34
+
35
+ On other systems please follow the instructions to install either from package or source. Make sure the libseabolt17 ends up in a system lib path e.g. /usr/local/lib
31
36
 
32
37
  Add this line to your application's Gemfile:
33
38
 
@@ -64,9 +69,18 @@ FFI based same as above but with SEABOLT_LIB variable set (e.g. on Mac OSX):
64
69
 
65
70
  Please note that seabolt has to be installed separately: https://github.com/neo4j-drivers/seabolt
66
71
 
67
- In order to run test by running `rake spec` you may have to set your own `NEO4J_BOLT_URL` URI or it will
68
- fallback to `bolt://localhost:7687`.
69
-
72
+ ## Testing
73
+
74
+ To run the tests the following tools need to be installed:
75
+
76
+ $ brew install python
77
+ $ wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py --user
78
+ $ python3 -m pip install --user git+https://github.com/klobuczek/boltkit@1.3#egg=boltkit
79
+ $ neoctrl-install -e 4.0.0 servers
80
+ $ neoctrl-configure servers/neo4j-enterprise-4.0.0 dbms.directories.import=
81
+ $ neoctrl-set-initial-password password servers/neo4j-enterprise-4.0.0
82
+ $ neoctrl-start servers/neo4j-enterprise-4.0.0
83
+
70
84
  ## Contributing
71
85
 
72
86
  Suggestions, improvements, bug reports and pull requests are welcome on GitHub at https://github.com/neo4jrb/neo4j-ruby-driver.
data/ffi/bolt/library.rb CHANGED
@@ -6,7 +6,7 @@ module Bolt
6
6
  include Bolt::AutoReleasable
7
7
 
8
8
  def self.extended(mod)
9
- mod.ffi_lib ENV['SEABOLT_LIB']
9
+ mod.ffi_lib 'libseabolt17'
10
10
  end
11
11
  end
12
12
  end
@@ -27,12 +27,12 @@ module Neo4j
27
27
  )
28
28
  end
29
29
 
30
- def read_transaction(&block)
31
- transaction(Neo4j::Driver::AccessMode::READ, &block)
30
+ def read_transaction(config = nil, &block)
31
+ transaction(Neo4j::Driver::AccessMode::READ, config, &block)
32
32
  end
33
33
 
34
- def write_transaction(&block)
35
- transaction(Neo4j::Driver::AccessMode::WRITE, &block)
34
+ def write_transaction(config = nil, &block)
35
+ transaction(Neo4j::Driver::AccessMode::WRITE, config, &block)
36
36
  end
37
37
 
38
38
  def close
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Neo4j
4
4
  module Driver
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,22 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-ruby-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: activesupport
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
18
  version: '0'
19
+ name: activesupport
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -25,12 +25,12 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: zeitwerk
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - ">="
32
31
  - !ruby/object:Gem::Version
33
32
  version: 2.1.10
33
+ name: zeitwerk
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -39,12 +39,12 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.1.10
41
41
  - !ruby/object:Gem::Dependency
42
- name: ffi
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - ">="
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
47
+ name: ffi
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
@@ -53,12 +53,12 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: recursive-open-struct
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
61
+ name: recursive-open-struct
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
@@ -67,12 +67,12 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: ffaker
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - ">="
74
73
  - !ruby/object:Gem::Version
75
74
  version: '0'
75
+ name: ffaker
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
@@ -81,12 +81,12 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: hoe
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - ">="
88
87
  - !ruby/object:Gem::Version
89
88
  version: '0'
89
+ name: hoe
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
@@ -95,12 +95,12 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: hoe-bundler
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
101
100
  - - ">="
102
101
  - !ruby/object:Gem::Version
103
102
  version: '0'
103
+ name: hoe-bundler
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
@@ -109,12 +109,12 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: hoe-gemspec
113
112
  requirement: !ruby/object:Gem::Requirement
114
113
  requirements:
115
114
  - - ">="
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
117
+ name: hoe-gemspec
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -123,26 +123,12 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: neo4j-rake_tasks
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: 0.3.0
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: 0.3.0
139
- - !ruby/object:Gem::Dependency
140
- name: parallel
141
126
  requirement: !ruby/object:Gem::Requirement
142
127
  requirements:
143
128
  - - ">="
144
129
  - !ruby/object:Gem::Version
145
130
  version: '0'
131
+ name: parallel
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
@@ -151,12 +137,12 @@ dependencies:
151
137
  - !ruby/object:Gem::Version
152
138
  version: '0'
153
139
  - !ruby/object:Gem::Dependency
154
- name: rake
155
140
  requirement: !ruby/object:Gem::Requirement
156
141
  requirements:
157
142
  - - ">="
158
143
  - !ruby/object:Gem::Version
159
144
  version: '0'
145
+ name: rake
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
@@ -165,12 +151,12 @@ dependencies:
165
151
  - !ruby/object:Gem::Version
166
152
  version: '0'
167
153
  - !ruby/object:Gem::Dependency
168
- name: rspec-its
169
154
  requirement: !ruby/object:Gem::Requirement
170
155
  requirements:
171
156
  - - ">="
172
157
  - !ruby/object:Gem::Version
173
158
  version: '0'
159
+ name: rspec-its
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
@@ -179,12 +165,12 @@ dependencies:
179
165
  - !ruby/object:Gem::Version
180
166
  version: '0'
181
167
  - !ruby/object:Gem::Dependency
182
- name: rspec-mocks
183
168
  requirement: !ruby/object:Gem::Requirement
184
169
  requirements:
185
170
  - - ">="
186
171
  - !ruby/object:Gem::Version
187
172
  version: '0'
173
+ name: rspec-mocks
188
174
  type: :development
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
@@ -193,7 +179,6 @@ dependencies:
193
179
  - !ruby/object:Gem::Version
194
180
  version: '0'
195
181
  - !ruby/object:Gem::Dependency
196
- name: rdoc
197
182
  requirement: !ruby/object:Gem::Requirement
198
183
  requirements:
199
184
  - - ">="
@@ -202,6 +187,7 @@ dependencies:
202
187
  - - "<"
203
188
  - !ruby/object:Gem::Version
204
189
  version: '7'
190
+ name: rdoc
205
191
  type: :development
206
192
  prerelease: false
207
193
  version_requirements: !ruby/object:Gem::Requirement
@@ -333,7 +319,7 @@ licenses:
333
319
  - MIT
334
320
  metadata:
335
321
  homepage_uri: https://github.com/neo4jrb/neo4j-ruby-driver
336
- post_install_message:
322
+ post_install_message:
337
323
  rdoc_options:
338
324
  - "--main"
339
325
  - README.md
@@ -344,15 +330,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
344
330
  requirements:
345
331
  - - ">="
346
332
  - !ruby/object:Gem::Version
347
- version: '0'
333
+ version: '2.5'
348
334
  required_rubygems_version: !ruby/object:Gem::Requirement
349
335
  requirements:
350
336
  - - ">="
351
337
  - !ruby/object:Gem::Version
352
338
  version: '0'
353
339
  requirements: []
354
- rubygems_version: 3.1.2
355
- signing_key:
340
+ rubygems_version: 3.0.6
341
+ signing_key:
356
342
  specification_version: 4
357
343
  summary: ''
358
344
  test_files: []