neo4apis 0.8.1 → 0.8.2
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 +4 -4
- data/lib/neo4apis/cli/base.rb +3 -3
- data/lib/neo4apis/query_buffer.rb +1 -1
- data/neo4apis.gemspec +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a58b0dee0b3876ab01c593b6f6de56269f62e05
|
|
4
|
+
data.tar.gz: 4f64e5c69ff76aa6cbeb425f51b01cba05087b76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7924adbf6a17df994464d53c414346c9462f63ce4a30f4293a59173401572de73d2caf226d283534630af0d5ba39b606aaa7d77fef96586fff7e08e680aa2413
|
|
7
|
+
data.tar.gz: 38bf1b6b7fa6b324df7373b7dea5b53428f72a6a26f349b7df54a48cbf6a3dbb6e4cf24f5be74ffe526bf174c3357d3c965bf2289cb01cbcf50e13b9a64e2784
|
data/lib/neo4apis/cli/base.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
module Neo4Apis
|
|
2
2
|
module CLI
|
|
3
3
|
class Base < ::Thor
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
option :neo4j_url, type: :string, default: 'http://localhost:7474'
|
|
5
|
+
option :neo4j_username, type: :string
|
|
6
|
+
option :neo4j_password, type: :string
|
|
7
7
|
|
|
8
8
|
no_commands do
|
|
9
9
|
def specified_neo4j_session
|
|
@@ -46,7 +46,7 @@ module Neo4Apis
|
|
|
46
46
|
|
|
47
47
|
if response_errors.size > 0
|
|
48
48
|
error_string = response_errors.map do |error|
|
|
49
|
-
[error['code'], error['message']].join("\n")
|
|
49
|
+
[error[:code] || error['code'], error[:message] || error['message']].join("\n")
|
|
50
50
|
end.join("\n\n")
|
|
51
51
|
|
|
52
52
|
fail "ERROR: Cypher response error:\n" + error_string
|
data/neo4apis.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: neo4apis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Underwood
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -102,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.4.
|
|
105
|
+
rubygems_version: 2.4.5
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: An API to import web API data to neo4j
|
|
109
109
|
test_files: []
|
|
110
|
-
has_rdoc:
|