neo4apis-github 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 774300728dd1f077c28e03d0a8e6a1e8bca049b1
4
- data.tar.gz: 6126f205ac27fced87b2180fd7b6bb60fa31774a
3
+ metadata.gz: 69be2696abf85091df897de46aa74a0cc1c7cb27
4
+ data.tar.gz: 453a89da81ea8567fc210b54d061c4f80b808e1b
5
5
  SHA512:
6
- metadata.gz: d81101e1fe724e1a3a6b5d08cc948da26d6c0012352ba838e71a7c26eb07843bc5104bc7257ae8310cee0fc7f636a117357426f09c37f0955ce46644a5113378
7
- data.tar.gz: 38c8559351c256bf6abdc50ce088957eed2a582d4cd1af5b4268f8031664865d95d5e9b07f6ea2d84115c0e38968d593388ce7ad67aa5e32274f4edecacbda3e
6
+ metadata.gz: 0c94949254c5372a5c7ec5f3d2f1484d74dbbaeab0829bd38c840fc8257298acba1ad09487f92300fbf0b145579ddbe4943447ce931618b1586b996de2a9f3bf
7
+ data.tar.gz: 2980ae0880bf0083cfddee7102550f57fd616e6d25f5afd5b3f261cea2e64ba273894179c6033b268bf5a75adfa2e56deae30d3c085595a78767b49c3752def1
@@ -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(:has_owner, node, owner_node)
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(:has_user, node, user_node)
35
- add_relationship(:has_assignee, node, assignee_node) if assignee_node
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(:made_comment, user_node, node)
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(:authored, node, author_node) if author_node
67
- add_relationship(:committed, node, committer_node) if committer_node
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
@@ -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.0'
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', "~> 0.6.0")
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.0
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