rgl 0.6.3 → 0.6.4

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
  SHA256:
3
- metadata.gz: f9bf4828a7eabb50036be9ed0240075773066d2db007f76bc1c12db4d6ed6d58
4
- data.tar.gz: d81980c27f49848a53fdfbfaee5d754a026a022bdef18d5cb866da795d3ab6a9
3
+ metadata.gz: ed20bf9245c6126029a6cb94d629a861e906dd986dd9b81699fb749eb86e97fd
4
+ data.tar.gz: 2e5bdc84ed876eab8dda5615a915e5a3c5bf9cd3ed0b3b706d32807341ade8be
5
5
  SHA512:
6
- metadata.gz: 9dbd077be1193337f9595ed617ba68755c9cedb139edc3d56c7f5a9b1038d4473ae7e8bad522234688241db3f29fd6ddb3e580960312331f45e48e9d72bf9256
7
- data.tar.gz: 248fa85fb1329fb561967e692f720b4e62c2f0ed6eda88658f5ec3a2e489fa12704050e209dec2ca78edd9ba3343c0dbfc2a83b41f380e1cde61e994ee63307d
6
+ metadata.gz: 31a95aa3250b3250f6c6cc729fd04ae1fc5eab9ba90dacd02c63dfb2f3f6b1ca0c63b8240bb3394e85f00294f8ec1bba8613b5aad38f1832809e71d5848df479
7
+ data.tar.gz: 40d6f3d58c8e6f7b3a9af9288c3e87b3b06497279bad7a0bf4dfa3e8397e3efba2c67483b7b4de3960af7773ada891b842c1d2365ca71adb78a79bcc73a343b3
@@ -1,14 +1,32 @@
1
- 2022-08 Release 0.5.9
1
+ # Changelog
2
+
3
+ ## [0.6.4](https://www.github.com/monora/rgl/compare/v0.6.3...v0.6.4) (2023-06-19)
4
+
5
+ ### Bug Fixes
6
+
7
+ * add test case for bfs_search_tree_from (fixes [#99](https://www.github.com/monora/rgl/issues/99)) ([54f92e4](https://www.github.com/monora/rgl/commit/54f92e497c0e628c5dcdab3334ef280f6f38bfd7))
8
+ * Remove require of the file if already required ([0ef2ce5](https://www.github.com/monora/rgl/commit/0ef2ce5c43c56503268303abac40fd841c4cea43))
9
+
10
+ ## Changelog from 0.5.10 to 0.6.3
11
+
12
+ See [Releaselist in GitHub](https://github.com/monora/rgl/releases). From v0.6.4
13
+ on the Changelog is updated by
14
+ [release-please](https://github.com/googleapis/release-please#release-please)
15
+ GitHub Action (Issue #101)
16
+
17
+ ## Changelog prior 0.5.9
18
+
19
+ ### 2022-08 Release 0.5.9
2
20
 
3
21
  Dan Čermák
4
22
  * Drop lazy priority queue (#64) (3b1db1)
5
23
 
6
- 2022-06 Release 0.5.8
24
+ ### 2022-06 Release 0.5.8
7
25
 
8
26
  Horst Duchene
9
27
  * switch to github actions (56030d)
10
28
 
11
- 2020-12 Release 0.5.7
29
+ ### 2020-12 Release 0.5.7
12
30
 
13
31
  Horst Duchene
14
32
  * Fully automate dev setup with Gitpod (41dd00)
@@ -24,14 +42,14 @@ Harry Lascelles <hlascelles@users.noreply.github.com>
24
42
  Harry Lascelles
25
43
  * Add explicit license to gemspec (de3647)
26
44
 
27
- 2019-01 Release 0.5.6
45
+ ### 2019-01 Release 0.5.6
28
46
 
29
47
  Artemy Kirienko
30
48
  * PR #42 Add method Graph#path?(u, v) to check if a path exists between two vertices
31
49
  Horst Duchene
32
50
  * Fix #47 set_to_begin for graph iterator (881aa8)
33
51
 
34
- 2019-01 Release 0.5.4
52
+ ### 2019-01 Release 0.5.4
35
53
 
36
54
  Lia Skalkos
37
55
  * Enable options to be passed to #write_to_graphic_file (4ca972). For details see PR #41
@@ -42,7 +60,7 @@ Horst Duchene
42
60
  * Fix lint warnings
43
61
  * Use version stream 0.5.2
44
62
 
45
- 2017-04 Release 0.5.3
63
+ ### 2017-04 Release 0.5.3
46
64
 
47
65
  Horst Duchene
48
66
  * Issue #38: Add error handling or dot functions. (719e38, 5a3423)
@@ -52,7 +70,7 @@ Thomas Orozco
52
70
  Mario Daskalov
53
71
  * Clarify that you need graphviz in the README (35a4b4)
54
72
 
55
- 2016-05 Release 0.5.2
73
+ ### 2016-05 Release 0.5.2
56
74
 
57
75
  Horst Duchene
58
76
  * Issue #21: Use new method vertex_id instead of object_id to identify vertices in dot export. (fa7592)
@@ -65,7 +83,7 @@ Matías Battocchia
65
83
  gorn
66
84
  * Adding failing test for issue #24 (1f6204)
67
85
 
68
- 2015-12 Release 0.5.1
86
+ ### 2015-12 Release 0.5.1
69
87
 
70
88
  Horst Duchene
71
89
  * Changed edge sequence to match example picture (daa88e)
@@ -77,7 +95,7 @@ Louis Rose
77
95
  * Fix #15. Use object IDs rather than labels to identify vertexs in DOT graph
78
96
  to ensure that distinct nodes that share a label are shown. (33206f, 4fc455)
79
97
 
80
- 2014-12 Release 0.5.0
98
+ ### 2014-12 Release 0.5.0
81
99
 
82
100
  Horst Duchene
83
101
  * Changed edge sequence to match example picture (daa88e)
@@ -90,7 +108,8 @@ Louis Rose
90
108
  * Fix #15. Use object IDs rather than labels to identify vertexs in DOT graph to ensure that distinct nodes that share a label are shown. (33206f)
91
109
  * Issue #15. Fix tests. (4fc455)
92
110
 
93
- 2014-12 Release 0.5.0
111
+ ### 2014-12 Release 0.5.0
112
+
94
113
  Horst Duchene
95
114
  * Changed edge sequence to match example picture (daa88e)
96
115
  * Fixed comment (6a6c93)
@@ -103,7 +122,7 @@ Louis Rose
103
122
  shown. (33206f)
104
123
  * Issue #15. Fix tests. (4fc455)
105
124
 
106
- 2014-12 Release 0.5.0
125
+ ### 2014-12 Release 0.5.0
107
126
 
108
127
  This release mainly contains the contributions of Kirill, who added many algorithms to the library. Thank you Kirill!
109
128
 
@@ -122,27 +141,27 @@ This release mainly contains the contributions of Kirill, who added many algorit
122
141
  * @KL-7: Code clean up and configuration updates (#2)
123
142
  * @aschoerk: Renamed test-directory, (includes Rakefile), fixed TestComponents (#1)
124
143
 
125
- 2008-08-27 23:30 javanthropus
144
+ ### 2008-08-27 23:30 javanthropus
126
145
 
127
- * lib/rgl/base.rb: Preparing for 0.4.0 release
146
+ * lib/rgl/base.rb: Preparing for 0.4.0 release
128
147
 
129
- 2008-08-26 20:07 javanthropus
148
+ ### 2008-08-26 20:07 javanthropus
130
149
 
131
- * lib/rgl/dot.rb, lib/rgl/rdot.rb, tests/TestRdot.rb: Move the DOT
150
+ * lib/rgl/dot.rb, lib/rgl/rdot.rb, tests/TestRdot.rb: Move the DOT
132
151
  module into the RGL module
133
152
 
134
153
  * This eliminates a class conflict with the DOT module from rdoc
135
154
  when building RGL's documentation * Also remove the superfluous
136
155
  DOT prefixes from class names in the DOT module
137
156
 
138
- 2008-08-24 06:16 javanthropus
157
+ ### 2008-08-24 06:16 javanthropus
139
158
 
140
- * Rakefile: Remove some comments I accidentally left in while
159
+ * Rakefile: Remove some comments I accidentally left in while
141
160
  testing rdoc functionality
142
161
 
143
- 2008-08-24 06:03 javanthropus
162
+ ### 2008-08-24 06:03 javanthropus
144
163
 
145
- * Rakefile, lib/rgl/transitiv_closure.rb, lib/rgl/transitivity.rb,
164
+ * Rakefile, lib/rgl/transitiv_closure.rb, lib/rgl/transitivity.rb,
146
165
  tests/TestTransitiveClosure.rb, tests/TestTransitivity.rb:
147
166
  Feature 21641: Added transitive reduction functionality
148
167
 
@@ -153,9 +172,9 @@ This release mainly contains the contributions of Kirill, who added many algorit
153
172
  load the transitivity.rb file for backward compatibility * Moved
154
173
  all transitivity tests into TestTransitivity.rb
155
174
 
156
- 2008-08-23 15:45 javanthropus
175
+ ### 2008-08-23 15:45 javanthropus
157
176
 
158
- * lib/rgl/condensation.rb, lib/rgl/transitiv_closure.rb,
177
+ * lib/rgl/condensation.rb, lib/rgl/transitiv_closure.rb,
159
178
  tests/TestTransitiveClosure.rb: Defect 21630: Fixed transitive
160
179
  closure
161
180
 
@@ -166,74 +185,74 @@ This release mainly contains the contributions of Kirill, who added many algorit
166
185
  was added as well * More tests were added to cover more corner
167
186
  cases
168
187
 
169
- 2008-08-23 05:40 javanthropus
188
+ ### 2008-08-23 05:40 javanthropus
170
189
 
171
- * tests/TestGraph.rb: Update basic graph tests to account for
190
+ * tests/TestGraph.rb: Update basic graph tests to account for
172
191
  graphs with edgeless vertices Also clean up some minor formatting
173
192
  and assertion issues
174
193
 
175
- 2008-08-23 05:37 javanthropus
194
+ ### 2008-08-23 05:37 javanthropus
176
195
 
177
- * lib/rgl/adjacency.rb: Defect 21609: Fix the to_adjacency method
196
+ * lib/rgl/adjacency.rb: Defect 21609: Fix the to_adjacency method
178
197
  to preserve edgeless vertices
179
198
 
180
- 2008-03-18 15:03 javanthropus
199
+ ### 2008-03-18 15:03 javanthropus
181
200
 
182
- * lib/rgl/rdot.rb, tests/TestRdot.rb: More reliably detect and
201
+ * lib/rgl/rdot.rb, tests/TestRdot.rb: More reliably detect and
183
202
  handle newlines embedded within IDs and labels
184
203
 
185
- 2008-03-08 10:48 monora
204
+ ### 2008-03-08 10:48 monora
186
205
 
187
- * ChangeLog, lib/rgl/base.rb (utags: REL_0_3_1): Prepare 0.3.1
206
+ * ChangeLog, lib/rgl/base.rb (utags: REL_0_3_1): Prepare 0.3.1
188
207
  release
189
208
 
190
- 2008-03-04 20:18 monora
209
+ ### 2008-03-04 20:18 monora
191
210
 
192
- * Rakefile (tags: REL_0_3_1, REL_0_3_0): pre-tag commit
211
+ * Rakefile (tags: REL_0_3_1, REL_0_3_0): pre-tag commit
193
212
 
194
- 2008-03-02 18:16 javanthropus
213
+ ### 2008-03-02 18:16 javanthropus
195
214
 
196
- * lib/rgl/rdot.rb (tags: REL_0_3_0): IDs and labels must be
215
+ * lib/rgl/rdot.rb (tags: REL_0_3_0): IDs and labels must be
197
216
  converted to strings before processing
198
217
 
199
- 2008-03-02 17:45 javanthropus
218
+ ### 2008-03-02 17:45 javanthropus
200
219
 
201
- * lib/rgl/rdot.rb, tests/TestRdot.rb: Added documentation for
220
+ * lib/rgl/rdot.rb, tests/TestRdot.rb: Added documentation for
202
221
  rdot.rb and full test coverage
203
222
 
204
- 2008-03-02 15:19 monora
223
+ ### 2008-03-02 15:19 monora
205
224
 
206
- * README: Removed dead link to rubygarden.com
225
+ * README: Removed dead link to rubygarden.com
207
226
 
208
- 2008-03-02 15:09 monora
227
+ ### 2008-03-02 15:09 monora
209
228
 
210
- * ChangeLog, README, Rakefile (utags: REL_0_3_0): Polishing before
229
+ * ChangeLog, README, Rakefile (utags: REL_0_3_0): Polishing before
211
230
  0.3.0 release
212
231
 
213
- 2008-03-02 13:45 monora
232
+ ### 2008-03-02 13:45 monora
214
233
 
215
- * lib/rgl/: adjacency.rb, rdot.rb (utags: REL_0_3_0): Fixed
234
+ * lib/rgl/: adjacency.rb, rdot.rb (utags: REL_0_3_0): Fixed
216
235
  warnings generated by Ruby Dev Tools
217
236
 
218
- 2008-03-02 07:57 javanthropus
237
+ ### 2008-03-02 07:57 javanthropus
219
238
 
220
- * Rakefile, lib/rgl/graphxml.rb (tags: REL_0_3_0),
239
+ * Rakefile, lib/rgl/graphxml.rb (tags: REL_0_3_0),
221
240
  tests/TestGraphXML.rb (tags: REL_0_3_0): Change the way GraphML
222
241
  support is added to the MutableGraph module such that the
223
242
  interface is cleaner and documented
224
243
 
225
- 2008-03-01 20:12 javanthropus
244
+ ### 2008-03-01 20:12 javanthropus
226
245
 
227
- * lib/rgl/base.rb, tests/TestGraph.rb: Polish the documentation for
246
+ * lib/rgl/base.rb, tests/TestGraph.rb: Polish the documentation for
228
247
  and expand the test coverage of RGL::Graph
229
248
 
230
- 2008-02-27 19:44 monora
249
+ ### 2008-02-27 19:44 monora
231
250
 
232
- * README: Added link to coverage page
251
+ * README: Added link to coverage page
233
252
 
234
- 2008-02-26 06:01 javanthropus
253
+ ### 2008-02-26 06:01 javanthropus
235
254
 
236
- * lib/rgl/dot.rb, lib/rgl/rdot.rb, tests/TestDot.rb,
255
+ * lib/rgl/dot.rb, lib/rgl/rdot.rb, tests/TestDot.rb,
237
256
  tests/TestRdot.rb: All IDs for DOT objects, including names,
238
257
  options, and values, are now automatically quoted as necessary
239
258
  according to the rules documented at
@@ -248,141 +267,141 @@ This release mainly contains the contributions of Kirill, who added many algorit
248
267
  Some changes were made in order to remove explicit quotes from
249
268
  labels which are no longer necessary.
250
269
 
251
- 2008-02-17 20:15 monora
270
+ ### 2008-02-17 20:15 monora
252
271
 
253
- * lib/rgl/enumerable_ext.rb: Removed backwards compatability method
272
+ * lib/rgl/enumerable_ext.rb: Removed backwards compatability method
254
273
  inject. Ruby > 1.8 supports it out of the box.
255
274
 
256
- 2008-02-17 20:07 monora
275
+ ### 2008-02-17 20:07 monora
257
276
 
258
- * tests/: TestEdge.rb, TestDirectedGraph.rb, TestGraph.rb: Improved
277
+ * tests/: TestEdge.rb, TestDirectedGraph.rb, TestGraph.rb: Improved
259
278
  test coverage
260
279
 
261
- 2008-02-17 20:06 monora
280
+ ### 2008-02-17 20:06 monora
262
281
 
263
- * lib/rgl/adjacency.rb: fixed bug in edgelist_class
282
+ * lib/rgl/adjacency.rb: fixed bug in edgelist_class
264
283
 
265
- 2008-02-17 17:59 monora
284
+ ### 2008-02-17 17:59 monora
266
285
 
267
- * Rakefile: - added coverage task - fixed BUG #2674 - added
286
+ * Rakefile: - added coverage task - fixed BUG #2674 - added
268
287
  changelog task - use jamis buck rdoc template
269
288
 
270
- 2008-02-17 17:45 monora
289
+ ### 2008-02-17 17:45 monora
271
290
 
272
- * lib/rgl/base.rb: Changed Version to 0.3.0
291
+ * lib/rgl/base.rb: Changed Version to 0.3.0
273
292
 
274
- 2008-02-17 09:09 javanthropus
293
+ ### 2008-02-17 09:09 javanthropus
275
294
 
276
- * lib/rgl/rdot.rb: DOTSimpleElement provides no useful function, so
295
+ * lib/rgl/rdot.rb: DOTSimpleElement provides no useful function, so
277
296
  remove it
278
297
 
279
- 2008-02-17 09:08 javanthropus
298
+ ### 2008-02-17 09:08 javanthropus
280
299
 
281
- * tests/TestRdot.rb: Test that setting only the name for a DOTNode
300
+ * tests/TestRdot.rb: Test that setting only the name for a DOTNode
282
301
  does NOT set the label
283
302
 
284
- 2008-02-17 08:58 javanthropus
303
+ ### 2008-02-17 08:58 javanthropus
285
304
 
286
- * lib/rgl/rdot.rb, tests/TestRdot.rb: Add support for the Mrecord
305
+ * lib/rgl/rdot.rb, tests/TestRdot.rb: Add support for the Mrecord
287
306
  shape to DOTNode. Rewrite DOTNode#to_s to be easier to
288
307
  understand. #Rewrite DOTPort to allow for nesting ports.
289
308
 
290
- 2008-02-17 03:20 javanthropus
309
+ ### 2008-02-17 03:20 javanthropus
291
310
 
292
- * lib/rgl/rdot.rb, tests/TestRdot.rb: BUG 17964: DOTElement no
311
+ * lib/rgl/rdot.rb, tests/TestRdot.rb: BUG 17964: DOTElement no
293
312
  longer sets the label unless the user explicitly sets one
294
313
 
295
- 2008-02-17 02:56 javanthropus
314
+ ### 2008-02-17 02:56 javanthropus
296
315
 
297
- * tests/TestRdot.rb: Fix a DOTEdge test which was actually
316
+ * tests/TestRdot.rb: Fix a DOTEdge test which was actually
298
317
  retesting DOTNode
299
318
 
300
- 2008-02-16 19:58 javanthropus
319
+ ### 2008-02-16 19:58 javanthropus
301
320
 
302
- * lib/rgl/rdot.rb, tests/TestRdot.rb: BUG #17962: Subgraphs must be
321
+ * lib/rgl/rdot.rb, tests/TestRdot.rb: BUG #17962: Subgraphs must be
303
322
  identified by a "subgraph" header rather than a "graph" header
304
323
 
305
- 2008-02-13 22:32 monora
324
+ ### 2008-02-13 22:32 monora
306
325
 
307
- * tests/TestRdot.rb: Fixed typo
326
+ * tests/TestRdot.rb: Fixed typo
308
327
 
309
- 2008-02-13 22:20 monora
328
+ ### 2008-02-13 22:20 monora
310
329
 
311
- * doc/jamis.rb: Added template from Jamis Buck for rdoc. Looks
330
+ * doc/jamis.rb: Added template from Jamis Buck for rdoc. Looks
312
331
  better.
313
332
 
314
- 2008-02-12 23:37 monora
333
+ ### 2008-02-12 23:37 monora
315
334
 
316
- * lib/rgl/rdot.rb: BUG #17969: Applied patch from Jeremy Bopp.
335
+ * lib/rgl/rdot.rb: BUG #17969: Applied patch from Jeremy Bopp.
317
336
  Thanks.
318
337
 
319
- 2008-02-12 22:29 monora
338
+ ### 2008-02-12 22:29 monora
320
339
 
321
- * README: fixed require in topsort example added delicious links
340
+ * README: fixed require in topsort example added delicious links
322
341
 
323
- 2007-12-11 21:04 wsdng
342
+ ### 2007-12-11 21:04 wsdng
324
343
 
325
- * lib/rgl/rdot.rb, tests/TestRdot.rb: fixed [#16125] DOT::DOTNode
344
+ * lib/rgl/rdot.rb, tests/TestRdot.rb: fixed [#16125] DOT::DOTNode
326
345
  produces wrong DOT syntax
327
346
 
328
- 2007-12-11 00:21 wsdng
347
+ ### 2007-12-11 00:21 wsdng
329
348
 
330
- * tests/: TestDot.rb, TestRdot.rb: reproduced [#16125] DOT::DOTNode
349
+ * tests/: TestDot.rb, TestRdot.rb: reproduced [#16125] DOT::DOTNode
331
350
  produces wrong DOT syntax
332
351
 
333
- 2007-06-20 22:43 monora
352
+ ### 2007-06-20 22:43 monora
334
353
 
335
- * lib/rgl/base.rb, rakelib/dep_graph.rake: Fixed typo
354
+ * lib/rgl/base.rb, rakelib/dep_graph.rake: Fixed typo
336
355
 
337
- 2006-04-19 21:32 monora
356
+ ### 2006-04-19 21:32 monora
338
357
 
339
- * rakelib/dep_graph.rake: - Use write_to_graphic_file instead of
358
+ * rakelib/dep_graph.rake: - Use write_to_graphic_file instead of
340
359
  dotty (dotty crashes) - omit added task from vertices
341
360
 
342
- 2006-04-12 23:45 monora
361
+ ### 2006-04-12 23:45 monora
343
362
 
344
- * rakelib/dep_graph.rake: Initial checkin
363
+ * rakelib/dep_graph.rake: Initial checkin
345
364
 
346
- 2006-04-12 23:40 monora
365
+ ### 2006-04-12 23:40 monora
347
366
 
348
- * lib/rgl/bidirectional.rb: Moved to module RGL
367
+ * lib/rgl/bidirectional.rb: Moved to module RGL
349
368
 
350
- 2006-04-12 23:36 monora
369
+ ### 2006-04-12 23:36 monora
351
370
 
352
- * lib/rgl/base.rb: Moved BidirectionalGraph to own file.
371
+ * lib/rgl/base.rb: Moved BidirectionalGraph to own file.
353
372
 
354
- 2006-04-12 23:31 monora
373
+ ### 2006-04-12 23:31 monora
355
374
 
356
- * lib/rgl/: base.rb, edge.rb, graph.rb: - Merged changes from Shawn
375
+ * lib/rgl/: base.rb, edge.rb, graph.rb: - Merged changes from Shawn
357
376
  - dont want to split base.rb
358
377
 
359
- 2006-04-12 23:27 monora
378
+ ### 2006-04-12 23:27 monora
360
379
 
361
- * tests/: TestCycles.rb, TestGraph.rb, test_helper.rb,
380
+ * tests/: TestCycles.rb, TestGraph.rb, test_helper.rb,
362
381
  TestComponents.rb, TestTransitiveClosure.rb, TestTraversal.rb: -
363
382
  Merged changes from Shawn - added test_helper
364
383
 
365
- 2006-04-12 23:23 monora
384
+ ### 2006-04-12 23:23 monora
366
385
 
367
- * lib/rgl/adjacency.rb: - Merged changes from Shawn - implemented
386
+ * lib/rgl/adjacency.rb: - Merged changes from Shawn - implemented
368
387
  clone support (initialize_copy)
369
388
 
370
- 2006-04-12 23:20 monora
389
+ ### 2006-04-12 23:20 monora
371
390
 
372
- * lib/rgl/mutable.rb: Use clone instead of self.class.new(self)
391
+ * lib/rgl/mutable.rb: Use clone instead of self.class.new(self)
373
392
 
374
- 2006-04-12 23:19 monora
393
+ ### 2006-04-12 23:19 monora
375
394
 
376
- * lib/rgl/enumerable_ext.rb: Do not extend system class Array. Only
395
+ * lib/rgl/enumerable_ext.rb: Do not extend system class Array. Only
377
396
  used for testing.
378
397
 
379
- 2006-03-28 19:10 monora
398
+ ### 2006-03-28 19:10 monora
380
399
 
381
- * lib/rgl/dot.rb: Added links to graphviz.
400
+ * lib/rgl/dot.rb: Added links to graphviz.
382
401
 
383
- 2006-03-20 02:06 spgarbet
402
+ ### 2006-03-20 02:06 spgarbet
384
403
 
385
- * lib/rgl/adjacency.rb, lib/rgl/base.rb, lib/rgl/bidirectional.rb,
404
+ * lib/rgl/adjacency.rb, lib/rgl/base.rb, lib/rgl/bidirectional.rb,
386
405
  lib/rgl/edge.rb, lib/rgl/enumerable_ext.rb, lib/rgl/graph.rb,
387
406
  lib/rgl/mutable.rb, tests/TestComponents.rb, tests/TestCycles.rb,
388
407
  tests/TestGraph.rb, tests/TestTransitiveClosure.rb,
@@ -391,78 +410,78 @@ This release mainly contains the contributions of Kirill, who added many algorit
391
410
  merging of graphs. Split base into various subfiles. Added test
392
411
  cases for changes. Fixed problem with GraphXML.
393
412
 
394
- 2006-03-09 23:25 monora
413
+ ### 2006-03-09 23:25 monora
395
414
 
396
- * lib/rgl/base.rb: Fixed typo Bug #2875
415
+ * lib/rgl/base.rb: Fixed typo Bug #2875
397
416
 
398
- 2006-03-03 22:28 monora
417
+ ### 2006-03-03 22:28 monora
399
418
 
400
- * .cvsignore, .project: We now use Eclipse-RDT
419
+ * .cvsignore, .project: We now use Eclipse-RDT
401
420
 
402
- 2005-09-18 14:08 monora
421
+ ### 2005-09-18 14:08 monora
403
422
 
404
- * tests/TestComponents.rb (tags: PRE_CHECKIN_JC): Fixed required
423
+ * tests/TestComponents.rb (tags: PRE_CHECKIN_JC): Fixed required
405
424
  files.
406
425
 
407
- 2005-09-17 18:27 monora
426
+ ### 2005-09-17 18:27 monora
408
427
 
409
- * lib/rgl/base.rb (tags: PRE_CHECKIN_JC): Documentation corrected.
428
+ * lib/rgl/base.rb (tags: PRE_CHECKIN_JC): Documentation corrected.
410
429
 
411
- 2005-09-17 18:25 monora
430
+ ### 2005-09-17 18:25 monora
412
431
 
413
- * README (tags: PRE_CHECKIN_JC): Added link to delicious.
432
+ * README (tags: PRE_CHECKIN_JC): Added link to delicious.
414
433
 
415
- 2005-04-12 20:59 monora
434
+ ### 2005-04-12 20:59 monora
416
435
 
417
- * Rakefile (tags: PRE_CHECKIN_JC): corrected homepage link in
436
+ * Rakefile (tags: PRE_CHECKIN_JC): corrected homepage link in
418
437
  gemspec
419
438
 
420
- 2005-04-12 20:50 monora
439
+ ### 2005-04-12 20:50 monora
421
440
 
422
- * Makefile: rake is better than make
441
+ * Makefile: rake is better than make
423
442
 
424
- 2005-04-12 20:35 monora
443
+ ### 2005-04-12 20:35 monora
425
444
 
426
- * README (tags: REL_0_2_3): updated copyright notice
445
+ * README (tags: REL_0_2_3): updated copyright notice
427
446
 
428
- 2005-04-12 20:32 monora
447
+ ### 2005-04-12 20:32 monora
429
448
 
430
- * examples/examples.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): Added
449
+ * examples/examples.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): Added
431
450
  doc.
432
451
 
433
- 2005-04-12 18:23 monora
452
+ ### 2005-04-12 18:23 monora
434
453
 
435
- * README: Fixed some outdated links.
454
+ * README: Fixed some outdated links.
436
455
 
437
- 2005-04-05 19:54 monora
456
+ ### 2005-04-05 19:54 monora
438
457
 
439
- * ChangeLog (tags: PRE_CHECKIN_JC, REL_0_2_3): New entries
458
+ * ChangeLog (tags: PRE_CHECKIN_JC, REL_0_2_3): New entries
440
459
  generated
441
460
 
442
- 2005-03-30 21:27 monora
461
+ ### 2005-03-30 21:27 monora
443
462
 
444
- * tests/TestDirectedGraph.rb (tags: PRE_CHECKIN_JC, REL_0_2_3):
463
+ * tests/TestDirectedGraph.rb (tags: PRE_CHECKIN_JC, REL_0_2_3):
445
464
  Added test for isolated vertices in DirectedGraph#reverse.
446
465
 
447
- 2005-03-30 21:25 monora
466
+ ### 2005-03-30 21:25 monora
448
467
 
449
- * lib/rgl/adjacency.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): Fixed bug
468
+ * lib/rgl/adjacency.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): Fixed bug
450
469
  in DirectedGraph#reverse reported by Kaspar Schiess. Isolated
451
470
  vertices were not treated correctly.
452
471
 
453
- 2005-03-26 15:06 wsdng
472
+ ### 2005-03-26 15:06 wsdng
454
473
 
455
- * lib/rgl/rdot.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): added node and
474
+ * lib/rgl/rdot.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): added node and
456
475
  edge attributes
457
476
 
458
- 2005-03-22 22:31 monora
477
+ ### 2005-03-22 22:31 monora
459
478
 
460
- * Rakefile (tags: REL_0_2_3): Fixed autorequire to work with gem
479
+ * Rakefile (tags: REL_0_2_3): Fixed autorequire to work with gem
461
480
  version 0.8.8
462
481
 
463
- 2005-02-04 22:41 monora
482
+ ### 2005-02-04 22:41 monora
464
483
 
465
- * README, lib/rgl/adjacency.rb, lib/rgl/base.rb (tags: REL_0_2_3),
484
+ * README, lib/rgl/adjacency.rb, lib/rgl/base.rb (tags: REL_0_2_3),
466
485
  lib/rgl/connected_components.rb (tags: PRE_CHECKIN_JC,
467
486
  REL_0_2_3), lib/rgl/dot.rb (tags: PRE_CHECKIN_JC, REL_0_2_3),
468
487
  lib/rgl/graphxml.rb (tags: PRE_CHECKIN_JC, REL_0_2_3),
@@ -474,59 +493,59 @@ This release mainly contains the contributions of Kirill, who added many algorit
474
493
  REL_0_2_3): Fixed some formatting issues and smoothed
475
494
  documentation. Thanks to Rich Morin.
476
495
 
477
- 2004-12-13 23:33 monora
496
+ ### 2004-12-13 23:33 monora
478
497
 
479
- * Makefile, README, Rakefile, lib/rgl/base.rb, lib/rgl/graphxml.rb,
498
+ * Makefile, README, Rakefile, lib/rgl/base.rb, lib/rgl/graphxml.rb,
480
499
  lib/rgl/implicit.rb, lib/rgl/traversal.rb: Polished documentation
481
500
 
482
- 2004-12-13 21:07 monora
501
+ ### 2004-12-13 21:07 monora
483
502
 
484
- * lib/rgl/adjacency.rb, tests/TestDirectedGraph.rb,
503
+ * lib/rgl/adjacency.rb, tests/TestDirectedGraph.rb,
485
504
  tests/TestUnDirectedGraph.rb (tags: PRE_CHECKIN_JC, REL_0_2_3):
486
505
  Fixed bug in Graph#reverse reported by Sascha Ebach.
487
506
 
488
- 2004-12-12 19:09 cyent
507
+ ### 2004-12-12 19:09 cyent
489
508
 
490
- * tests/TestGraphXML.rb: Fixed bug in relative path
509
+ * tests/TestGraphXML.rb: Fixed bug in relative path
491
510
 
492
- 2004-12-12 19:08 cyent
511
+ ### 2004-12-12 19:08 cyent
493
512
 
494
- * tests/TestDirectedGraph.rb: Added test_random
513
+ * tests/TestDirectedGraph.rb: Added test_random
495
514
 
496
- 2004-12-12 19:07 cyent
515
+ ### 2004-12-12 19:07 cyent
497
516
 
498
- * lib/rgl/: adjacency.rb, base.rb, connected_components.rb,
517
+ * lib/rgl/: adjacency.rb, base.rb, connected_components.rb,
499
518
  rdot.rb: Fixed comments, removed warnings in ruby1.9 -w by adding
500
519
  attr_readers, told emacs to use tab-width 4 on these files
501
520
 
502
- 2004-12-11 23:46 monora
521
+ ### 2004-12-11 23:46 monora
503
522
 
504
- * README (tags: REL_0_2_2), Rakefile (tags: REL_0_2_2),
523
+ * README (tags: REL_0_2_2), Rakefile (tags: REL_0_2_2),
505
524
  examples/examples.rb (tags: REL_0_2_2), lib/stream.rb,
506
525
  lib/rgl/base.rb (tags: REL_0_2_2), lib/rgl/graphxml.rb (tags:
507
526
  REL_0_2_2), lib/rgl/traversal.rb (tags: REL_0_2_2),
508
527
  tests/TestGraphXML.rb (tags: PRE_CHECKIN_JC, REL_0_2_3,
509
528
  REL_0_2_2), tests/_TestGraphXML.rb: Added gem packaging.
510
529
 
511
- 2004-10-08 15:15 monora
530
+ ### 2004-10-08 15:15 monora
512
531
 
513
- * tests/runtests.rb: In new testframework not needed.
532
+ * tests/runtests.rb: In new testframework not needed.
514
533
 
515
- 2004-10-08 15:14 monora
534
+ ### 2004-10-08 15:14 monora
516
535
 
517
- * lib/utils.rb: Code move to base.rb
536
+ * lib/utils.rb: Code move to base.rb
518
537
 
519
- 2004-10-06 22:11 monora
538
+ ### 2004-10-06 22:11 monora
520
539
 
521
- * lib/rgl/base.rb: Code from utils.rb included
540
+ * lib/rgl/base.rb: Code from utils.rb included
522
541
 
523
- 2004-10-06 22:09 monora
542
+ ### 2004-10-06 22:09 monora
524
543
 
525
- * Rakefile: First start for gem preparation
544
+ * Rakefile: First start for gem preparation
526
545
 
527
- 2003-07-30 21:50 monora
546
+ ### 2003-07-30 21:50 monora
528
547
 
529
- * lib/utils.rb, lib/rgl/implicit.rb (tags: REL_0_2_2),
548
+ * lib/utils.rb, lib/rgl/implicit.rb (tags: REL_0_2_2),
530
549
  tests/TestComponents.rb (tags: REL_0_2_3, REL_0_2_2),
531
550
  tests/TestDirectedGraph.rb (tags: REL_0_2_2),
532
551
  tests/TestImplicit.rb (tags: PRE_CHECKIN_JC, REL_0_2_3,
@@ -538,47 +557,47 @@ This release mainly contains the contributions of Kirill, who added many algorit
538
557
  - port to ruby 1.8 - compiler warnings removed - set_up -> setup
539
558
  in testfiles
540
559
 
541
- 2002-11-13 21:53 monora
560
+ ### 2002-11-13 21:53 monora
542
561
 
543
- * lib/rgl/: rdot.rb, dot.rb (utags: REL_0_2_2, rforge-import):
562
+ * lib/rgl/: rdot.rb, dot.rb (utags: REL_0_2_2, rforge-import):
544
563
  Name-attribute of DOTNode has to be escaped by ".
545
564
 
546
- 2002-11-10 21:21 monora
565
+ ### 2002-11-10 21:21 monora
547
566
 
548
- * lib/: utils.rb, rgl/adjacency.rb (tags: REL_0_2_2,
567
+ * lib/: utils.rb, rgl/adjacency.rb (tags: REL_0_2_2,
549
568
  rforge-import), set.rb: Use knus compatibility library for Ruby
550
569
  1.8 esp. for set.rb and inject.
551
570
 
552
- 2002-09-22 15:58 monora
571
+ ### 2002-09-22 15:58 monora
553
572
 
554
- * lib/rgl/dot.rb: to_dot_graph now also outputs vertices.
573
+ * lib/rgl/dot.rb: to_dot_graph now also outputs vertices.
555
574
 
556
- 2002-09-22 15:57 monora
575
+ ### 2002-09-22 15:57 monora
557
576
 
558
- * lib/rgl/adjacency.rb: cosmetic.
577
+ * lib/rgl/adjacency.rb: cosmetic.
559
578
 
560
- 2002-09-17 22:58 monora
579
+ ### 2002-09-17 22:58 monora
561
580
 
562
- * Makefile (tags: REL_0_2_2, rforge-import): Added releasedoc
581
+ * Makefile (tags: REL_0_2_2, rforge-import): Added releasedoc
563
582
  target.
564
583
 
565
- 2002-09-17 22:57 monora
584
+ ### 2002-09-17 22:57 monora
566
585
 
567
- * lib/rgl/: base.rb (tags: rforge-import), implicit.rb: Fixed typo.
586
+ * lib/rgl/: base.rb (tags: rforge-import), implicit.rb: Fixed typo.
568
587
 
569
- 2002-08-29 21:20 monora
588
+ ### 2002-08-29 21:20 monora
570
589
 
571
- * ChangeLog: Changed NameError to NoVertexError.
590
+ * ChangeLog: Changed NameError to NoVertexError.
572
591
 
573
- 2002-08-29 21:17 monora
592
+ ### 2002-08-29 21:17 monora
574
593
 
575
- * tests/TestDirectedGraph.rb, tests/TestUnDirectedGraph.rb,
594
+ * tests/TestDirectedGraph.rb, tests/TestUnDirectedGraph.rb,
576
595
  lib/rgl/adjacency.rb, lib/rgl/base.rb, ChangeLog: Changed
577
596
  NameError to NoVertexError.
578
597
 
579
- 2002-08-23 22:07 monora
598
+ ### 2002-08-23 22:07 monora
580
599
 
581
- * Makefile (tags: V0_2_1), README (tags: rforge-import, V0_2_1),
600
+ * Makefile (tags: V0_2_1), README (tags: rforge-import, V0_2_1),
582
601
  examples/canvas.rb (tags: PRE_CHECKIN_JC, REL_0_2_3, REL_0_2_2,
583
602
  rforge-import, V0_2_1), examples/north/g.12.8.graphml (tags:
584
603
  PRE_CHECKIN_JC, REL_0_2_3, REL_0_2_2, rforge-import, V0_2_1),
@@ -588,6 +607,6 @@ This release mainly contains the contributions of Kirill, who added many algorit
588
607
  lib/rgl/rdot.rb (tags: V0_2_1): canvas.rb added. Collision with
589
608
  rdoc/dot.rb removed.
590
609
 
591
- 2002-08-19 21:58 monora
610
+ ### 2002-08-19 21:58 monora
592
611
 
593
- * README (tags: V0_2): Added link to SF.
612
+ * README (tags: V0_2): Added link to SF.
data/README.md CHANGED
@@ -287,11 +287,25 @@ Jeremy Bopp, John Carter, Sascha Doerdelmann, Shawn Garbett, Andreas
287
287
  Schörk, Dan Čermák, Kirill Lashuk and Markus Napp for contributing additions, test
288
288
  cases and bugfixes.
289
289
 
290
- See also: https://github.com/monora/rgl/contributors
290
+ See also the [list of contributers][5]
291
+
292
+ ## Links
293
+
294
+ - See [CHANGELOG.md][1] for major/breaking updates, and [releases][2] for a
295
+ detailed version history.
296
+ - To **contribute**, please read [CONTRIBUTING.md][4] first.
297
+ - Please [open an issue][3] if anything is missing or unclear in this
298
+ documentation.
291
299
 
292
300
  ## Copying
293
301
 
294
302
  RGL is Copyright (c) 2002,2004,2005,2008,2013,2015,2019,2020,2022,2023 by Horst
295
303
  Duchene. It is free software, and may be redistributed under the [Ruby
296
- license](https://en.wikipedia.org/wiki/Ruby_License) and terms specified in
304
+ license](.LICENSE) and terms specified in
297
305
  the LICENSE file.
306
+
307
+ [1] ./CHANGELOG.md
308
+ [2] https://github.com/monora/rgl/releases
309
+ [3] https://github.com/monora/rgl/issues/new
310
+ [4] ./.github/CONTRIBUTING.md
311
+ [5] https://github.com/monora/rgl/contributors
data/Rakefile CHANGED
@@ -1,16 +1,12 @@
1
1
  # -*- ruby -*-
2
2
 
3
- require 'rubygems'
4
3
  require 'bundler/setup'
5
-
6
- require 'rubygems/package_task'
7
-
8
4
  require 'rake/testtask'
9
5
  require 'rake/clean'
10
6
  require 'yard'
11
7
 
12
8
  $:.unshift File.join(File.dirname(__FILE__), 'lib')
13
- require 'rgl/base' # require base module to get RGL_VERSION
9
+ require 'rgl/version' # defines RGL::VERSION
14
10
 
15
11
  SOURCES = FileList['lib/**/*.rb']
16
12
 
@@ -26,13 +22,20 @@ Rake::TestTask.new do |t|
26
22
  t.verbose = true
27
23
  end
28
24
 
25
+ # Test bfs_search_tree_from in isolation, to ensure that adjacency is not loaded by other tests.
26
+ Rake::TestTask.new do |t|
27
+ t.libs << 'test'
28
+ t.pattern = 'test/traversal_bfs_require.rb'
29
+ t.verbose = true
30
+ end
31
+
29
32
  # Git tagging
30
33
 
31
34
  desc 'Commit all changes as a new version commit. Tag the commit with v<version> tag'
32
35
  task :tag do
33
- puts "Committing and tagging version #{RGL_VERSION}"
34
- `git commit -am 'Version #{RGL_VERSION}'`
35
- `git tag 'v#{RGL_VERSION}'`
36
+ puts "Committing and tagging version #{RGL::VERSION}"
37
+ `git commit -am 'Version #{RGL::VERSION}'`
38
+ `git tag 'v#{RGL::VERSION}'`
36
39
  end
37
40
 
38
41
  YARD::Rake::YardocTask.new
@@ -86,30 +89,3 @@ task :lines do
86
89
  end
87
90
  show_line('TOTAL', total_lines, total_code)
88
91
  end
89
-
90
- # simple rake task to output a changelog between two commits, tags ...
91
- # output is formatted simply, commits are grouped under each author name
92
- #
93
- desc 'generate changelog with nice clean output'
94
- task :changelog, :since_c, :until_c do |t, args|
95
- since_c = args[:since_c] || `git tag | tail -1`.chomp
96
- until_c = args[:until_c]
97
- cmd = `git log --pretty='format:%ci::%an <%ae>::%s::%H' #{since_c}..#{until_c}`
98
-
99
- entries = Hash.new
100
- changelog_content = String.new
101
-
102
- cmd.split("\n").each do |entry|
103
- _, author, subject, hash = entry.chomp.split('::')
104
- entries[author] = Array.new unless entries[author]
105
- entries[author] << "#{subject} (#{hash[0..5]})" unless subject =~ /Merge/
106
- end
107
-
108
- # generate clean output
109
- entries.keys.each do |author|
110
- changelog_content += author + "\n"
111
- entries[author].reverse.each { |entry| changelog_content += " * #{entry}\n" }
112
- end
113
-
114
- puts changelog_content
115
- end
data/lib/rgl/base.rb CHANGED
@@ -1,8 +1,5 @@
1
1
  # base.rb
2
2
 
3
- # version information
4
- RGL_VERSION = "0.6.3"
5
-
6
3
  # Module {RGL} defines the namespace for all modules and classes of the graph
7
4
  # library. The main module is {Graph} which defines the abstract behavior of
8
5
  # all graphs in the library. Other important modules or classes are:
data/lib/rgl/traversal.rb CHANGED
@@ -117,7 +117,9 @@ module RGL
117
117
  #
118
118
  # @return [DirectedAdjacencyGraph] which represents a BFS search tree starting at _v_.
119
119
  def bfs_search_tree_from(v)
120
- require 'rgl/adjacency'
120
+ unless defined?(DirectedAdjacencyGraph)
121
+ require 'rgl/adjacency'
122
+ end
121
123
  bfs = bfs_iterator(v)
122
124
  tree = DirectedAdjacencyGraph.new
123
125
 
@@ -0,0 +1,3 @@
1
+ module RGL
2
+ VERSION = "0.6.4".freeze
3
+ end
@@ -0,0 +1,29 @@
1
+ require 'test/unit'
2
+
3
+ # Do not require rgl/adjacency !
4
+ require 'rgl/traversal'
5
+ require 'rgl/implicit'
6
+
7
+ include RGL
8
+
9
+ # Cyclic graph with _n_ vertices. Need a concrete graph, that is not an AdjacencyGraph
10
+ def cycle(n)
11
+ RGL::ImplicitGraph.new { |g|
12
+ g.vertex_iterator { |b| 0.upto(n - 1, &b) }
13
+ g.adjacent_iterator { |x, b| b.call((x + 1) % n) }
14
+ g.directed = true
15
+ }
16
+ end
17
+
18
+ class TestAdjacencyNotRequired < Test::Unit::TestCase
19
+
20
+ def setup
21
+ @dg = cycle(4)
22
+ end
23
+
24
+ def test_bfs_search_tree
25
+ # bfs_search_tree_from requires rgl/adjacency if not yet loaded.
26
+ assert_equal("(1-2)(2-3)(3-0)", @dg.bfs_search_tree_from(1).edges.sort.join)
27
+ end
28
+
29
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Horst Duchene
8
8
  - Kirill Lashuk
9
- autorequire: rgl/base
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-17 00:00:00.000000000 Z
12
+ date: 2023-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: stream
@@ -29,16 +29,16 @@ dependencies:
29
29
  name: pairing_heap
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.3.0
34
+ version: '0.3'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.3.0
41
+ version: '0.3'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rexml
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -63,44 +63,44 @@ dependencies:
63
63
  name: rake
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '13.0'
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '13.0'
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: yard
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '0.9'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '0.9'
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: test-unit
92
92
  requirement: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '3.5'
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '3.5'
104
104
  description: RGL is a framework for graph data structures and algorithms
105
105
  email: monora@gmail.com
106
106
  executables: []
@@ -108,13 +108,12 @@ extensions: []
108
108
  extra_rdoc_files:
109
109
  - README.md
110
110
  files:
111
- - ChangeLog
111
+ - CHANGELOG.md
112
112
  - Gemfile
113
113
  - README.md
114
114
  - Rakefile
115
115
  - examples/canvas.rb
116
116
  - examples/examples.rb
117
- - examples/graph.dot
118
117
  - examples/insel_der_tausend_gefahren.rb
119
118
  - examples/north.rb
120
119
  - examples/north/Graph.log
@@ -214,6 +213,7 @@ files:
214
213
  - lib/rgl/transitiv_closure.rb
215
214
  - lib/rgl/transitivity.rb
216
215
  - lib/rgl/traversal.rb
216
+ - lib/rgl/version.rb
217
217
  - rakelib/dep_graph.rake
218
218
  - test/bellman_ford_test.rb
219
219
  - test/bidirectional_graph_test.rb
@@ -235,13 +235,14 @@ files:
235
235
  - test/rdot_test.rb
236
236
  - test/test_helper.rb
237
237
  - test/transitivity_test.rb
238
+ - test/traversal_bfs_require.rb
238
239
  - test/traversal_test.rb
239
240
  - test/undirected_graph_test.rb
240
241
  homepage: https://github.com/monora/rgl
241
242
  licenses:
242
- - ruby
243
+ - Ruby
243
244
  metadata: {}
244
- post_install_message:
245
+ post_install_message:
245
246
  rdoc_options:
246
247
  - "--title"
247
248
  - RGL - Ruby Graph Library
@@ -262,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
263
  version: '0'
263
264
  requirements: []
264
265
  rubygems_version: 3.4.1
265
- signing_key:
266
+ signing_key:
266
267
  specification_version: 4
267
268
  summary: Ruby Graph Library
268
269
  test_files: []
data/examples/graph.dot DELETED
@@ -1,55 +0,0 @@
1
- digraph RGL__DirectedAdjacencyGraph {
2
- 1 [
3
- fontsize = 8,
4
- label = 1
5
- ]
6
-
7
- 2 [
8
- fontsize = 8,
9
- label = 2
10
- ]
11
-
12
- 3 [
13
- fontsize = 8,
14
- label = 3
15
- ]
16
-
17
- 4 [
18
- fontsize = 8,
19
- label = 4
20
- ]
21
-
22
- 5 [
23
- fontsize = 8,
24
- label = 5
25
- ]
26
-
27
- 6 [
28
- fontsize = 8,
29
- label = 6
30
- ]
31
-
32
- 1 -> 2 [
33
- fontsize = 8
34
- ]
35
-
36
- 1 -> 6 [
37
- fontsize = 8
38
- ]
39
-
40
- 2 -> 3 [
41
- fontsize = 8
42
- ]
43
-
44
- 2 -> 4 [
45
- fontsize = 8
46
- ]
47
-
48
- 4 -> 5 [
49
- fontsize = 8
50
- ]
51
-
52
- 6 -> 4 [
53
- fontsize = 8
54
- ]
55
- }