neo4j-java-driver 0.1.7-java → 0.1.8-java

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: 3d4d2643c07b9ab4a4c9024160ec58a387aa84d3a78f98570324b71e5e402bcb
4
- data.tar.gz: c1a94826949cb66c4f17494713a42c1d45ca96f19c25b8e4ec95616c1ddc68b6
3
+ metadata.gz: aecf9badbbd46cffe5941caaae1545f5e9b4c194d2619a3ed25c268c56e35766
4
+ data.tar.gz: ad4b6c5d1f4ad4463a10f682c4974b2ecd78584ba265826811deaeecb4b6886e
5
5
  SHA512:
6
- metadata.gz: 16809c6f5d8a2b5661aef348d5dfe724218d5abc5b1a390edfadd72369570485e36fde82d5976dd0918397722a24f50c6ba39bd5a338839ecd8f2933e4ce6a3d
7
- data.tar.gz: 4d0601adde419833a1110ec8dea94f31ec4adb6b69c99103eb2511bda9832ce5ee7dc70d9df53a23ac54bb33f02943e8aa0ff38128679fd25d960df8af163c2d
6
+ metadata.gz: aea93a3442f15b95dddbb4c3d48b71356911dd5e2c7b11c7ed7d2156b6e3397d57a0db795dd135c7ba8a7ec114ff2be7958d485da702fe0dba181f26d8d55996
7
+ data.tar.gz: 165a9b66d668e883f9a862c2810a2dbd3ca05ac17ca6ef3daab9feb1d2b7be1d0cd06286489348dade862fbebf5a5eea5d94fae9ed93479a6dece4a4dbd50edc
@@ -14,6 +14,8 @@ module Neo4j
14
14
  raise Neo4j::Driver::Exceptions::UntrustedServerException, e.message
15
15
  rescue Java::JavaLang::IllegalStateException => e
16
16
  raise Neo4j::Driver::Exceptions::IllegalStateException, e.message
17
+ rescue Java::JavaLang::IllegalArgumentException => e
18
+ raise ArgumentError, e.message
17
19
  end
18
20
  end
19
21
  end
@@ -12,7 +12,7 @@ module Neo4j
12
12
  def driver(uri, auth_token = Neo4j::Driver::AuthTokens.none, config = {})
13
13
  check do
14
14
  java_method(:driver, [java.lang.String, org.neo4j.driver.v1.AuthToken, org.neo4j.driver.v1.Config])
15
- .call(uri, auth_token, to_java_config(config))
15
+ .call(uri.to_s, auth_token, to_java_config(config))
16
16
  end
17
17
  end
18
18
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Neo4j
4
4
  module Driver
5
- VERSION = '0.1.7'
5
+ VERSION = '0.1.8'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-java-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: java
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-02 00:00:00.000000000 Z
11
+ date: 2019-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -139,17 +139,17 @@ dependencies:
139
139
  - !ruby/object:Gem::Dependency
140
140
  requirement: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - "<"
142
+ - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: '13'
144
+ version: '0'
145
145
  name: rake
146
146
  prerelease: false
147
147
  type: :development
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "<"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '13'
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  requirement: !ruby/object:Gem::Requirement
155
155
  requirements: