doing 2.0.25 → 2.1.0pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +18 -15
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +28 -0
- data/Gemfile.lock +8 -1
- data/README.md +1 -1
- data/Rakefile +23 -4
- data/bin/doing +205 -127
- data/doc/Array.html +354 -1
- data/doc/Doing/Color.html +104 -92
- data/doc/Doing/Completion.html +216 -0
- data/doc/Doing/Configuration.html +340 -5
- data/doc/Doing/Content.html +229 -0
- data/doc/Doing/Errors/DoingNoTraceError.html +1 -1
- data/doc/Doing/Errors/DoingRuntimeError.html +1 -1
- data/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/doc/Doing/Errors/EmptyInput.html +1 -1
- data/doc/Doing/Errors/NoResults.html +1 -1
- data/doc/Doing/Errors/PluginException.html +1 -1
- data/doc/Doing/Errors/UserCancelled.html +1 -1
- data/doc/Doing/Errors/WrongCommand.html +1 -1
- data/doc/Doing/Errors.html +1 -1
- data/doc/Doing/Hooks.html +1 -1
- data/doc/Doing/Item.html +337 -49
- data/doc/Doing/Items.html +444 -35
- data/doc/Doing/LogAdapter.html +139 -51
- data/doc/Doing/Note.html +253 -22
- data/doc/Doing/Pager.html +74 -36
- data/doc/Doing/Plugins.html +1 -1
- data/doc/Doing/Prompt.html +674 -0
- data/doc/Doing/Section.html +354 -0
- data/doc/Doing/Util.html +57 -1
- data/doc/Doing/WWID.html +477 -670
- data/doc/Doing/WWIDFile.html +398 -0
- data/doc/Doing.html +5 -5
- data/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/doc/GLI/Commands.html +1 -1
- data/doc/GLI.html +1 -1
- data/doc/Hash.html +97 -1
- data/doc/Status.html +37 -3
- data/doc/String.html +599 -23
- data/doc/Symbol.html +3 -3
- data/doc/Time.html +1 -1
- data/doc/_index.html +22 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +8 -2
- data/doc/index.html +8 -2
- data/doc/method_list.html +453 -173
- data/doc/top-level-namespace.html +1 -1
- data/doing.gemspec +3 -0
- data/doing.rdoc +40 -12
- data/example_plugin.rb +3 -3
- data/lib/completion/_doing.zsh +1 -1
- data/lib/completion/doing.bash +8 -8
- data/lib/completion/doing.fish +1 -1
- data/lib/doing/array.rb +36 -0
- data/lib/doing/colors.rb +70 -66
- data/lib/doing/completion.rb +6 -0
- data/lib/doing/configuration.rb +69 -28
- data/lib/doing/hash.rb +37 -0
- data/lib/doing/item.rb +77 -12
- data/lib/doing/items.rb +125 -0
- data/lib/doing/log_adapter.rb +55 -3
- data/lib/doing/note.rb +53 -1
- data/lib/doing/pager.rb +49 -38
- data/lib/doing/plugins/export/markdown_export.rb +4 -4
- data/lib/doing/plugins/export/template_export.rb +2 -2
- data/lib/doing/plugins/import/calendar_import.rb +4 -4
- data/lib/doing/plugins/import/doing_import.rb +5 -7
- data/lib/doing/plugins/import/timing_import.rb +3 -3
- data/lib/doing/prompt.rb +206 -0
- data/lib/doing/section.rb +30 -0
- data/lib/doing/string.rb +103 -27
- data/lib/doing/util.rb +14 -6
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +306 -621
- data/lib/doing.rb +6 -2
- data/lib/examples/plugins/capture_thing_import.rb +162 -0
- metadata +73 -5
- data/lib/doing/wwidfile.rb +0 -117
data/doc/Doing/LogAdapter.html
CHANGED
@@ -137,16 +137,18 @@
|
|
137
137
|
|
138
138
|
</dt>
|
139
139
|
<dd><pre class="code"><span class='qsymbols_beg'>%i[</span><span class='words_sep'>
|
140
|
-
</span><span class='tstring_content'>added_tags</span><span class='words_sep'>
|
141
|
-
</span><span class='tstring_content'>removed_tags</span><span class='words_sep'>
|
142
140
|
</span><span class='tstring_content'>added</span><span class='words_sep'>
|
143
|
-
</span><span class='tstring_content'>
|
144
|
-
</span><span class='tstring_content'>deleted</span><span class='words_sep'>
|
145
|
-
</span><span class='tstring_content'>completed</span><span class='words_sep'>
|
141
|
+
</span><span class='tstring_content'>added_tags</span><span class='words_sep'>
|
146
142
|
</span><span class='tstring_content'>archived</span><span class='words_sep'>
|
147
|
-
</span><span class='tstring_content'>
|
143
|
+
</span><span class='tstring_content'>autotag</span><span class='words_sep'>
|
144
|
+
</span><span class='tstring_content'>completed</span><span class='words_sep'>
|
148
145
|
</span><span class='tstring_content'>completed_archived</span><span class='words_sep'>
|
146
|
+
</span><span class='tstring_content'>deleted</span><span class='words_sep'>
|
147
|
+
</span><span class='tstring_content'>moved</span><span class='words_sep'>
|
148
|
+
</span><span class='tstring_content'>removed_tags</span><span class='words_sep'>
|
149
|
+
</span><span class='tstring_content'>rotated</span><span class='words_sep'>
|
149
150
|
</span><span class='tstring_content'>skipped</span><span class='words_sep'>
|
151
|
+
</span><span class='tstring_content'>updated</span><span class='words_sep'>
|
150
152
|
</span><span class='tstring_end'>]</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
151
153
|
|
152
154
|
</dl>
|
@@ -180,7 +182,7 @@
|
|
180
182
|
|
181
183
|
|
182
184
|
|
183
|
-
<span class="summary_desc"><div class='inline'><p>Returns the
|
185
|
+
<span class="summary_desc"><div class='inline'><p>Returns the current log level (debug, info, warn, error).</p>
|
184
186
|
</div></span>
|
185
187
|
|
186
188
|
</li>
|
@@ -208,7 +210,7 @@
|
|
208
210
|
|
209
211
|
|
210
212
|
|
211
|
-
<span class="summary_desc"><div class='inline'><p>Sets the
|
213
|
+
<span class="summary_desc"><div class='inline'><p>Sets the log device.</p>
|
212
214
|
</div></span>
|
213
215
|
|
214
216
|
</li>
|
@@ -236,7 +238,7 @@
|
|
236
238
|
|
237
239
|
|
238
240
|
|
239
|
-
<span class="summary_desc"><div class='inline'><p>
|
241
|
+
<span class="summary_desc"><div class='inline'><p>Max length of log messages (truncate in middle).</p>
|
240
242
|
</div></span>
|
241
243
|
|
242
244
|
</li>
|
@@ -492,6 +494,28 @@
|
|
492
494
|
<span class="summary_desc"><div class='inline'><p>Create a new instance of a log writer.</p>
|
493
495
|
</div></span>
|
494
496
|
|
497
|
+
</li>
|
498
|
+
|
499
|
+
|
500
|
+
<li class="public ">
|
501
|
+
<span class="summary_signature">
|
502
|
+
|
503
|
+
<a href="#log_change-instance_method" title="#log_change (instance method)">#<strong>log_change</strong>(tags_added: [], tags_removed: [], count: 1, item: nil, single: false) ⇒ Object </a>
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
</span>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
518
|
+
|
495
519
|
</li>
|
496
520
|
|
497
521
|
|
@@ -561,6 +585,52 @@
|
|
561
585
|
<span class="summary_desc"><div class='inline'><p>Output registers based on log level.</p>
|
562
586
|
</div></span>
|
563
587
|
|
588
|
+
</li>
|
589
|
+
|
590
|
+
|
591
|
+
<li class="public ">
|
592
|
+
<span class="summary_signature">
|
593
|
+
|
594
|
+
<a href="#restore_level-instance_method" title="#restore_level (instance method)">#<strong>restore_level</strong> ⇒ Object </a>
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
</span>
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
<span class="summary_desc"><div class='inline'><p>Restore temporary level.</p>
|
609
|
+
</div></span>
|
610
|
+
|
611
|
+
</li>
|
612
|
+
|
613
|
+
|
614
|
+
<li class="public ">
|
615
|
+
<span class="summary_signature">
|
616
|
+
|
617
|
+
<a href="#temp_level-instance_method" title="#temp_level (instance method)">#<strong>temp_level</strong>(level) ⇒ Object </a>
|
618
|
+
|
619
|
+
|
620
|
+
|
621
|
+
</span>
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
|
631
|
+
<span class="summary_desc"><div class='inline'><p>Set log level temporarily.</p>
|
632
|
+
</div></span>
|
633
|
+
|
564
634
|
</li>
|
565
635
|
|
566
636
|
|
@@ -677,7 +747,7 @@
|
|
677
747
|
|
678
748
|
</h3><div class="docstring">
|
679
749
|
<div class="discussion">
|
680
|
-
<p>Returns the
|
750
|
+
<p>Returns the current log level (debug, info, warn, error)</p>
|
681
751
|
|
682
752
|
|
683
753
|
</div>
|
@@ -701,32 +771,13 @@
|
|
701
771
|
|
702
772
|
</h3><div class="docstring">
|
703
773
|
<div class="discussion">
|
704
|
-
<p>Sets the
|
774
|
+
<p>Sets the log device</p>
|
705
775
|
|
706
776
|
|
707
777
|
</div>
|
708
778
|
</div>
|
709
779
|
<div class="tags">
|
710
|
-
<p class="tag_title">Parameters:</p>
|
711
|
-
<ul class="param">
|
712
780
|
|
713
|
-
<li>
|
714
|
-
|
715
|
-
<span class='name'>value</span>
|
716
|
-
|
717
|
-
|
718
|
-
<span class='type'></span>
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
—
|
723
|
-
<div class='inline'><p>the value to set the attribute logdev to.</p>
|
724
|
-
</div>
|
725
|
-
|
726
|
-
</li>
|
727
|
-
|
728
|
-
</ul>
|
729
|
-
|
730
781
|
|
731
782
|
</div>
|
732
783
|
</div>
|
@@ -744,32 +795,13 @@
|
|
744
795
|
|
745
796
|
</h3><div class="docstring">
|
746
797
|
<div class="discussion">
|
747
|
-
<p>
|
798
|
+
<p>Max length of log messages (truncate in middle)</p>
|
748
799
|
|
749
800
|
|
750
801
|
</div>
|
751
802
|
</div>
|
752
803
|
<div class="tags">
|
753
|
-
<p class="tag_title">Parameters:</p>
|
754
|
-
<ul class="param">
|
755
804
|
|
756
|
-
<li>
|
757
|
-
|
758
|
-
<span class='name'>value</span>
|
759
|
-
|
760
|
-
|
761
|
-
<span class='type'></span>
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
—
|
766
|
-
<div class='inline'><p>the value to set the attribute max_length to.</p>
|
767
|
-
</div>
|
768
|
-
|
769
|
-
</li>
|
770
|
-
|
771
|
-
</ul>
|
772
|
-
|
773
805
|
|
774
806
|
</div>
|
775
807
|
</div>
|
@@ -1258,6 +1290,18 @@ omitted)</p>
|
|
1258
1290
|
</ul>
|
1259
1291
|
|
1260
1292
|
</div>
|
1293
|
+
</div>
|
1294
|
+
|
1295
|
+
<div class="method_details ">
|
1296
|
+
<h3 class="signature " id="log_change-instance_method">
|
1297
|
+
|
1298
|
+
#<strong>log_change</strong>(tags_added: [], tags_removed: [], count: 1, item: nil, single: false) ⇒ <tt>Object</tt>
|
1299
|
+
|
1300
|
+
|
1301
|
+
|
1302
|
+
|
1303
|
+
|
1304
|
+
</h3>
|
1261
1305
|
</div>
|
1262
1306
|
|
1263
1307
|
<div class="method_details ">
|
@@ -1444,6 +1488,50 @@ omitted)</p>
|
|
1444
1488
|
|
1445
1489
|
</ul>
|
1446
1490
|
|
1491
|
+
</div>
|
1492
|
+
</div>
|
1493
|
+
|
1494
|
+
<div class="method_details ">
|
1495
|
+
<h3 class="signature " id="restore_level-instance_method">
|
1496
|
+
|
1497
|
+
#<strong>restore_level</strong> ⇒ <tt>Object</tt>
|
1498
|
+
|
1499
|
+
|
1500
|
+
|
1501
|
+
|
1502
|
+
|
1503
|
+
</h3><div class="docstring">
|
1504
|
+
<div class="discussion">
|
1505
|
+
<p>Restore temporary level</p>
|
1506
|
+
|
1507
|
+
|
1508
|
+
</div>
|
1509
|
+
</div>
|
1510
|
+
<div class="tags">
|
1511
|
+
|
1512
|
+
|
1513
|
+
</div>
|
1514
|
+
</div>
|
1515
|
+
|
1516
|
+
<div class="method_details ">
|
1517
|
+
<h3 class="signature " id="temp_level-instance_method">
|
1518
|
+
|
1519
|
+
#<strong>temp_level</strong>(level) ⇒ <tt>Object</tt>
|
1520
|
+
|
1521
|
+
|
1522
|
+
|
1523
|
+
|
1524
|
+
|
1525
|
+
</h3><div class="docstring">
|
1526
|
+
<div class="discussion">
|
1527
|
+
<p>Set log level temporarily</p>
|
1528
|
+
|
1529
|
+
|
1530
|
+
</div>
|
1531
|
+
</div>
|
1532
|
+
<div class="tags">
|
1533
|
+
|
1534
|
+
|
1447
1535
|
</div>
|
1448
1536
|
</div>
|
1449
1537
|
|
@@ -1640,7 +1728,7 @@ message (optional)</p>
|
|
1640
1728
|
</div>
|
1641
1729
|
|
1642
1730
|
<div id="footer">
|
1643
|
-
Generated on
|
1731
|
+
Generated on Sat Nov 27 10:06:03 2021 by
|
1644
1732
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1645
1733
|
0.9.26 (ruby-3.0.1).
|
1646
1734
|
</div>
|