simple_graph 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.
@@ -1,203 +1,203 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
- <meta charset="utf-8" />
6
-
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
-
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
-
11
-
12
-
13
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
-
17
-
18
- <title>Method List</title>
19
- <base id="base_target" target="_parent" />
20
- </head>
21
- <body>
22
- <div id="content">
23
- <div class="fixed_header">
24
- <h1 id="full_list_header">Method List</h1>
25
- <div id="full_list_nav">
26
-
27
- <span><a target="_self" href="class_list.html">
28
- Classes
29
- </a></span>
30
-
31
- <span><a target="_self" href="method_list.html">
32
- Methods
33
- </a></span>
34
-
35
- <span><a target="_self" href="file_list.html">
36
- Files
37
- </a></span>
38
-
39
- </div>
40
-
41
- <div id="search">Search: <input type="text" /></div>
42
- </div>
43
-
44
- <ul id="full_list" class="method">
45
-
46
-
47
- <li class="odd ">
48
- <div class="item">
49
- <span class='object_link'><a href="SimpleGraph/Graph/Node.html#add_neighbor-instance_method" title="SimpleGraph::Graph::Node#add_neighbor (method)">#add_neighbor</a></span>
50
- <small>SimpleGraph::Graph::Node</small>
51
- </div>
52
- </li>
53
-
54
-
55
- <li class="even ">
56
- <div class="item">
57
- <span class='object_link'><a href="SimpleGraph/Graph.html#add_node-instance_method" title="SimpleGraph::Graph#add_node (method)">#add_node</a></span>
58
- <small>SimpleGraph::Graph</small>
59
- </div>
60
- </li>
61
-
62
-
63
- <li class="odd ">
64
- <div class="item">
65
- <span class='object_link'><a href="SimpleGraph/Graph.html#are_connected%3F-instance_method" title="SimpleGraph::Graph#are_connected? (method)">#are_connected?</a></span>
66
- <small>SimpleGraph::Graph</small>
67
- </div>
68
- </li>
69
-
70
-
71
- <li class="even ">
72
- <div class="item">
73
- <span class='object_link'><a href="SimpleGraph/Graph.html#clear-instance_method" title="SimpleGraph::Graph#clear (method)">#clear</a></span>
74
- <small>SimpleGraph::Graph</small>
75
- </div>
76
- </li>
77
-
78
-
79
- <li class="odd ">
80
- <div class="item">
81
- <span class='object_link'><a href="SimpleGraph/Graph.html#connect_nodes-instance_method" title="SimpleGraph::Graph#connect_nodes (method)">#connect_nodes</a></span>
82
- <small>SimpleGraph::Graph</small>
83
- </div>
84
- </li>
85
-
86
-
87
- <li class="even ">
88
- <div class="item">
89
- <span class='object_link'><a href="SimpleGraph/Graph/Node.html#data-instance_method" title="SimpleGraph::Graph::Node#data (method)">#data</a></span>
90
- <small>SimpleGraph::Graph::Node</small>
91
- </div>
92
- </li>
93
-
94
-
95
- <li class="odd ">
96
- <div class="item">
97
- <span class='object_link'><a href="SimpleGraph/Graph.html#delete_node-instance_method" title="SimpleGraph::Graph#delete_node (method)">#delete_node</a></span>
98
- <small>SimpleGraph::Graph</small>
99
- </div>
100
- </li>
101
-
102
-
103
- <li class="even ">
104
- <div class="item">
105
- <span class='object_link'><a href="SimpleGraph/Graph.html#find_paths-instance_method" title="SimpleGraph::Graph#find_paths (method)">#find_paths</a></span>
106
- <small>SimpleGraph::Graph</small>
107
- </div>
108
- </li>
109
-
110
-
111
- <li class="odd ">
112
- <div class="item">
113
- <span class='object_link'><a href="SimpleGraph/Graph/Node.html#id-instance_method" title="SimpleGraph::Graph::Node#id (method)">#id</a></span>
114
- <small>SimpleGraph::Graph::Node</small>
115
- </div>
116
- </li>
117
-
118
-
119
- <li class="even ">
120
- <div class="item">
121
- <span class='object_link'><a href="SimpleGraph/Graph.html#include%3F-instance_method" title="SimpleGraph::Graph#include? (method)">#include?</a></span>
122
- <small>SimpleGraph::Graph</small>
123
- </div>
124
- </li>
125
-
126
-
127
- <li class="odd ">
128
- <div class="item">
129
- <span class='object_link'><a href="SimpleGraph/Graph.html#initialize-instance_method" title="SimpleGraph::Graph#initialize (method)">#initialize</a></span>
130
- <small>SimpleGraph::Graph</small>
131
- </div>
132
- </li>
133
-
134
-
135
- <li class="even ">
136
- <div class="item">
137
- <span class='object_link'><a href="SimpleGraph/Graph/Node.html#initialize-instance_method" title="SimpleGraph::Graph::Node#initialize (method)">#initialize</a></span>
138
- <small>SimpleGraph::Graph::Node</small>
139
- </div>
140
- </li>
141
-
142
-
143
- <li class="odd ">
144
- <div class="item">
145
- <span class='object_link'><a href="SimpleGraph/Graph.html#load_from_json-instance_method" title="SimpleGraph::Graph#load_from_json (method)">#load_from_json</a></span>
146
- <small>SimpleGraph::Graph</small>
147
- </div>
148
- </li>
149
-
150
-
151
- <li class="even ">
152
- <div class="item">
153
- <span class='object_link'><a href="SimpleGraph/Graph/Node.html#neighbors-instance_method" title="SimpleGraph::Graph::Node#neighbors (method)">#neighbors</a></span>
154
- <small>SimpleGraph::Graph::Node</small>
155
- </div>
156
- </li>
157
-
158
-
159
- <li class="odd ">
160
- <div class="item">
161
- <span class='object_link'><a href="SimpleGraph/Graph.html#node_count-instance_method" title="SimpleGraph::Graph#node_count (method)">#node_count</a></span>
162
- <small>SimpleGraph::Graph</small>
163
- </div>
164
- </li>
165
-
166
-
167
- <li class="even ">
168
- <div class="item">
169
- <span class='object_link'><a href="SimpleGraph/Graph.html#node_ids-instance_method" title="SimpleGraph::Graph#node_ids (method)">#node_ids</a></span>
170
- <small>SimpleGraph::Graph</small>
171
- </div>
172
- </li>
173
-
174
-
175
- <li class="odd ">
176
- <div class="item">
177
- <span class='object_link'><a href="SimpleGraph/Graph.html#nodes-instance_method" title="SimpleGraph::Graph#nodes (method)">#nodes</a></span>
178
- <small>SimpleGraph::Graph</small>
179
- </div>
180
- </li>
181
-
182
-
183
- <li class="even ">
184
- <div class="item">
185
- <span class='object_link'><a href="SimpleGraph/Graph.html#to_dot_string-instance_method" title="SimpleGraph::Graph#to_dot_string (method)">#to_dot_string</a></span>
186
- <small>SimpleGraph::Graph</small>
187
- </div>
188
- </li>
189
-
190
-
191
- <li class="odd ">
192
- <div class="item">
193
- <span class='object_link'><a href="SimpleGraph/Graph.html#to_json-instance_method" title="SimpleGraph::Graph#to_json (method)">#to_json</a></span>
194
- <small>SimpleGraph::Graph</small>
195
- </div>
196
- </li>
197
-
198
-
199
-
200
- </ul>
201
- </div>
202
- </body>
203
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+ <meta charset="utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
18
+ <title>Method List</title>
19
+ <base id="base_target" target="_parent" />
20
+ </head>
21
+ <body>
22
+ <div id="content">
23
+ <div class="fixed_header">
24
+ <h1 id="full_list_header">Method List</h1>
25
+ <div id="full_list_nav">
26
+
27
+ <span><a target="_self" href="class_list.html">
28
+ Classes
29
+ </a></span>
30
+
31
+ <span><a target="_self" href="method_list.html">
32
+ Methods
33
+ </a></span>
34
+
35
+ <span><a target="_self" href="file_list.html">
36
+ Files
37
+ </a></span>
38
+
39
+ </div>
40
+
41
+ <div id="search">Search: <input type="text" /></div>
42
+ </div>
43
+
44
+ <ul id="full_list" class="method">
45
+
46
+
47
+ <li class="odd ">
48
+ <div class="item">
49
+ <span class='object_link'><a href="SimpleGraph/Graph/Node.html#add_neighbor-instance_method" title="SimpleGraph::Graph::Node#add_neighbor (method)">#add_neighbor</a></span>
50
+ <small>SimpleGraph::Graph::Node</small>
51
+ </div>
52
+ </li>
53
+
54
+
55
+ <li class="even ">
56
+ <div class="item">
57
+ <span class='object_link'><a href="SimpleGraph/Graph.html#add_node-instance_method" title="SimpleGraph::Graph#add_node (method)">#add_node</a></span>
58
+ <small>SimpleGraph::Graph</small>
59
+ </div>
60
+ </li>
61
+
62
+
63
+ <li class="odd ">
64
+ <div class="item">
65
+ <span class='object_link'><a href="SimpleGraph/Graph.html#are_connected%3F-instance_method" title="SimpleGraph::Graph#are_connected? (method)">#are_connected?</a></span>
66
+ <small>SimpleGraph::Graph</small>
67
+ </div>
68
+ </li>
69
+
70
+
71
+ <li class="even ">
72
+ <div class="item">
73
+ <span class='object_link'><a href="SimpleGraph/Graph.html#clear-instance_method" title="SimpleGraph::Graph#clear (method)">#clear</a></span>
74
+ <small>SimpleGraph::Graph</small>
75
+ </div>
76
+ </li>
77
+
78
+
79
+ <li class="odd ">
80
+ <div class="item">
81
+ <span class='object_link'><a href="SimpleGraph/Graph.html#connect_nodes-instance_method" title="SimpleGraph::Graph#connect_nodes (method)">#connect_nodes</a></span>
82
+ <small>SimpleGraph::Graph</small>
83
+ </div>
84
+ </li>
85
+
86
+
87
+ <li class="even ">
88
+ <div class="item">
89
+ <span class='object_link'><a href="SimpleGraph/Graph/Node.html#data-instance_method" title="SimpleGraph::Graph::Node#data (method)">#data</a></span>
90
+ <small>SimpleGraph::Graph::Node</small>
91
+ </div>
92
+ </li>
93
+
94
+
95
+ <li class="odd ">
96
+ <div class="item">
97
+ <span class='object_link'><a href="SimpleGraph/Graph.html#delete_node-instance_method" title="SimpleGraph::Graph#delete_node (method)">#delete_node</a></span>
98
+ <small>SimpleGraph::Graph</small>
99
+ </div>
100
+ </li>
101
+
102
+
103
+ <li class="even ">
104
+ <div class="item">
105
+ <span class='object_link'><a href="SimpleGraph/Graph.html#find_paths-instance_method" title="SimpleGraph::Graph#find_paths (method)">#find_paths</a></span>
106
+ <small>SimpleGraph::Graph</small>
107
+ </div>
108
+ </li>
109
+
110
+
111
+ <li class="odd ">
112
+ <div class="item">
113
+ <span class='object_link'><a href="SimpleGraph/Graph/Node.html#id-instance_method" title="SimpleGraph::Graph::Node#id (method)">#id</a></span>
114
+ <small>SimpleGraph::Graph::Node</small>
115
+ </div>
116
+ </li>
117
+
118
+
119
+ <li class="even ">
120
+ <div class="item">
121
+ <span class='object_link'><a href="SimpleGraph/Graph.html#include%3F-instance_method" title="SimpleGraph::Graph#include? (method)">#include?</a></span>
122
+ <small>SimpleGraph::Graph</small>
123
+ </div>
124
+ </li>
125
+
126
+
127
+ <li class="odd ">
128
+ <div class="item">
129
+ <span class='object_link'><a href="SimpleGraph/Graph.html#initialize-instance_method" title="SimpleGraph::Graph#initialize (method)">#initialize</a></span>
130
+ <small>SimpleGraph::Graph</small>
131
+ </div>
132
+ </li>
133
+
134
+
135
+ <li class="even ">
136
+ <div class="item">
137
+ <span class='object_link'><a href="SimpleGraph/Graph/Node.html#initialize-instance_method" title="SimpleGraph::Graph::Node#initialize (method)">#initialize</a></span>
138
+ <small>SimpleGraph::Graph::Node</small>
139
+ </div>
140
+ </li>
141
+
142
+
143
+ <li class="odd ">
144
+ <div class="item">
145
+ <span class='object_link'><a href="SimpleGraph/Graph.html#load_from_json-instance_method" title="SimpleGraph::Graph#load_from_json (method)">#load_from_json</a></span>
146
+ <small>SimpleGraph::Graph</small>
147
+ </div>
148
+ </li>
149
+
150
+
151
+ <li class="even ">
152
+ <div class="item">
153
+ <span class='object_link'><a href="SimpleGraph/Graph/Node.html#neighbors-instance_method" title="SimpleGraph::Graph::Node#neighbors (method)">#neighbors</a></span>
154
+ <small>SimpleGraph::Graph::Node</small>
155
+ </div>
156
+ </li>
157
+
158
+
159
+ <li class="odd ">
160
+ <div class="item">
161
+ <span class='object_link'><a href="SimpleGraph/Graph.html#node_count-instance_method" title="SimpleGraph::Graph#node_count (method)">#node_count</a></span>
162
+ <small>SimpleGraph::Graph</small>
163
+ </div>
164
+ </li>
165
+
166
+
167
+ <li class="even ">
168
+ <div class="item">
169
+ <span class='object_link'><a href="SimpleGraph/Graph.html#node_ids-instance_method" title="SimpleGraph::Graph#node_ids (method)">#node_ids</a></span>
170
+ <small>SimpleGraph::Graph</small>
171
+ </div>
172
+ </li>
173
+
174
+
175
+ <li class="odd ">
176
+ <div class="item">
177
+ <span class='object_link'><a href="SimpleGraph/Graph.html#nodes-instance_method" title="SimpleGraph::Graph#nodes (method)">#nodes</a></span>
178
+ <small>SimpleGraph::Graph</small>
179
+ </div>
180
+ </li>
181
+
182
+
183
+ <li class="even ">
184
+ <div class="item">
185
+ <span class='object_link'><a href="SimpleGraph/Graph.html#to_dot_string-instance_method" title="SimpleGraph::Graph#to_dot_string (method)">#to_dot_string</a></span>
186
+ <small>SimpleGraph::Graph</small>
187
+ </div>
188
+ </li>
189
+
190
+
191
+ <li class="odd ">
192
+ <div class="item">
193
+ <span class='object_link'><a href="SimpleGraph/Graph.html#to_json-instance_method" title="SimpleGraph::Graph#to_json (method)">#to_json</a></span>
194
+ <small>SimpleGraph::Graph</small>
195
+ </div>
196
+ </li>
197
+
198
+
199
+
200
+ </ul>
201
+ </div>
202
+ </body>
203
+ </html>
@@ -1,110 +1,110 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Top Level Namespace
8
-
9
- &mdash; Documentation by YARD 0.9.9
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "";
19
- relpath = '';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="_index.html">Index</a> &raquo;
40
-
41
-
42
- <span class="title">Top Level Namespace</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Top Level Namespace
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- </div>
80
-
81
- <h2>Defined Under Namespace</h2>
82
- <p class="children">
83
-
84
-
85
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="SimpleGraph.html" title="SimpleGraph (module)">SimpleGraph</a></span>
86
-
87
-
88
-
89
-
90
- </p>
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- </div>
101
-
102
- <div id="footer">
103
- Generated on Fri Nov 24 04:49:18 2017 by
104
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
- 0.9.9 (ruby-2.3.1).
106
- </div>
107
-
108
- </div>
109
- </body>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Top Level Namespace
8
+
9
+ &mdash; Documentation by YARD 0.9.9
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index</a> &raquo;
40
+
41
+
42
+ <span class="title">Top Level Namespace</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Top Level Namespace
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ </div>
80
+
81
+ <h2>Defined Under Namespace</h2>
82
+ <p class="children">
83
+
84
+
85
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="SimpleGraph.html" title="SimpleGraph (module)">SimpleGraph</a></span>
86
+
87
+
88
+
89
+
90
+ </p>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ </div>
101
+
102
+ <div id="footer">
103
+ Generated on Wed Dec 6 15:09:43 2017 by
104
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
+ 0.9.9 (ruby-2.3.1).
106
+ </div>
107
+
108
+ </div>
109
+ </body>
110
110
  </html>
@@ -1,4 +1,4 @@
1
1
  module SimpleGraph
2
2
  # A constant specifying the current gem version number
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
data/simple_graph.gemspec CHANGED
@@ -20,6 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
+ spec.add_runtime_dependency "json", "~> 2.1", ">= 2.1.0"
24
+
23
25
  spec.add_development_dependency "bundler", "~> 1.15"
24
26
  spec.add_development_dependency "pry"
25
27
  spec.add_development_dependency "rake", "~> 10.0"