term_utils 0.4.0 → 0.5.0
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/COPYING +1 -1
- data/Rakefile +6 -0
- data/doc/TermUtils/AP/Article.html +13 -13
- data/doc/TermUtils/AP/ArticleResult.html +4 -4
- data/doc/TermUtils/AP/Flag.html +8 -8
- data/doc/TermUtils/AP/Parameter.html +9 -9
- data/doc/TermUtils/AP/ParameterResult.html +4 -4
- data/doc/TermUtils/AP/ParameterWalkerHooks.html +4 -4
- data/doc/TermUtils/AP/ParseError.html +646 -14
- data/doc/TermUtils/AP/Parser.html +43 -15
- data/doc/TermUtils/AP/Result.html +4 -4
- data/doc/TermUtils/AP/Syntax.html +4 -4
- data/doc/TermUtils/AP/SyntaxError.html +4 -86
- data/doc/TermUtils/AP/Walker.html +4 -4
- data/doc/TermUtils/AP.html +16 -16
- data/doc/TermUtils/FF/Config.html +8 -8
- data/doc/TermUtils/FF/Context.html +4 -4
- data/doc/TermUtils/FF/Entry.html +4 -4
- data/doc/TermUtils/FF/Finder.html +850 -0
- data/doc/TermUtils/FF/FinderEntry.html +1191 -0
- data/doc/TermUtils/FF/FinderQuery.html +946 -0
- data/doc/TermUtils/FF/Query.html +11 -15
- data/doc/TermUtils/FF.html +131 -7
- data/doc/TermUtils/PropertyTreeNode.html +6 -6
- data/doc/TermUtils/Tab/Column.html +44 -44
- data/doc/TermUtils/Tab/Header.html +19 -19
- data/doc/TermUtils/Tab/Holder.html +40 -40
- data/doc/TermUtils/Tab/Printer.html +4 -4
- data/doc/TermUtils/Tab/Table.html +59 -59
- data/doc/TermUtils/Tab/TableError.html +4 -86
- data/doc/TermUtils/Tab.html +42 -42
- data/doc/TermUtils.html +6 -6
- data/doc/_index.html +29 -23
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +1 -0
- data/doc/file.README.html +25 -21
- data/doc/frames.html +1 -1
- data/doc/index.html +25 -21
- data/doc/method_list.html +385 -89
- data/doc/top-level-namespace.html +4 -4
- data/lib/term_utils/ap/article.rb +2 -2
- data/lib/term_utils/ap/flag.rb +2 -2
- data/lib/term_utils/ap/parameter.rb +2 -2
- data/lib/term_utils/ap/parser.rb +16 -15
- data/lib/term_utils/ap/result.rb +2 -2
- data/lib/term_utils/ap/syntax.rb +2 -2
- data/lib/term_utils/ap.rb +66 -22
- data/lib/term_utils/ff/config.rb +3 -3
- data/lib/term_utils/ff/entry.rb +2 -2
- data/lib/term_utils/ff/finder.rb +255 -0
- data/lib/term_utils/ff/query.rb +6 -8
- data/lib/term_utils/ff.rb +4 -3
- data/lib/term_utils/property_tree_node.rb +3 -3
- data/lib/term_utils/tab.rb +14 -13
- data/lib/term_utils.rb +2 -2
- data/term_utils.gemspec +2 -2
- metadata +8 -5
- data/doc/TermUtils/AP/NoSuchValueError.html +0 -217
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d525b01701659abb4065871601ce14359c34a6654be849d410fb5b10d1b8255
|
4
|
+
data.tar.gz: 040f2fec5ea931f3f07a6288ccea45b55b23908d54b9a84636f34f8720551cb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6a68c34584eb3b627ed72a919b5bed76427946aae0f3e03301ca94d11169565e35ce35c23b5ddfba8d472e85d002210059c8d65c64a6bdb6f320adcd962b6d0
|
7
|
+
data.tar.gz: 91569f0a29c3312eb7d53e23cb300cb815df0d2f1ac59c2d64fc561a6a1dbe90ee97ff199ec455b5f7eefe5db3db1700f5453702f3b791e5cb6464c10fdcd5c1
|
data/CHANGELOG.md
CHANGED
data/COPYING
CHANGED
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
|
632
632
|
the "copyright" line and a pointer to where the full notice is found.
|
633
633
|
|
634
634
|
term_utils provides utilities for terminal application.
|
635
|
-
Copyright (C)
|
635
|
+
Copyright (C) 2021 Thomas Baron
|
636
636
|
|
637
637
|
This program is free software: you can redistribute it and/or modify
|
638
638
|
it under the terms of the GNU General Public License as published by
|
data/Rakefile
CHANGED
@@ -10,6 +10,7 @@ GEM = "#{GEM_NAME}-#{GEM_VERSION}.gem"
|
|
10
10
|
|
11
11
|
task :default => :help
|
12
12
|
|
13
|
+
desc "Print help."
|
13
14
|
task :help do
|
14
15
|
puts <<-EOS
|
15
16
|
usage: rake <target>...
|
@@ -29,8 +30,10 @@ To deploy a gem:
|
|
29
30
|
EOS
|
30
31
|
end
|
31
32
|
|
33
|
+
desc "Create gem."
|
32
34
|
task :gem => GEM
|
33
35
|
|
36
|
+
desc "Generate documentation."
|
34
37
|
task :doc => %w[.doc]
|
35
38
|
|
36
39
|
file ".doc" do
|
@@ -42,14 +45,17 @@ file GEM => %w[.doc] do
|
|
42
45
|
sh "gem build #{GEM_NAME}"
|
43
46
|
end
|
44
47
|
|
48
|
+
desc "Install gem."
|
45
49
|
task :install => :gem do
|
46
50
|
sh "gem install #{GEM}"
|
47
51
|
end
|
48
52
|
|
53
|
+
desc "Uninstall gem."
|
49
54
|
task :uninstall do
|
50
55
|
sh "gem uninstall #{GEM_NAME} --version #{GEM_VERSION}"
|
51
56
|
end
|
52
57
|
|
58
|
+
desc "Remove documentation and gem."
|
53
59
|
task :clean do
|
54
60
|
sh "rm -rf .doc doc #{GEM}"
|
55
61
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::AP::Article
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
<span class="summary_desc"><div class='inline'>
|
141
|
-
<p
|
141
|
+
<p>‘%d`, `%s`.</p>
|
142
142
|
</div></span>
|
143
143
|
|
144
144
|
</li>
|
@@ -240,7 +240,7 @@
|
|
240
240
|
|
241
241
|
|
242
242
|
<span class="summary_desc"><div class='inline'>
|
243
|
-
<p
|
243
|
+
<p>‘:integer`, `:string`.</p>
|
244
244
|
</div></span>
|
245
245
|
|
246
246
|
</li>
|
@@ -422,7 +422,7 @@
|
|
422
422
|
</span>
|
423
423
|
|
424
424
|
— <div class='inline'>
|
425
|
-
<p>Default value is
|
425
|
+
<p>Default value is ‘1`.</p>
|
426
426
|
</div>
|
427
427
|
|
428
428
|
</li>
|
@@ -435,7 +435,7 @@
|
|
435
435
|
</span>
|
436
436
|
|
437
437
|
— <div class='inline'>
|
438
|
-
<p>Default value is
|
438
|
+
<p>Default value is ‘1`.</p>
|
439
439
|
</div>
|
440
440
|
|
441
441
|
</li>
|
@@ -448,7 +448,7 @@
|
|
448
448
|
</span>
|
449
449
|
|
450
450
|
— <div class='inline'>
|
451
|
-
<p
|
451
|
+
<p>‘:integer`, `:string`.</p>
|
452
452
|
</div>
|
453
453
|
|
454
454
|
</li>
|
@@ -514,7 +514,7 @@
|
|
514
514
|
</h3><div class="docstring">
|
515
515
|
<div class="discussion">
|
516
516
|
|
517
|
-
<p>Returns
|
517
|
+
<p>Returns ‘%d`, `%s`.</p>
|
518
518
|
|
519
519
|
|
520
520
|
</div>
|
@@ -533,7 +533,7 @@
|
|
533
533
|
|
534
534
|
—
|
535
535
|
<div class='inline'>
|
536
|
-
<p
|
536
|
+
<p>‘%d`, `%s`.</p>
|
537
537
|
</div>
|
538
538
|
|
539
539
|
</li>
|
@@ -737,7 +737,7 @@
|
|
737
737
|
</h3><div class="docstring">
|
738
738
|
<div class="discussion">
|
739
739
|
|
740
|
-
<p>Returns
|
740
|
+
<p>Returns ‘:integer`, `:string`.</p>
|
741
741
|
|
742
742
|
|
743
743
|
</div>
|
@@ -756,7 +756,7 @@
|
|
756
756
|
|
757
757
|
—
|
758
758
|
<div class='inline'>
|
759
|
-
<p
|
759
|
+
<p>‘:integer`, `:string`</p>
|
760
760
|
</div>
|
761
761
|
|
762
762
|
</li>
|
@@ -983,9 +983,9 @@
|
|
983
983
|
</div>
|
984
984
|
|
985
985
|
<div id="footer">
|
986
|
-
Generated on
|
987
|
-
<a href="
|
988
|
-
0.9.
|
986
|
+
Generated on Wed Aug 9 17:34:27 2023 by
|
987
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
988
|
+
0.9.34 (ruby-3.2.2).
|
989
989
|
</div>
|
990
990
|
|
991
991
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::AP::ArticleResult
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -574,9 +574,9 @@
|
|
574
574
|
</div>
|
575
575
|
|
576
576
|
<div id="footer">
|
577
|
-
Generated on
|
578
|
-
<a href="
|
579
|
-
0.9.
|
577
|
+
Generated on Wed Aug 9 17:34:26 2023 by
|
578
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
579
|
+
0.9.34 (ruby-3.2.2).
|
580
580
|
</div>
|
581
581
|
|
582
582
|
</div>
|
data/doc/TermUtils/AP/Flag.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::AP::Flag
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -140,7 +140,7 @@
|
|
140
140
|
|
141
141
|
|
142
142
|
<span class="summary_desc"><div class='inline'>
|
143
|
-
<p
|
143
|
+
<p>‘:long`, `:short`.</p>
|
144
144
|
</div></span>
|
145
145
|
|
146
146
|
</li>
|
@@ -357,7 +357,7 @@
|
|
357
357
|
|
358
358
|
—
|
359
359
|
<div class='inline'>
|
360
|
-
<p
|
360
|
+
<p>‘:short`, `:long`.</p>
|
361
361
|
</div>
|
362
362
|
|
363
363
|
</li>
|
@@ -426,7 +426,7 @@
|
|
426
426
|
</h3><div class="docstring">
|
427
427
|
<div class="discussion">
|
428
428
|
|
429
|
-
<p>Returns
|
429
|
+
<p>Returns ‘:long`, `:short`.</p>
|
430
430
|
|
431
431
|
|
432
432
|
</div>
|
@@ -445,7 +445,7 @@
|
|
445
445
|
|
446
446
|
—
|
447
447
|
<div class='inline'>
|
448
|
-
<p
|
448
|
+
<p>‘:long`, `:short`.</p>
|
449
449
|
</div>
|
450
450
|
|
451
451
|
</li>
|
@@ -746,9 +746,9 @@
|
|
746
746
|
</div>
|
747
747
|
|
748
748
|
<div id="footer">
|
749
|
-
Generated on
|
750
|
-
<a href="
|
751
|
-
0.9.
|
749
|
+
Generated on Wed Aug 9 17:34:26 2023 by
|
750
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
751
|
+
0.9.34 (ruby-3.2.2).
|
752
752
|
</div>
|
753
753
|
|
754
754
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::AP::Parameter
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -562,7 +562,7 @@
|
|
562
562
|
</span>
|
563
563
|
|
564
564
|
— <div class='inline'>
|
565
|
-
<p>Default value is
|
565
|
+
<p>Default value is ‘0`.</p>
|
566
566
|
</div>
|
567
567
|
|
568
568
|
</li>
|
@@ -575,7 +575,7 @@
|
|
575
575
|
</span>
|
576
576
|
|
577
577
|
— <div class='inline'>
|
578
|
-
<p>Default value is
|
578
|
+
<p>Default value is ‘1`.</p>
|
579
579
|
</div>
|
580
580
|
|
581
581
|
</li>
|
@@ -969,7 +969,7 @@
|
|
969
969
|
</span>
|
970
970
|
|
971
971
|
— <div class='inline'>
|
972
|
-
<p>Default value is
|
972
|
+
<p>Default value is ‘1`.</p>
|
973
973
|
</div>
|
974
974
|
|
975
975
|
</li>
|
@@ -982,7 +982,7 @@
|
|
982
982
|
</span>
|
983
983
|
|
984
984
|
— <div class='inline'>
|
985
|
-
<p>Default value is
|
985
|
+
<p>Default value is ‘1`.</p>
|
986
986
|
</div>
|
987
987
|
|
988
988
|
</li>
|
@@ -995,7 +995,7 @@
|
|
995
995
|
</span>
|
996
996
|
|
997
997
|
— <div class='inline'>
|
998
|
-
<p
|
998
|
+
<p>‘:integer`, `:string`.</p>
|
999
999
|
</div>
|
1000
1000
|
|
1001
1001
|
</li>
|
@@ -1582,9 +1582,9 @@
|
|
1582
1582
|
</div>
|
1583
1583
|
|
1584
1584
|
<div id="footer">
|
1585
|
-
Generated on
|
1586
|
-
<a href="
|
1587
|
-
0.9.
|
1585
|
+
Generated on Wed Aug 9 17:34:27 2023 by
|
1586
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1587
|
+
0.9.34 (ruby-3.2.2).
|
1588
1588
|
</div>
|
1589
1589
|
|
1590
1590
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::AP::ParameterResult
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -970,9 +970,9 @@
|
|
970
970
|
</div>
|
971
971
|
|
972
972
|
<div id="footer">
|
973
|
-
Generated on
|
974
|
-
<a href="
|
975
|
-
0.9.
|
973
|
+
Generated on Wed Aug 9 17:34:26 2023 by
|
974
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
975
|
+
0.9.34 (ruby-3.2.2).
|
976
976
|
</div>
|
977
977
|
|
978
978
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: TermUtils::AP::ParameterWalkerHooks
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -399,9 +399,9 @@
|
|
399
399
|
</div>
|
400
400
|
|
401
401
|
<div id="footer">
|
402
|
-
Generated on
|
403
|
-
<a href="
|
404
|
-
0.9.
|
402
|
+
Generated on Wed Aug 9 17:34:27 2023 by
|
403
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
404
|
+
0.9.34 (ruby-3.2.2).
|
405
405
|
</div>
|
406
406
|
|
407
407
|
</div>
|