jsontonetworkgraph 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/jsontonetworkgraph.rb +2 -1
- metadata +7 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 372cfbf3e2ba3b1bcb5e0b3cf4626a4b78880ced
|
4
|
+
data.tar.gz: 2f386f152b1287ad752b5819ab1c2ca4e37d6852
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ebaa5779781189fe6f0e5c2bddc7c4cda2e2d9948de980e2caa356dc0c5a692fa3d903c9d36691e24161f3555bd14db94ed8b2fb034bc2681fcc028b0dc9439e
|
7
|
+
data.tar.gz: 6d3dc9f6d0c76337e520823f8fc04ab09516e9f496307420236134ad6c7d8d28cda677bf415d1c84c3dd616392847f81acd4b5ecb38df11b2247766e06425543
|
data/lib/jsontonetworkgraph.rb
CHANGED
@@ -80,7 +80,7 @@ class JSONToNetworkGraph
|
|
80
80
|
|
81
81
|
# Create or update the appropriate link
|
82
82
|
def addupdateLink(fieldvalue1, fieldvalue2, i)
|
83
|
-
identifier = fieldvalue1 + "-" + fieldvalue2
|
83
|
+
identifier = fieldvalue1.to_s + "-" + fieldvalue2.to_s
|
84
84
|
if !@linkhash.include? identifier
|
85
85
|
source = @nodehash[fieldvalue1].getID
|
86
86
|
target = @nodehash[fieldvalue2].getID
|
@@ -169,3 +169,4 @@ class JSONToNetworkGraph
|
|
169
169
|
end
|
170
170
|
|
171
171
|
end
|
172
|
+
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsontonetworkgraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- M. C. McGrath
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-07-11 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Generates node and link data from any JSON.
|
15
14
|
email: shidash@shidash.com
|
@@ -23,27 +22,26 @@ files:
|
|
23
22
|
homepage: https://github.com/Shidash/JSONToNetworkGraph
|
24
23
|
licenses:
|
25
24
|
- GPL
|
25
|
+
metadata: {}
|
26
26
|
post_install_message:
|
27
27
|
rdoc_options: []
|
28
28
|
require_paths:
|
29
29
|
- lib
|
30
30
|
required_ruby_version: !ruby/object:Gem::Requirement
|
31
|
-
none: false
|
32
31
|
requirements:
|
33
|
-
- -
|
32
|
+
- - '>='
|
34
33
|
- !ruby/object:Gem::Version
|
35
34
|
version: '0'
|
36
35
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
36
|
requirements:
|
39
|
-
- -
|
37
|
+
- - '>='
|
40
38
|
- !ruby/object:Gem::Version
|
41
39
|
version: '0'
|
42
40
|
requirements: []
|
43
41
|
rubyforge_project:
|
44
|
-
rubygems_version:
|
42
|
+
rubygems_version: 2.0.14
|
45
43
|
signing_key:
|
46
|
-
specification_version:
|
44
|
+
specification_version: 4
|
47
45
|
summary: Turn JSONs into network graphs
|
48
46
|
test_files: []
|
49
47
|
has_rdoc:
|