neo4apis 0.2.0 → 0.3.0
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/Gemfile +0 -2
- data/README.md +1 -1
- data/bin/neo4apis +14 -0
- data/lib/neo4apis/base.rb +2 -2
- data/lib/neo4apis/cli/base.rb +10 -0
- data/neo4apis.gemspec +5 -1
- metadata +20 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897a033938164993ac75882b77845ac0e28bb544
|
4
|
+
data.tar.gz: b918f159cb190f82ede70f392a07b3a05eda5a82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a3f1123181f4021327c611e226a0f673466de708a48643442a5feca2d73a78c5723e5084d6009a0edc569a77d867c38c0d84a0da140972b0d76c9c087ed7a6
|
7
|
+
data.tar.gz: ee5200f94165dd9ec7c6525fa12b78b1073834bff0c8166fe4b678a0489c559de545cf7a04ed67942eebd4ad6d6dd0ffb68b2d42abc3bdb755afbb1814b77ab3
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -66,7 +66,7 @@ neo4apis_awesome = Neo4Apis::AwesomeSite.new(neo4j_session)
|
|
66
66
|
|
67
67
|
neo4apis_awesome.batch do
|
68
68
|
awesome_client.widget_search('cool').each do |widget|
|
69
|
-
import :Widget, widget # import is provided by neo4apis
|
69
|
+
neo4apis_awesome.import :Widget, widget # import is provided by neo4apis
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
data/bin/neo4apis
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'thor'
|
4
|
+
require 'neo4apis/cli/base'
|
5
|
+
|
6
|
+
# Require all of the neo4apis gems so that we can include their CLI classes
|
7
|
+
$:.map do |path|
|
8
|
+
Dir.glob(File.join(path, 'neo4apis*.rb'))
|
9
|
+
end.flatten.each do |path|
|
10
|
+
require path
|
11
|
+
end
|
12
|
+
|
13
|
+
Neo4Apis::CLI::Base.start(ARGV)
|
14
|
+
|
data/lib/neo4apis/base.rb
CHANGED
data/neo4apis.gemspec
CHANGED
@@ -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.
|
6
|
+
s.version = '0.3.0'
|
7
7
|
s.required_ruby_version = ">= 1.9.1"
|
8
8
|
|
9
9
|
s.authors = "Brian Underwood"
|
@@ -18,7 +18,11 @@ A core library for importing data from APIs into neo4j. Designed to be used wit
|
|
18
18
|
s.require_path = 'lib'
|
19
19
|
s.files = Dir.glob("{bin,lib,config}/**/*") + %w(README.md Gemfile neo4apis.gemspec)
|
20
20
|
|
21
|
+
s.bindir = 'bin'
|
22
|
+
s.executables << 'neo4apis'
|
23
|
+
|
21
24
|
s.add_dependency('faraday', "~> 0.9.0")
|
22
25
|
s.add_dependency("neo4j-core", "~> 3.0.4")
|
26
|
+
s.add_dependency('thor', '~> 0.19.1')
|
23
27
|
|
24
28
|
end
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Underwood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -38,17 +38,34 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 3.0.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.19.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.19.1
|
41
55
|
description: |
|
42
56
|
A core library for importing data from APIs into neo4j. Designed to be used with an adapter
|
43
57
|
email: public@brian-underwood.codes
|
44
|
-
executables:
|
58
|
+
executables:
|
59
|
+
- neo4apis
|
45
60
|
extensions: []
|
46
61
|
extra_rdoc_files: []
|
47
62
|
files:
|
48
63
|
- Gemfile
|
49
64
|
- README.md
|
65
|
+
- bin/neo4apis
|
50
66
|
- lib/neo4apis.rb
|
51
67
|
- lib/neo4apis/base.rb
|
68
|
+
- lib/neo4apis/cli/base.rb
|
52
69
|
- lib/neo4apis/query_buffer.rb
|
53
70
|
- neo4apis.gemspec
|
54
71
|
homepage: https://github.com/neo4jrb/neo4apis/
|