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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb4dacf1138b2e418df07df7885e85d41ace5c55
4
- data.tar.gz: 407cfef5e4b397aacf458a85150ed1f724aedbb5
3
+ metadata.gz: 3a58b0dee0b3876ab01c593b6f6de56269f62e05
4
+ data.tar.gz: 4f64e5c69ff76aa6cbeb425f51b01cba05087b76
5
5
  SHA512:
6
- metadata.gz: acb10b10c18eae46d48db353556d648982b25bd620060b1645d1bd00da4d82e7a88c875889bb54c118ebb4ef430abb33df3fa685e197436eefe422b9d9a16080
7
- data.tar.gz: a69ee3d2fbca7083cc086a89cd7666099e6cbd09f5fc47ea5bb6d5135d82cbb27b0d1626f2ff1382552709cc5bba289bb2781cbf837de311e0471619b1338507
6
+ metadata.gz: 7924adbf6a17df994464d53c414346c9462f63ce4a30f4293a59173401572de73d2caf226d283534630af0d5ba39b606aaa7d77fef96586fff7e08e680aa2413
7
+ data.tar.gz: 38bf1b6b7fa6b324df7373b7dea5b53428f72a6a26f349b7df54a48cbf6a3dbb6e4cf24f5be74ffe526bf174c3357d3c965bf2289cb01cbcf50e13b9a64e2784
@@ -1,9 +1,9 @@
1
1
  module Neo4Apis
2
2
  module CLI
3
3
  class Base < ::Thor
4
- class_option :neo4j_url, type: :string, default: 'http://localhost:7474'
5
- class_option :neo4j_username, type: :string
6
- class_option :neo4j_password, type: :string
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
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "neo4apis"
6
- s.version = '0.8.1'
6
+ s.version = '0.8.2'
7
7
  s.required_ruby_version = ">= 1.9.1"
8
8
 
9
9
  s.authors = "Brian Underwood"
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.1
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-03-27 00:00:00.000000000 Z
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.3
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: