neo4apis-github 0.2.0 → 0.2.1
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/github.rb +6 -6
- data/neo4apis-github.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69be2696abf85091df897de46aa74a0cc1c7cb27
|
4
|
+
data.tar.gz: 453a89da81ea8567fc210b54d061c4f80b808e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c94949254c5372a5c7ec5f3d2f1484d74dbbaeab0829bd38c840fc8257298acba1ad09487f92300fbf0b145579ddbe4943447ce931618b1586b996de2a9f3bf
|
7
|
+
data.tar.gz: 2980ae0880bf0083cfddee7102550f57fd616e6d25f5afd5b3f261cea2e64ba273894179c6033b268bf5a75adfa2e56deae30d3c085595a78767b49c3752def1
|
data/lib/neo4apis/github.rb
CHANGED
@@ -19,7 +19,7 @@ module Neo4Apis
|
|
19
19
|
:size, :forks_count, :mirror_url,
|
20
20
|
:created_at, :updated_at, :pushed_at]
|
21
21
|
|
22
|
-
add_relationship(:
|
22
|
+
add_relationship(:HAS_OWNER, node, owner_node)
|
23
23
|
|
24
24
|
node
|
25
25
|
end
|
@@ -31,8 +31,8 @@ module Neo4Apis
|
|
31
31
|
node = add_node :Issue, issue, [:id, :number, :title, :body, :html_url, :comments,
|
32
32
|
:created_at, :updated_at, :closed_at]
|
33
33
|
|
34
|
-
add_relationship(:
|
35
|
-
add_relationship(:
|
34
|
+
add_relationship(:HAS_USER, node, user_node)
|
35
|
+
add_relationship(:HAS_ASSIGNEE, node, assignee_node) if assignee_node
|
36
36
|
|
37
37
|
node
|
38
38
|
end
|
@@ -44,7 +44,7 @@ module Neo4Apis
|
|
44
44
|
:position, :line, :path, :commit_id,
|
45
45
|
:created_at, :updated_at]
|
46
46
|
|
47
|
-
add_relationship(:
|
47
|
+
add_relationship(:MADE_COMMENT, user_node, node)
|
48
48
|
|
49
49
|
node
|
50
50
|
end
|
@@ -63,8 +63,8 @@ module Neo4Apis
|
|
63
63
|
end
|
64
64
|
|
65
65
|
|
66
|
-
add_relationship(:
|
67
|
-
add_relationship(:
|
66
|
+
add_relationship(:AUTHORED, author_node, node) if author_node
|
67
|
+
add_relationship(:COMMITTED, committer_node, node) if committer_node
|
68
68
|
|
69
69
|
node
|
70
70
|
end
|
data/neo4apis-github.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-github"
|
6
|
-
s.version = '0.2.
|
6
|
+
s.version = '0.2.1'
|
7
7
|
s.required_ruby_version = ">= 1.9.1"
|
8
8
|
|
9
9
|
s.authors = "Brian Underwood"
|
@@ -18,7 +18,7 @@ A ruby gem using neo4apis to make importing github data to neo4j easy
|
|
18
18
|
s.require_path = 'lib'
|
19
19
|
s.files = Dir.glob("{bin,lib,config}/**/*") + %w(README.md Gemfile neo4apis-github.gemspec)
|
20
20
|
|
21
|
-
s.add_dependency('neo4apis', "
|
21
|
+
s.add_dependency('neo4apis', ">= 0.6.0")
|
22
22
|
s.add_dependency('github_api', "~> 0.12.2")
|
23
23
|
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4apis-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Underwood
|
@@ -14,14 +14,14 @@ dependencies:
|
|
14
14
|
name: neo4apis
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|