rgl 0.6.5 → 0.6.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9d6f6346cda8a821fd876726e57a934fc623cd13215a193300bcddb294fd76a
4
- data.tar.gz: 1399ad6bd527ae47cff2e217b26a6aa6917c292977a12e50533aa4121cd9cbdd
3
+ metadata.gz: ab68217bce9e81fd6fb24e82afec5fd8c17da969b41f4a0de1e726154a48273d
4
+ data.tar.gz: 4023182c69bb8ba4047cdc648f214731e7a40214c0708efdb6b19a857b1848d4
5
5
  SHA512:
6
- metadata.gz: e189596f1584aad13cc2527bb49fb9005ebc094fe0580f8ce754b612850ee9a74e777528075738f1b31114591edbd3fc8292c96f077f98ab4bfe46b717b6a7ad
7
- data.tar.gz: b150e61bcc1190a298f1f7f7eb8ca9eb58c5603fedf0c58605872d10eda979bc6418da7e5578e5aa506cc3f772a12499756d9b2da9ebef353fcafe6643b05ffe
6
+ metadata.gz: 57b13a123811a27b3cf34ef6a1a4d08878598fe016edc05904f1e206b799163218b6fd420260e786ce62f3f8cba99d026386f1da98a1cb719085be46faec1e13
7
+ data.tar.gz: 02ddf214c5628170e39408a71462ef407e01f4a7bc9df7d77e67f2403038b4b169a5c63d03f176f293386dff81232171d7e4d5c639fc28f93ac12b8c2833e284
data/CHANGELOG.md CHANGED
@@ -1,619 +1,76 @@
1
1
  # Changelog
2
2
 
3
- ### [0.6.5](https://www.github.com/monora/rgl/compare/v0.6.4...v0.6.5) (2023-06-19)
3
+ ## [0.6.7](https://github.com/monora/rgl/compare/v0.6.6...v0.6.7) (2026-05-10)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
8
- * README links ([#114](https://www.github.com/monora/rgl/issues/114)) ([682e4e6](https://www.github.com/monora/rgl/commit/682e4e6f3786dc5419ce8d8bff92d4006e95be0d))
8
+ * command injection in write_to_graphic_file ([#154](https://github.com/monora/rgl/issues/154)) ([3ebdd43](https://github.com/monora/rgl/commit/3ebdd434ba9c6fd1ab72925fcaee8052a1086c30))
9
9
 
10
- ## [0.6.4](https://www.github.com/monora/rgl/compare/v0.6.3...v0.6.4) (2023-06-19)
10
+ ## [0.6.7](https://github.com/monora/rgl/compare/v0.6.6...v0.6.7) (2026-05-10)
11
11
 
12
12
  ### Bug Fixes
13
13
 
14
- * 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))
15
- * Remove require of the file if already required ([0ef2ce5](https://www.github.com/monora/rgl/commit/0ef2ce5c43c56503268303abac40fd841c4cea43))
16
-
17
- ## Changelog from 0.5.10 to 0.6.3
18
-
19
- See [Releaselist in GitHub](https://github.com/monora/rgl/releases). From v0.6.4
20
- on the Changelog is updated by
21
- [release-please](https://github.com/googleapis/release-please#release-please)
22
- GitHub Action (Issue #101)
23
-
24
- ## Changelog prior 0.5.9
25
-
26
- ### 2022-08 Release 0.5.9
27
-
28
- Dan Čermák
29
- * Drop lazy priority queue (#64) (3b1db1)
30
-
31
- ### 2022-06 Release 0.5.8
32
-
33
- Horst Duchene
34
- * switch to github actions (56030d)
35
-
36
- ### 2020-12 Release 0.5.7
37
-
38
- Horst Duchene
39
- * Fully automate dev setup with Gitpod (41dd00)
40
- * Add Dockerfile to install graphviz (2bd738)
41
- * Examples do not call dotty (6bba96)
42
- * Add ruby license file (a21aa5)
43
- ujihisa <ujihisa@users.noreply.github.com>
44
- * Test against Ruby 2.6 and 2.7 as well (50ac7c)
45
- * Fix dead links (9184f3)
46
- Harry Lascelles <hlascelles@users.noreply.github.com>
47
- * Update .travis.yml (45b9a2)
48
- * Make the links more explicit (95dc3b)
49
- Harry Lascelles
50
- * Add explicit license to gemspec (de3647)
51
-
52
- ### 2019-01 Release 0.5.6
53
-
54
- Artemy Kirienko
55
- * PR #42 Add method Graph#path?(u, v) to check if a path exists between two vertices
56
- Horst Duchene
57
- * Fix #47 set_to_begin for graph iterator (881aa8)
58
-
59
- ### 2019-01 Release 0.5.4
60
-
61
- Lia Skalkos
62
- * Enable options to be passed to #write_to_graphic_file (4ca972). For details see PR #41
63
- Horst Duchene
64
- * Fix travis-ci errors
65
- * Add new ruby versions
66
- * Fix gemspec errors
67
- * Fix lint warnings
68
- * Use version stream 0.5.2
69
-
70
- ### 2017-04 Release 0.5.3
71
-
72
- Horst Duchene
73
- * Issue #38: Add error handling or dot functions. (719e38, 5a3423)
74
- Thomas Orozco
75
- * Remove Enumerable Extension (fde8a5)
76
- * Update to codeclimate-test-reporter 1.x (25fdb5)
77
- Mario Daskalov
78
- * Clarify that you need graphviz in the README (35a4b4)
79
-
80
- ### 2016-05 Release 0.5.2
81
-
82
- Horst Duchene
83
- * Issue #21: Use new method vertex_id instead of object_id to identify vertices in dot export. (fa7592)
84
- * Integrate Code Climate's test coverage reporting (0ab722)
85
- * Clarify traversal order of DFS search (see #20). (afa788)
86
- Chase Gilliam
87
- * drop 1.9.3 add newer jruby and rubinius (fad333)
88
- Matías Battocchia
89
- * Switched to a different heap implementation. (bd7c13)
90
- gorn
91
- * Adding failing test for issue #24 (1f6204)
92
-
93
- ### 2015-12 Release 0.5.1
94
-
95
- Horst Duchene
96
- * Changed edge sequence to match example picture (daa88e)
97
-
98
- Chase
99
- * updated algorithms to 6.1 and added test unit to support newer rubies (fbd874)
100
-
101
- Louis Rose
102
- * Fix #15. Use object IDs rather than labels to identify vertexs in DOT graph
103
- to ensure that distinct nodes that share a label are shown. (33206f, 4fc455)
104
-
105
- ### 2014-12 Release 0.5.0
106
-
107
- Horst Duchene
108
- * Changed edge sequence to match example picture (daa88e)
109
- * Fixed comment (6a6c93)
110
- * Fixed spelling (7ca281)
111
- Horst Duchêne
112
- Chase
113
- * updated algorithms to 6.1 and added test unit to support newer rubies (fbd874)
114
- Louis Rose
115
- * 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)
116
- * Issue #15. Fix tests. (4fc455)
14
+ * Fix command injection vulnerability in `write_to_graphic_file` ([#154](https://github.com/monora/rgl/issues/154))
117
15
 
118
- ### 2014-12 Release 0.5.0
16
+ ### Improvements
119
17
 
120
- Horst Duchene
121
- * Changed edge sequence to match example picture (daa88e)
122
- * Fixed comment (6a6c93)
123
- * Fixed spelling (7ca281)
124
- Chase
125
- * updated algorithms to 6.1 and added test unit to support newer rubies (fbd874)
126
- Louis Rose
127
- * Fix #15. Use object IDs rather than labels to identify vertexs
128
- in DOT graph to ensure that distinct nodes that share a label are
129
- shown. (33206f)
130
- * Issue #15. Fix tests. (4fc455)
18
+ * Allow `class` attribute in SVG output via Graphviz ([#142](https://github.com/monora/rgl/issues/142))
19
+ * Ruby code modernization: frozen string literals, keyword arguments ([#160](https://github.com/monora/rgl/issues/160))
131
20
 
132
- ### 2014-12 Release 0.5.0
21
+ ### Maintenance
133
22
 
134
- This release mainly contains the contributions of Kirill, who added many algorithms to the library. Thank you Kirill!
23
+ * Modernize gemspec ([#158](https://github.com/monora/rgl/issues/158))
24
+ * Update CI matrix, remove stale dev environment files ([#157](https://github.com/monora/rgl/issues/157))
25
+ * Repository cleanup ([#156](https://github.com/monora/rgl/issues/156))
26
+ * Fix outdated links, typos, and missing community files ([#159](https://github.com/monora/rgl/issues/159))
135
27
 
136
- * @matiaskorhonen: Fixes the image paths in the README (#14)
137
- * @monora: Implicit graph example fails (#13)
138
- * @KL-7: Implement Graph#bipartite_sets. (#12)
139
- * @monora: syntax error in dot file for undirected graph (#11)
140
- * @KL-7: Edmonds-Karp algorithm for maximum flow (#10)
141
- * @KL-7: Prim's algorithm for minimum spanning tree (#9)
142
- * @carlosantoniodasilva: Run tests on Ruby 2.0 and remove deprecation warning (#8)
143
- * @KL-7: Bellman-Ford shortest paths algorithm (#7)
144
- * @KL-7: Minor improvements (asserts) for Dijkstra algorithm (#6)
145
- * @KL-7: Add Dijkstra shortest path algorithm. (#5)
146
- * @KL-7: Indentation and whitespaces clean up of examples (#4)
147
- * @KL-7: Travis configuration and README updates (#3)
148
- * @KL-7: Code clean up and configuration updates (#2)
149
- * @aschoerk: Renamed test-directory, (includes Rakefile), fixed TestComponents (#1)
28
+ ## [0.6.6](https://github.com/monora/rgl/compare/v0.6.5...v0.6.6) (2023-07-10)
150
29
 
151
- ### 2008-08-27 23:30 javanthropus
152
-
153
- * lib/rgl/base.rb: Preparing for 0.4.0 release
154
-
155
- ### 2008-08-26 20:07 javanthropus
156
-
157
- * lib/rgl/dot.rb, lib/rgl/rdot.rb, tests/TestRdot.rb: Move the DOT
158
- module into the RGL module
159
-
160
- * This eliminates a class conflict with the DOT module from rdoc
161
- when building RGL's documentation * Also remove the superfluous
162
- DOT prefixes from class names in the DOT module
163
-
164
- ### 2008-08-24 06:16 javanthropus
165
-
166
- * Rakefile: Remove some comments I accidentally left in while
167
- testing rdoc functionality
168
-
169
- ### 2008-08-24 06:03 javanthropus
170
-
171
- * Rakefile, lib/rgl/transitiv_closure.rb, lib/rgl/transitivity.rb,
172
- tests/TestTransitiveClosure.rb, tests/TestTransitivity.rb:
173
- Feature 21641: Added transitive reduction functionality
174
-
175
- * Updated the gem description to announce this functionality *
176
- Moved the transitive closure functionality into the
177
- transitivity.rb file along with the transitive reduction
178
- funtionality * Modifed the transitiv_closure.rb file to simply
179
- load the transitivity.rb file for backward compatibility * Moved
180
- all transitivity tests into TestTransitivity.rb
181
-
182
- ### 2008-08-23 15:45 javanthropus
183
-
184
- * lib/rgl/condensation.rb, lib/rgl/transitiv_closure.rb,
185
- tests/TestTransitiveClosure.rb: Defect 21630: Fixed transitive
186
- closure
187
-
188
- * The fix is based on the algorithm described in the
189
- documentation for the implementation of transitive closure in
190
- Boost * Along with the fix, performance is improved to O(|V||E|)
191
- * This implementation needs graph condensation, so that function
192
- was added as well * More tests were added to cover more corner
193
- cases
194
-
195
- ### 2008-08-23 05:40 javanthropus
196
-
197
- * tests/TestGraph.rb: Update basic graph tests to account for
198
- graphs with edgeless vertices Also clean up some minor formatting
199
- and assertion issues
200
-
201
- ### 2008-08-23 05:37 javanthropus
202
-
203
- * lib/rgl/adjacency.rb: Defect 21609: Fix the to_adjacency method
204
- to preserve edgeless vertices
205
-
206
- ### 2008-03-18 15:03 javanthropus
207
-
208
- * lib/rgl/rdot.rb, tests/TestRdot.rb: More reliably detect and
209
- handle newlines embedded within IDs and labels
210
-
211
- ### 2008-03-08 10:48 monora
212
-
213
- * ChangeLog, lib/rgl/base.rb (utags: REL_0_3_1): Prepare 0.3.1
214
- release
215
-
216
- ### 2008-03-04 20:18 monora
217
-
218
- * Rakefile (tags: REL_0_3_1, REL_0_3_0): pre-tag commit
219
-
220
- ### 2008-03-02 18:16 javanthropus
221
-
222
- * lib/rgl/rdot.rb (tags: REL_0_3_0): IDs and labels must be
223
- converted to strings before processing
224
-
225
- ### 2008-03-02 17:45 javanthropus
226
-
227
- * lib/rgl/rdot.rb, tests/TestRdot.rb: Added documentation for
228
- rdot.rb and full test coverage
229
-
230
- ### 2008-03-02 15:19 monora
231
-
232
- * README: Removed dead link to rubygarden.com
233
-
234
- ### 2008-03-02 15:09 monora
235
-
236
- * ChangeLog, README, Rakefile (utags: REL_0_3_0): Polishing before
237
- 0.3.0 release
238
-
239
- ### 2008-03-02 13:45 monora
240
-
241
- * lib/rgl/: adjacency.rb, rdot.rb (utags: REL_0_3_0): Fixed
242
- warnings generated by Ruby Dev Tools
243
-
244
- ### 2008-03-02 07:57 javanthropus
245
-
246
- * Rakefile, lib/rgl/graphxml.rb (tags: REL_0_3_0),
247
- tests/TestGraphXML.rb (tags: REL_0_3_0): Change the way GraphML
248
- support is added to the MutableGraph module such that the
249
- interface is cleaner and documented
250
-
251
- ### 2008-03-01 20:12 javanthropus
252
-
253
- * lib/rgl/base.rb, tests/TestGraph.rb: Polish the documentation for
254
- and expand the test coverage of RGL::Graph
255
-
256
- ### 2008-02-27 19:44 monora
257
-
258
- * README: Added link to coverage page
259
-
260
- ### 2008-02-26 06:01 javanthropus
261
-
262
- * lib/rgl/dot.rb, lib/rgl/rdot.rb, tests/TestDot.rb,
263
- tests/TestRdot.rb: All IDs for DOT objects, including names,
264
- options, and values, are now automatically quoted as necessary
265
- according to the rules documented at
266
- https://www.graphviz.org/doc/info/lang.html and
267
- https://www.graphviz.org/Documentation/dotguide.pdf.
268
-
269
- Labels are handled specially in order to account for \l, \r, and
270
- \n sequences but are otherwise treated the same as other options.
271
-
272
- New tests were added to confirm proper function.
273
-
274
- Some changes were made in order to remove explicit quotes from
275
- labels which are no longer necessary.
276
-
277
- ### 2008-02-17 20:15 monora
278
-
279
- * lib/rgl/enumerable_ext.rb: Removed backwards compatability method
280
- inject. Ruby > 1.8 supports it out of the box.
281
-
282
- ### 2008-02-17 20:07 monora
283
-
284
- * tests/: TestEdge.rb, TestDirectedGraph.rb, TestGraph.rb: Improved
285
- test coverage
286
-
287
- ### 2008-02-17 20:06 monora
288
-
289
- * lib/rgl/adjacency.rb: fixed bug in edgelist_class
290
-
291
- ### 2008-02-17 17:59 monora
292
-
293
- * Rakefile: - added coverage task - fixed BUG #2674 - added
294
- changelog task - use jamis buck rdoc template
295
-
296
- ### 2008-02-17 17:45 monora
297
-
298
- * lib/rgl/base.rb: Changed Version to 0.3.0
299
-
300
- ### 2008-02-17 09:09 javanthropus
301
-
302
- * lib/rgl/rdot.rb: DOTSimpleElement provides no useful function, so
303
- remove it
304
-
305
- ### 2008-02-17 09:08 javanthropus
306
-
307
- * tests/TestRdot.rb: Test that setting only the name for a DOTNode
308
- does NOT set the label
309
-
310
- ### 2008-02-17 08:58 javanthropus
311
-
312
- * lib/rgl/rdot.rb, tests/TestRdot.rb: Add support for the Mrecord
313
- shape to DOTNode. Rewrite DOTNode#to_s to be easier to
314
- understand. #Rewrite DOTPort to allow for nesting ports.
315
-
316
- ### 2008-02-17 03:20 javanthropus
317
-
318
- * lib/rgl/rdot.rb, tests/TestRdot.rb: BUG 17964: DOTElement no
319
- longer sets the label unless the user explicitly sets one
320
-
321
- ### 2008-02-17 02:56 javanthropus
322
-
323
- * tests/TestRdot.rb: Fix a DOTEdge test which was actually
324
- retesting DOTNode
325
-
326
- ### 2008-02-16 19:58 javanthropus
327
-
328
- * lib/rgl/rdot.rb, tests/TestRdot.rb: BUG #17962: Subgraphs must be
329
- identified by a "subgraph" header rather than a "graph" header
330
-
331
- ### 2008-02-13 22:32 monora
332
-
333
- * tests/TestRdot.rb: Fixed typo
334
-
335
- ### 2008-02-13 22:20 monora
336
-
337
- * doc/jamis.rb: Added template from Jamis Buck for rdoc. Looks
338
- better.
339
-
340
- ### 2008-02-12 23:37 monora
341
-
342
- * lib/rgl/rdot.rb: BUG #17969: Applied patch from Jeremy Bopp.
343
- Thanks.
344
-
345
- ### 2008-02-12 22:29 monora
346
-
347
- * README: fixed require in topsort example added delicious links
348
-
349
- ### 2007-12-11 21:04 wsdng
350
-
351
- * lib/rgl/rdot.rb, tests/TestRdot.rb: fixed [#16125] DOT::DOTNode
352
- produces wrong DOT syntax
353
-
354
- ### 2007-12-11 00:21 wsdng
355
-
356
- * tests/: TestDot.rb, TestRdot.rb: reproduced [#16125] DOT::DOTNode
357
- produces wrong DOT syntax
358
-
359
- ### 2007-06-20 22:43 monora
360
-
361
- * lib/rgl/base.rb, rakelib/dep_graph.rake: Fixed typo
362
-
363
- ### 2006-04-19 21:32 monora
364
-
365
- * rakelib/dep_graph.rake: - Use write_to_graphic_file instead of
366
- dotty (dotty crashes) - omit added task from vertices
367
-
368
- ### 2006-04-12 23:45 monora
369
-
370
- * rakelib/dep_graph.rake: Initial checkin
371
-
372
- ### 2006-04-12 23:40 monora
373
-
374
- * lib/rgl/bidirectional.rb: Moved to module RGL
375
-
376
- ### 2006-04-12 23:36 monora
377
-
378
- * lib/rgl/base.rb: Moved BidirectionalGraph to own file.
379
-
380
- ### 2006-04-12 23:31 monora
381
-
382
- * lib/rgl/: base.rb, edge.rb, graph.rb: - Merged changes from Shawn
383
- - dont want to split base.rb
384
-
385
- ### 2006-04-12 23:27 monora
386
-
387
- * tests/: TestCycles.rb, TestGraph.rb, test_helper.rb,
388
- TestComponents.rb, TestTransitiveClosure.rb, TestTraversal.rb: -
389
- Merged changes from Shawn - added test_helper
390
-
391
- ### 2006-04-12 23:23 monora
392
-
393
- * lib/rgl/adjacency.rb: - Merged changes from Shawn - implemented
394
- clone support (initialize_copy)
395
-
396
- ### 2006-04-12 23:20 monora
397
-
398
- * lib/rgl/mutable.rb: Use clone instead of self.class.new(self)
399
-
400
- ### 2006-04-12 23:19 monora
401
-
402
- * lib/rgl/enumerable_ext.rb: Do not extend system class Array. Only
403
- used for testing.
404
-
405
- ### 2006-03-28 19:10 monora
406
-
407
- * lib/rgl/dot.rb: Added links to graphviz.
408
-
409
- ### 2006-03-20 02:06 spgarbet
410
-
411
- * lib/rgl/adjacency.rb, lib/rgl/base.rb, lib/rgl/bidirectional.rb,
412
- lib/rgl/edge.rb, lib/rgl/enumerable_ext.rb, lib/rgl/graph.rb,
413
- lib/rgl/mutable.rb, tests/TestComponents.rb, tests/TestCycles.rb,
414
- tests/TestGraph.rb, tests/TestTransitiveClosure.rb,
415
- tests/TestTraversal.rb: Added equality test for graphs, added
416
- cycle locating. Modified initialize to allow duplicating and
417
- merging of graphs. Split base into various subfiles. Added test
418
- cases for changes. Fixed problem with GraphXML.
419
-
420
- ### 2006-03-09 23:25 monora
421
-
422
- * lib/rgl/base.rb: Fixed typo Bug #2875
423
-
424
- ### 2006-03-03 22:28 monora
425
-
426
- * .cvsignore, .project: We now use Eclipse-RDT
427
-
428
- ### 2005-09-18 14:08 monora
429
-
430
- * tests/TestComponents.rb (tags: PRE_CHECKIN_JC): Fixed required
431
- files.
432
-
433
- ### 2005-09-17 18:27 monora
434
-
435
- * lib/rgl/base.rb (tags: PRE_CHECKIN_JC): Documentation corrected.
436
-
437
- ### 2005-09-17 18:25 monora
438
-
439
- * README (tags: PRE_CHECKIN_JC): Added link to delicious.
440
-
441
- ### 2005-04-12 20:59 monora
442
-
443
- * Rakefile (tags: PRE_CHECKIN_JC): corrected homepage link in
444
- gemspec
445
-
446
- ### 2005-04-12 20:50 monora
447
-
448
- * Makefile: rake is better than make
449
-
450
- ### 2005-04-12 20:35 monora
451
-
452
- * README (tags: REL_0_2_3): updated copyright notice
453
-
454
- ### 2005-04-12 20:32 monora
455
-
456
- * examples/examples.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): Added
457
- doc.
458
-
459
- ### 2005-04-12 18:23 monora
460
-
461
- * README: Fixed some outdated links.
462
-
463
- ### 2005-04-05 19:54 monora
464
-
465
- * ChangeLog (tags: PRE_CHECKIN_JC, REL_0_2_3): New entries
466
- generated
467
-
468
- ### 2005-03-30 21:27 monora
469
-
470
- * tests/TestDirectedGraph.rb (tags: PRE_CHECKIN_JC, REL_0_2_3):
471
- Added test for isolated vertices in DirectedGraph#reverse.
472
-
473
- ### 2005-03-30 21:25 monora
474
-
475
- * lib/rgl/adjacency.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): Fixed bug
476
- in DirectedGraph#reverse reported by Kaspar Schiess. Isolated
477
- vertices were not treated correctly.
478
-
479
- ### 2005-03-26 15:06 wsdng
480
-
481
- * lib/rgl/rdot.rb (tags: PRE_CHECKIN_JC, REL_0_2_3): added node and
482
- edge attributes
483
-
484
- ### 2005-03-22 22:31 monora
485
-
486
- * Rakefile (tags: REL_0_2_3): Fixed autorequire to work with gem
487
- version 0.8.8
488
-
489
- ### 2005-02-04 22:41 monora
490
-
491
- * README, lib/rgl/adjacency.rb, lib/rgl/base.rb (tags: REL_0_2_3),
492
- lib/rgl/connected_components.rb (tags: PRE_CHECKIN_JC,
493
- REL_0_2_3), lib/rgl/dot.rb (tags: PRE_CHECKIN_JC, REL_0_2_3),
494
- lib/rgl/graphxml.rb (tags: PRE_CHECKIN_JC, REL_0_2_3),
495
- lib/rgl/implicit.rb (tags: PRE_CHECKIN_JC, REL_0_2_3),
496
- lib/rgl/mutable.rb (tags: PRE_CHECKIN_JC, REL_0_2_3),
497
- lib/rgl/rdot.rb, lib/rgl/topsort.rb (tags: PRE_CHECKIN_JC,
498
- REL_0_2_3), lib/rgl/transitiv_closure.rb (tags: PRE_CHECKIN_JC,
499
- REL_0_2_3), lib/rgl/traversal.rb (tags: PRE_CHECKIN_JC,
500
- REL_0_2_3): Fixed some formatting issues and smoothed
501
- documentation. Thanks to Rich Morin.
502
-
503
- ### 2004-12-13 23:33 monora
504
-
505
- * Makefile, README, Rakefile, lib/rgl/base.rb, lib/rgl/graphxml.rb,
506
- lib/rgl/implicit.rb, lib/rgl/traversal.rb: Polished documentation
507
-
508
- ### 2004-12-13 21:07 monora
509
-
510
- * lib/rgl/adjacency.rb, tests/TestDirectedGraph.rb,
511
- tests/TestUnDirectedGraph.rb (tags: PRE_CHECKIN_JC, REL_0_2_3):
512
- Fixed bug in Graph#reverse reported by Sascha Ebach.
513
-
514
- ### 2004-12-12 19:09 cyent
515
-
516
- * tests/TestGraphXML.rb: Fixed bug in relative path
517
-
518
- ### 2004-12-12 19:08 cyent
519
-
520
- * tests/TestDirectedGraph.rb: Added test_random
521
-
522
- ### 2004-12-12 19:07 cyent
523
-
524
- * lib/rgl/: adjacency.rb, base.rb, connected_components.rb,
525
- rdot.rb: Fixed comments, removed warnings in ruby1.9 -w by adding
526
- attr_readers, told emacs to use tab-width 4 on these files
527
-
528
- ### 2004-12-11 23:46 monora
529
-
530
- * README (tags: REL_0_2_2), Rakefile (tags: REL_0_2_2),
531
- examples/examples.rb (tags: REL_0_2_2), lib/stream.rb,
532
- lib/rgl/base.rb (tags: REL_0_2_2), lib/rgl/graphxml.rb (tags:
533
- REL_0_2_2), lib/rgl/traversal.rb (tags: REL_0_2_2),
534
- tests/TestGraphXML.rb (tags: PRE_CHECKIN_JC, REL_0_2_3,
535
- REL_0_2_2), tests/_TestGraphXML.rb: Added gem packaging.
536
-
537
- ### 2004-10-08 15:15 monora
538
-
539
- * tests/runtests.rb: In new testframework not needed.
540
-
541
- ### 2004-10-08 15:14 monora
542
-
543
- * lib/utils.rb: Code move to base.rb
544
-
545
- ### 2004-10-06 22:11 monora
546
-
547
- * lib/rgl/base.rb: Code from utils.rb included
548
-
549
- ### 2004-10-06 22:09 monora
550
-
551
- * Rakefile: First start for gem preparation
552
-
553
- ### 2003-07-30 21:50 monora
554
-
555
- * lib/utils.rb, lib/rgl/implicit.rb (tags: REL_0_2_2),
556
- tests/TestComponents.rb (tags: REL_0_2_3, REL_0_2_2),
557
- tests/TestDirectedGraph.rb (tags: REL_0_2_2),
558
- tests/TestImplicit.rb (tags: PRE_CHECKIN_JC, REL_0_2_3,
559
- REL_0_2_2), tests/TestTransitiveClosure.rb (tags: PRE_CHECKIN_JC,
560
- REL_0_2_3, REL_0_2_2), tests/TestTraversal.rb (tags:
561
- PRE_CHECKIN_JC, REL_0_2_3, REL_0_2_2),
562
- tests/TestUnDirectedGraph.rb (tags: REL_0_2_2),
563
- tests/_TestGraphXML.rb, tests/runtests.rb (utags: rforge-import):
564
- - port to ruby 1.8 - compiler warnings removed - set_up -> setup
565
- in testfiles
566
-
567
- ### 2002-11-13 21:53 monora
30
+ ### Bug Fixes
568
31
 
569
- * lib/rgl/: rdot.rb, dot.rb (utags: REL_0_2_2, rforge-import):
570
- Name-attribute of DOTNode has to be escaped by ".
32
+ * Update pairing_heap requirement from ~> 0.3 to >= 0.3, < 4.0 ([#119](https://github.com/monora/rgl/issues/119), [#122](https://github.com/monora/rgl/issues/122)) ([13e39a4](https://github.com/monora/rgl/commit/13e39a47dd166a36dadbf8e3b5fb3b2ff3941467))
33
+ * Bump GoogleCloudPlatform/release-please-action from 2 to 3 ([#120](https://github.com/monora/rgl/issues/120), [#122](https://github.com/monora/rgl/issues/122)) ([3e804d4](https://github.com/monora/rgl/commit/3e804d43de547b8c5754c9c53393973ca6882016))
571
34
 
572
- ### 2002-11-10 21:21 monora
35
+ ## [0.6.5](https://github.com/monora/rgl/compare/v0.6.4...v0.6.5) (2023-06-19)
573
36
 
574
- * lib/: utils.rb, rgl/adjacency.rb (tags: REL_0_2_2,
575
- rforge-import), set.rb: Use knus compatibility library for Ruby
576
- 1.8 esp. for set.rb and inject.
37
+ ### Bug Fixes
577
38
 
578
- ### 2002-09-22 15:58 monora
39
+ * README links ([#114](https://github.com/monora/rgl/issues/114)) ([682e4e6](https://github.com/monora/rgl/commit/682e4e6f3786dc5419ce8d8bff92d4006e95be0d))
579
40
 
580
- * lib/rgl/dot.rb: to_dot_graph now also outputs vertices.
41
+ ## [0.6.4](https://github.com/monora/rgl/compare/v0.6.3...v0.6.4) (2023-06-19)
581
42
 
582
- ### 2002-09-22 15:57 monora
43
+ ### Bug Fixes
583
44
 
584
- * lib/rgl/adjacency.rb: cosmetic.
45
+ * Add test case for `bfs_search_tree_from` (fixes [#99](https://github.com/monora/rgl/issues/99)) ([54f92e4](https://github.com/monora/rgl/commit/54f92e497c0e628c5dcdab3334ef280f6f38bfd7))
46
+ * Remove require of the file if already required ([0ef2ce5](https://github.com/monora/rgl/commit/0ef2ce5c43c56503268303abac40fd841c4cea43))
585
47
 
586
- ### 2002-09-17 22:58 monora
48
+ ## Ältere Geschichte
587
49
 
588
- * Makefile (tags: REL_0_2_2, rforge-import): Added releasedoc
589
- target.
50
+ Releases 0.6.0–0.6.3 sind in der [GitHub Releases-Liste](https://github.com/monora/rgl/releases) dokumentiert.
590
51
 
591
- ### 2002-09-17 22:57 monora
52
+ ### 0.5.x (2015–2022)
592
53
 
593
- * lib/rgl/: base.rb (tags: rforge-import), implicit.rb: Fixed typo.
54
+ Große Algorithmen-Erweiterungen durch @KL-7: Dijkstra, Bellman-Ford, Prim MST,
55
+ Edmonds-Karp Maximum Flow, bipartite Mengen, `Graph#path?`. Wechsel von
56
+ `lazy_priority_queue` zu `pairing_heap`. Migration von Travis CI zu GitHub Actions.
594
57
 
595
- ### 2002-08-29 21:20 monora
58
+ ### 0.4.0 (2008)
596
59
 
597
- * ChangeLog: Changed NameError to NoVertexError.
60
+ DOT-Modul in den `RGL`-Namespace verschoben (Konflikt mit RDocs DOT-Modul beseitigt).
61
+ Transitive Reduktion ergänzt.
598
62
 
599
- ### 2002-08-29 21:17 monora
63
+ ### 0.3.x (2008)
600
64
 
601
- * tests/TestDirectedGraph.rb, tests/TestUnDirectedGraph.rb,
602
- lib/rgl/adjacency.rb, lib/rgl/base.rb, ChangeLog: Changed
603
- NameError to NoVertexError.
65
+ Verbessertes Quoting von DOT-IDs und Labels gemäß Graphviz-Spezifikation.
66
+ Vollständige Testabdeckung für `rdot.rb`. Subgraph-Header-Fix.
604
67
 
605
- ### 2002-08-23 22:07 monora
68
+ ### 0.2.x (2004–2006)
606
69
 
607
- * Makefile (tags: V0_2_1), README (tags: rforge-import, V0_2_1),
608
- examples/canvas.rb (tags: PRE_CHECKIN_JC, REL_0_2_3, REL_0_2_2,
609
- rforge-import, V0_2_1), examples/north/g.12.8.graphml (tags:
610
- PRE_CHECKIN_JC, REL_0_2_3, REL_0_2_2, rforge-import, V0_2_1),
611
- examples/north/g.14.9.graphml (tags: PRE_CHECKIN_JC, REL_0_2_3,
612
- REL_0_2_2, rforge-import, V0_2_1), lib/dot/dot.rb,
613
- lib/rgl/base.rb (tags: V0_2_1), lib/rgl/dot.rb (tags: V0_2_1),
614
- lib/rgl/rdot.rb (tags: V0_2_1): canvas.rb added. Collision with
615
- rdoc/dot.rb removed.
70
+ Erstes RubyGems-Paket. GraphML-Import via REXML. Zykelerkennung, Graph-Gleichheit,
71
+ `initialize_copy` für Clone-Unterstützung.
616
72
 
617
- ### 2002-08-19 21:58 monora
73
+ ### 0.1 / Erstveröffentlichung (2002)
618
74
 
619
- * README (tags: V0_2): Added link to SF.
75
+ Erste öffentliche Veröffentlichung auf RubyForge. Kern-Abstraktionen (`each_vertex`,
76
+ `each_adjacent`), Adjacency-List-Darstellung, DOT-Export.
data/Gemfile CHANGED
@@ -2,7 +2,12 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
+ group :development do
6
+ gem 'rake', '~> 13.0'
7
+ gem 'yard', '~> 0.9'
8
+ end
9
+
5
10
  group :test do
11
+ gem 'test-unit', '~> 3.5'
6
12
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
13
  end
data/README.md CHANGED
@@ -1,9 +1,6 @@
1
1
  # Ruby Graph Library (RGL)
2
2
  [![Test](https://github.com/monora/rgl/actions/workflows/test.yml/badge.svg)](https://github.com/monora/rgl/actions/workflows/test.yml) [![Doc](https://github.com/monora/rgl/actions/workflows/doc.yml/badge.svg)](https://github.com/monora/rgl/actions/workflows/doc.yml)
3
3
  [![Version](https://badge.fury.io/rb/rgl.svg)](https://badge.fury.io/rb/rgl)
4
- [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/monora/rgl)
5
- [![Code Climate](https://img.shields.io/codeclimate/maintainability/monora/rgl)](https://codeclimate.com/github/monora/rgl)
6
-
7
4
  RGL is a framework for graph data structures and algorithms.
8
5
 
9
6
  The design of the library is much influenced by the Boost Graph Library (BGL)
@@ -278,14 +275,14 @@ Library](https://www.boost.org/libs/graph/doc) kindly allowed to use the BGL
278
275
  documentation as a *cheap* reference for RGL. He and Robert also gave feedback
279
276
  and many ideas for RGL.
280
277
 
281
- Dave Thomas for [RDoc](https://rdoc.sourceforge.net) which generated what you
278
+ Dave Thomas for [RDoc](https://ruby.github.io/rdoc/) which generated what you
282
279
  read and matz for Ruby. Dave included in the latest version of RDoc (alpha9)
283
280
  the module {RGL::DOT} which is used instead of Roberts module to visualize
284
281
  graphs.
285
282
 
286
283
  Jeremy Bopp, John Carter, Sascha Doerdelmann, Shawn Garbett, Andreas Schörk, Dan
287
284
  Čermák, Kirill Lashuk and Markus Napp for contributing additions, test cases and
288
- bugfixes. The complete list of contributers is
285
+ bugfixes. The complete list of contributors is
289
286
  [here](https://github.com/monora/rgl/contributors).
290
287
 
291
288
  ## Links
@@ -297,6 +294,6 @@ bugfixes. The complete list of contributers is
297
294
 
298
295
  ## Copying
299
296
 
300
- RGL is Copyright (c) 2002,2004,2005,2008,2013,2015,2019,2020,2022,2023 by Horst
297
+ RGL is Copyright (c) 2002,2004,2005,2008,2013,2015,2019,2020,2022,2023,2024,2025,2026 by Horst
301
298
  Duchene. It is free software, and may be redistributed under the {file:LICENSE}
302
299
  and terms specified in the LICENSE file.
data/Rakefile CHANGED
@@ -61,7 +61,7 @@ end
61
61
  def count_lines(filename)
62
62
  lines = 0
63
63
  codelines = 0
64
- open(filename) { |f|
64
+ File.open(filename) { |f|
65
65
  f.each do |line|
66
66
  lines += 1
67
67
  next if line =~ /^\s*$/
data/lib/rgl/adjacency.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # adjacency.rb
2
4
  #
3
5
  require 'rgl/mutable'
@@ -77,7 +79,7 @@ module RGL
77
79
  #
78
80
  # @see Graph#has_vertex
79
81
  def has_vertex?(v)
80
- @vertices_dict.has_key?(v)
82
+ @vertices_dict.key?(v)
81
83
  end
82
84
 
83
85
  # Complexity is O(1), if a Set is used as adjacency list. Otherwise,
data/lib/rgl/base.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # base.rb
2
4
 
3
5
  # Module {RGL} defines the namespace for all modules and classes of the graph
@@ -316,7 +318,7 @@ module RGL
316
318
  each_adjacent(u) do |v|
317
319
  edge = UnDirectedEdge.new(u, v)
318
320
 
319
- unless visited.has_key?(edge)
321
+ unless visited.key?(edge)
320
322
  visited[edge] = true
321
323
  yield u, v
322
324
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/dijkstra_visitor'
2
4
  require 'rgl/edge_properties_map'
3
5
  require 'rgl/path_builder'
@@ -19,7 +21,7 @@ module RGL
19
21
  def initialize(graph)
20
22
  super(graph)
21
23
 
22
- # by default, through an exception if a negative-weight cycle is detected
24
+ # by default, raise an exception if a negative-weight cycle is detected
23
25
  @edge_not_minimized_event_handler = lambda do |u, v|
24
26
  raise ArgumentError.new("there is a negative-weight cycle including edge (#{u}, #{v})")
25
27
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/base'
2
4
 
3
5
  module RGL
@@ -23,7 +25,6 @@ module RGL
23
25
  #
24
26
  def each_in_neighbor(v)
25
27
  raise NotImplementedError
26
- yield u
27
28
  end
28
29
 
29
30
  alias :each_out_neighbor :each_adjacent
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # bidirectional_adjacency.rb
2
4
  #
3
5
  require 'rgl/adjacency'
data/lib/rgl/bipartite.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/base'
2
4
  require 'rgl/traversal'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/base'
2
4
  require 'rgl/connected_components'
3
5
  require 'rgl/implicit'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # connected_components.rb
2
4
  #
3
5
  # This file contains the algorithms for the connected components of an
data/lib/rgl/dijkstra.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/dijkstra_visitor'
2
4
  require 'rgl/edge_properties_map'
3
5
  require 'rgl/path_builder'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/base'
2
4
  require 'rgl/graph_visitor'
3
5
 
data/lib/rgl/dot.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # dot.rb
2
4
  #
3
5
  # Minimal Dot support, based on Dave Thomas's dot module (included in rdoc).
@@ -121,7 +123,7 @@ module RGL
121
123
  f << self.to_dot_graph(options).to_s << "\n"
122
124
  end
123
125
 
124
- unless system("dot -T#{fmt} #{src} -o #{dot}")
126
+ unless system("dot", "-T#{fmt}", src, "-o", dot)
125
127
  raise "Error executing dot. Did you install GraphViz?"
126
128
  end
127
129
  dot
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGL
2
4
 
3
5
  class EdgePropertiesMap
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/edge_properties_map'
2
4
  require 'rgl/traversal'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stream'
2
4
 
3
5
  require 'rgl/graph_wrapper'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/graph_wrapper'
2
4
 
3
5
  module RGL
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGL
2
4
 
3
5
  module GraphWrapper
data/lib/rgl/graphxml.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # graphxml.rb
2
4
  #
3
5
  # This file contains minimal support for creating RGL graphs from the GraphML
data/lib/rgl/implicit.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # implicit.rb
2
4
  #
3
5
  # This file contains the definition of the class RGL::ImplicitGraph, which
data/lib/rgl/mutable.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # mutable.rb
2
4
 
3
5
  require 'rgl/base'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGL
2
4
 
3
5
  class PathBuilder
@@ -9,7 +11,7 @@ module RGL
9
11
  end
10
12
 
11
13
  def path(target)
12
- if @paths.has_key?(target)
14
+ if @paths.key?(target)
13
15
  @paths[target]
14
16
  else
15
17
  @paths[target] = restore_path(target)
data/lib/rgl/prim.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/dijkstra'
2
4
  require 'rgl/adjacency'
3
5
 
data/lib/rgl/rdot.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGL
2
4
 
3
5
  # This is a modified version of +dot.rb+ from {https://ruby.github.io/rdoc Dave
@@ -13,6 +15,7 @@ module RGL
13
15
 
14
16
  # options for node declaration
15
17
  NODE_OPTS = [
18
+ 'class',# multiple space-separated classes are supported
16
19
  'color', # default: black; node shape color
17
20
  'colorscheme', # default: X11; scheme for interpreting color names
18
21
  'comment', # any string (format-dependent)
@@ -59,6 +62,7 @@ module RGL
59
62
  'arrowhead', # default: normal; style of arrowhead at head end
60
63
  'arrowsize', # default: 1.0; scaling factor for arrowheads
61
64
  'arrowtail', # default: normal; style of arrowhead at tail end
65
+ 'class',# multiple space-separated classes are supported
62
66
  'color', # default: black; edge stroke color
63
67
  'colorscheme', # default: X11; scheme for interpreting color names
64
68
  'comment', # any string (format-dependent)
@@ -120,6 +124,7 @@ module RGL
120
124
  'aspect', # controls aspect ratio adjustment
121
125
  'bgcolor', # background color for drawing, plus initial fill color
122
126
  'center', # default: false; center draing on page
127
+ 'class',# multiple space-separated classes are supported
123
128
  'clusterrank', # default: local; may be "global" or "none"
124
129
  'color', # default: black; for clusters, outline color, and fill color if
125
130
  # fillcolor not defined
data/lib/rgl/topsort.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # topsort.rb
2
4
 
3
5
  require 'rgl/graph_iterator'
@@ -26,16 +28,16 @@ module RGL
26
28
 
27
29
  def set_to_begin
28
30
  @waiting = Array.new
29
- @inDegrees = Hash.new(0)
31
+ @in_degrees = Hash.new(0)
30
32
 
31
33
  graph.each_vertex do |u|
32
- @inDegrees[u] = 0 unless @inDegrees.has_key?(u)
34
+ @in_degrees[u] = 0 unless @in_degrees.key?(u)
33
35
  graph.each_adjacent(u) do |v|
34
- @inDegrees[v] += 1
36
+ @in_degrees[v] += 1
35
37
  end
36
38
  end
37
39
 
38
- @inDegrees.each_pair do |v, indegree|
40
+ @in_degrees.each_pair do |v, indegree|
39
41
  @waiting.push(v) if indegree.zero?
40
42
  end
41
43
  end
@@ -44,8 +46,8 @@ module RGL
44
46
  def basic_forward
45
47
  u = @waiting.pop
46
48
  graph.each_adjacent(u) do |v|
47
- @inDegrees[v] -= 1
48
- @waiting.push(v) if @inDegrees[v].zero?
49
+ @in_degrees[v] -= 1
50
+ @waiting.push(v) if @in_degrees[v].zero?
49
51
  end
50
52
  u
51
53
  end
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file is deprecated and only provided for backward compatibility.
2
4
  require 'rgl/transitivity'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rgl/base'
2
4
  require 'rgl/adjacency'
3
5
  require 'rgl/condensation'
data/lib/rgl/traversal.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # traversal.rb
2
4
  #
3
5
  require 'rgl/base'
data/lib/rgl/version.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RGL
2
- VERSION = "0.6.5".freeze
4
+ VERSION = "0.6.7"
3
5
  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.5
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Horst Duchene
8
8
  - Kirill Lashuk
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-06-19 00:00:00.000000000 Z
12
+ date: 2026-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: stream
@@ -29,16 +29,22 @@ 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
34
  version: '0.3'
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: '4.0'
35
38
  type: :runtime
36
39
  prerelease: false
37
40
  version_requirements: !ruby/object:Gem::Requirement
38
41
  requirements:
39
- - - "~>"
42
+ - - ">="
40
43
  - !ruby/object:Gem::Version
41
44
  version: '0.3'
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: rexml
44
50
  requirement: !ruby/object:Gem::Requirement
@@ -59,54 +65,11 @@ dependencies:
59
65
  - - ">="
60
66
  - !ruby/object:Gem::Version
61
67
  version: 3.2.4
62
- - !ruby/object:Gem::Dependency
63
- name: rake
64
- requirement: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '13.0'
69
- type: :development
70
- prerelease: false
71
- version_requirements: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '13.0'
76
- - !ruby/object:Gem::Dependency
77
- name: yard
78
- requirement: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.9'
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.9'
90
- - !ruby/object:Gem::Dependency
91
- name: test-unit
92
- requirement: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '3.5'
97
- type: :development
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.5'
104
68
  description: RGL is a framework for graph data structures and algorithms
105
69
  email: monora@gmail.com
106
70
  executables: []
107
71
  extensions: []
108
- extra_rdoc_files:
109
- - README.md
72
+ extra_rdoc_files: []
110
73
  files:
111
74
  - CHANGELOG.md
112
75
  - Gemfile
@@ -241,29 +204,28 @@ files:
241
204
  homepage: https://github.com/monora/rgl
242
205
  licenses:
243
206
  - Ruby
244
- metadata: {}
245
- post_install_message:
246
- rdoc_options:
247
- - "--title"
248
- - RGL - Ruby Graph Library
249
- - "--main"
250
- - README.md
251
- - "--line-numbers"
207
+ metadata:
208
+ homepage_uri: https://github.com/monora/rgl
209
+ source_code_uri: https://github.com/monora/rgl
210
+ changelog_uri: https://github.com/monora/rgl/blob/master/CHANGELOG.md
211
+ rubygems_mfa_required: 'true'
212
+ post_install_message:
213
+ rdoc_options: []
252
214
  require_paths:
253
215
  - lib
254
216
  required_ruby_version: !ruby/object:Gem::Requirement
255
217
  requirements:
256
218
  - - ">="
257
219
  - !ruby/object:Gem::Version
258
- version: '0'
220
+ version: '3.1'
259
221
  required_rubygems_version: !ruby/object:Gem::Requirement
260
222
  requirements:
261
223
  - - ">="
262
224
  - !ruby/object:Gem::Version
263
225
  version: '0'
264
226
  requirements: []
265
- rubygems_version: 3.4.1
266
- signing_key:
227
+ rubygems_version: 3.5.22
228
+ signing_key:
267
229
  specification_version: 4
268
230
  summary: Ruby Graph Library
269
231
  test_files: []