doing 2.1.39 → 2.1.40
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 +23 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/bin/commands/config.rb +43 -34
- data/bin/commands/done.rb +1 -18
- data/bin/commands/finish.rb +30 -25
- data/bin/commands/grep.rb +3 -14
- data/bin/commands/last.rb +2 -8
- data/bin/commands/meanwhile.rb +13 -6
- data/bin/commands/on.rb +3 -16
- data/bin/commands/recent.rb +2 -8
- data/bin/commands/reset.rb +24 -1
- data/bin/commands/select.rb +1 -1
- data/bin/commands/show.rb +6 -17
- data/bin/commands/since.rb +1 -12
- data/bin/commands/today.rb +2 -13
- data/bin/commands/view.rb +1 -1
- data/bin/commands/yesterday.rb +2 -13
- data/bin/doing +15 -8
- data/docs/doc/Array.html +1 -1
- data/docs/doc/BooleanTermParser/Clause.html +1 -1
- data/docs/doc/BooleanTermParser/Operator.html +1 -1
- data/docs/doc/BooleanTermParser/Query.html +1 -1
- data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
- data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/Color.html +166 -20
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +1 -1
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +7 -3
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +7 -3
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +10 -2
- data/docs/doc/Doing/Errors/HistoryLimitError.html +194 -0
- data/docs/doc/Doing/Errors/InvalidPlugin.html +194 -0
- data/docs/doc/Doing/Errors/MissingBackupFile.html +194 -0
- data/docs/doc/Doing/Errors/NoResults.html +10 -2
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +10 -2
- data/docs/doc/Doing/Errors/WrongCommand.html +10 -2
- data/docs/doc/Doing/Errors.html +9 -9
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +90 -1615
- data/docs/doc/Doing/Items.html +121 -5
- data/docs/doc/Doing/Logger.html +1 -1
- data/docs/doc/Doing/Note.html +1 -1
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +1 -1
- data/docs/doc/Doing/Prompt.html +2 -2
- data/docs/doc/Doing/Section.html +1 -1
- data/docs/doc/Doing/TemplateString.html +2 -2
- data/docs/doc/Doing/Types.html +1 -1
- data/docs/doc/Doing/Util/Backup.html +5 -5
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/WWID.html +197 -4033
- data/docs/doc/Doing.html +2 -2
- data/docs/doc/FalseClass.html +1 -1
- data/docs/doc/GLI/Commands/Help.html +1 -1
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +1 -1
- data/docs/doc/Object.html +1 -1
- data/docs/doc/PhraseParser/Operator.html +1 -1
- data/docs/doc/PhraseParser/PhraseClause.html +1 -1
- data/docs/doc/PhraseParser/Query.html +1 -1
- data/docs/doc/PhraseParser/QueryParser.html +1 -1
- data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
- data/docs/doc/PhraseParser/TermClause.html +1 -1
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +1 -1
- data/docs/doc/String.html +1 -1
- data/docs/doc/Symbol.html +1 -1
- data/docs/doc/Time.html +1 -1
- data/docs/doc/TrueClass.html +1 -1
- data/docs/doc/_index.html +26 -5
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +293 -773
- data/docs/doc/top-level-namespace.html +3 -3
- data/docs/index.md +1 -1
- data/doing.rdoc +49 -7
- data/lib/completion/_doing.zsh +5 -5
- data/lib/completion/doing.bash +8 -8
- data/lib/completion/doing.fish +7 -2
- data/lib/doing/add_options.rb +31 -1
- data/lib/doing/chronify/array.rb +64 -22
- data/lib/doing/colors.rb +77 -30
- data/lib/doing/completion.rb +4 -5
- data/lib/doing/errors.rb +51 -35
- data/lib/doing/hooks.rb +3 -3
- data/lib/doing/item/dates.rb +112 -0
- data/lib/doing/item/query.rb +433 -0
- data/lib/doing/item/state.rb +59 -0
- data/lib/doing/item/tags.rb +87 -0
- data/lib/doing/item.rb +6 -667
- data/lib/doing/items.rb +38 -13
- data/lib/doing/plugin_manager.rb +3 -3
- data/lib/doing/plugins/export/template_export.rb +4 -4
- data/lib/doing/plugins/import/cal_to_json.scpt +0 -0
- data/lib/doing/util_backup.rb +6 -8
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid/display.rb +399 -0
- data/lib/doing/wwid/editor.rb +214 -0
- data/lib/doing/wwid/filetools.rb +186 -0
- data/lib/doing/wwid/filter.rb +218 -0
- data/lib/doing/wwid/guess.rb +87 -0
- data/lib/doing/wwid/interactive.rb +385 -0
- data/lib/doing/wwid/modify.rb +618 -0
- data/lib/doing/wwid/tags.rb +54 -0
- data/lib/doing/wwid/timers.rb +345 -0
- data/lib/doing/wwid/wwidutil.rb +104 -0
- data/lib/doing/wwid.rb +31 -2317
- metadata +19 -2
data/docs/doc/Doing/Items.html
CHANGED
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
|
105
105
|
<div class="discussion">
|
|
106
|
-
<p>
|
|
106
|
+
<p>A collection of Item objects</p>
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
</div>
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
<li class="public ">
|
|
296
296
|
<span class="summary_signature">
|
|
297
297
|
|
|
298
|
-
<a href="#diff-instance_method" title="#diff (instance method)">#<strong>diff</strong>(items) ⇒
|
|
298
|
+
<a href="#diff-instance_method" title="#diff (instance method)">#<strong>diff</strong>(items) ⇒ Hash </a>
|
|
299
299
|
|
|
300
300
|
|
|
301
301
|
|
|
@@ -312,6 +312,29 @@
|
|
|
312
312
|
<span class="summary_desc"><div class='inline'><p>Return Items containing items that don't exist in receiver.</p>
|
|
313
313
|
</div></span>
|
|
314
314
|
|
|
315
|
+
</li>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
<li class="public ">
|
|
319
|
+
<span class="summary_signature">
|
|
320
|
+
|
|
321
|
+
<a href="#guess_section-instance_method" title="#guess_section (instance method)">#<strong>guess_section</strong>(frag, distance: 2) ⇒ Section </a>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
</span>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
<span class="summary_desc"><div class='inline'><p>Return the best section match for a search query.</p>
|
|
336
|
+
</div></span>
|
|
337
|
+
|
|
315
338
|
</li>
|
|
316
339
|
|
|
317
340
|
|
|
@@ -774,7 +797,7 @@ creation of the section.</p>
|
|
|
774
797
|
<div class="method_details ">
|
|
775
798
|
<h3 class="signature " id="diff-instance_method">
|
|
776
799
|
|
|
777
|
-
#<strong>diff</strong>(items) ⇒ <tt><span class='object_link'><a href="../
|
|
800
|
+
#<strong>diff</strong>(items) ⇒ <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>
|
|
778
801
|
|
|
779
802
|
|
|
780
803
|
|
|
@@ -782,7 +805,8 @@ creation of the section.</p>
|
|
|
782
805
|
|
|
783
806
|
</h3><div class="docstring">
|
|
784
807
|
<div class="discussion">
|
|
785
|
-
<p>Return Items containing items that don't exist in
|
|
808
|
+
<p>Return Items containing items that don't exist in
|
|
809
|
+
receiver</p>
|
|
786
810
|
|
|
787
811
|
|
|
788
812
|
</div>
|
|
@@ -808,6 +832,98 @@ creation of the section.</p>
|
|
|
808
832
|
|
|
809
833
|
</ul>
|
|
810
834
|
|
|
835
|
+
<p class="tag_title">Returns:</p>
|
|
836
|
+
<ul class="return">
|
|
837
|
+
|
|
838
|
+
<li>
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
—
|
|
846
|
+
<div class='inline'><p>Hash of added and deleted items</p>
|
|
847
|
+
</div>
|
|
848
|
+
|
|
849
|
+
</li>
|
|
850
|
+
|
|
851
|
+
</ul>
|
|
852
|
+
|
|
853
|
+
</div>
|
|
854
|
+
</div>
|
|
855
|
+
|
|
856
|
+
<div class="method_details ">
|
|
857
|
+
<h3 class="signature " id="guess_section-instance_method">
|
|
858
|
+
|
|
859
|
+
#<strong>guess_section</strong>(frag, distance: 2) ⇒ <tt><span class='object_link'><a href="Section.html" title="Doing::Section (class)">Section</a></span></tt>
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
</h3><div class="docstring">
|
|
866
|
+
<div class="discussion">
|
|
867
|
+
<p>Return the best section match for a search query</p>
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
</div>
|
|
871
|
+
</div>
|
|
872
|
+
<div class="tags">
|
|
873
|
+
<p class="tag_title">Parameters:</p>
|
|
874
|
+
<ul class="param">
|
|
875
|
+
|
|
876
|
+
<li>
|
|
877
|
+
|
|
878
|
+
<span class='name'>frag</span>
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
<span class='type'></span>
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
—
|
|
886
|
+
<div class='inline'><p>The search query</p>
|
|
887
|
+
</div>
|
|
888
|
+
|
|
889
|
+
</li>
|
|
890
|
+
|
|
891
|
+
<li>
|
|
892
|
+
|
|
893
|
+
<span class='name'>distance</span>
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
<span class='type'></span>
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
<em class="default">(defaults to: <tt>2</tt>)</em>
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
—
|
|
903
|
+
<div class='inline'><p>The distance apart characters can be (fuzziness)</p>
|
|
904
|
+
</div>
|
|
905
|
+
|
|
906
|
+
</li>
|
|
907
|
+
|
|
908
|
+
</ul>
|
|
909
|
+
|
|
910
|
+
<p class="tag_title">Returns:</p>
|
|
911
|
+
<ul class="return">
|
|
912
|
+
|
|
913
|
+
<li>
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
<span class='type'>(<tt><span class='object_link'><a href="Section.html" title="Doing::Section (class)">Section</a></span></tt>)</span>
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
—
|
|
921
|
+
<div class='inline'><p>(first) matching section object</p>
|
|
922
|
+
</div>
|
|
923
|
+
|
|
924
|
+
</li>
|
|
925
|
+
|
|
926
|
+
</ul>
|
|
811
927
|
|
|
812
928
|
</div>
|
|
813
929
|
</div>
|
|
@@ -1098,7 +1214,7 @@ specified section</p>
|
|
|
1098
1214
|
</div>
|
|
1099
1215
|
|
|
1100
1216
|
<div id="footer">
|
|
1101
|
-
Generated on
|
|
1217
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
1102
1218
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1103
1219
|
0.9.27 (ruby-3.0.1).
|
|
1104
1220
|
</div>
|
data/docs/doc/Doing/Logger.html
CHANGED
|
@@ -1797,7 +1797,7 @@ message (optional)</p>
|
|
|
1797
1797
|
</div>
|
|
1798
1798
|
|
|
1799
1799
|
<div id="footer">
|
|
1800
|
-
Generated on
|
|
1800
|
+
Generated on Tue Mar 15 11:14:30 2022 by
|
|
1801
1801
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1802
1802
|
0.9.27 (ruby-3.0.1).
|
|
1803
1803
|
</div>
|
data/docs/doc/Doing/Note.html
CHANGED
|
@@ -733,7 +733,7 @@ join multiple lines</p>
|
|
|
733
733
|
</div>
|
|
734
734
|
|
|
735
735
|
<div id="footer">
|
|
736
|
-
Generated on
|
|
736
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
737
737
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
738
738
|
0.9.27 (ruby-3.0.1).
|
|
739
739
|
</div>
|
data/docs/doc/Doing/Pager.html
CHANGED
|
@@ -296,7 +296,7 @@ STDOUT</p>
|
|
|
296
296
|
</div>
|
|
297
297
|
|
|
298
298
|
<div id="footer">
|
|
299
|
-
Generated on
|
|
299
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
300
300
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
301
301
|
0.9.27 (ruby-3.0.1).
|
|
302
302
|
</div>
|
data/docs/doc/Doing/Plugins.html
CHANGED
|
@@ -1235,7 +1235,7 @@ e.g. :imp => :import</p>
|
|
|
1235
1235
|
</div>
|
|
1236
1236
|
|
|
1237
1237
|
<div id="footer">
|
|
1238
|
-
Generated on
|
|
1238
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
1239
1239
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1240
1240
|
0.9.27 (ruby-3.0.1).
|
|
1241
1241
|
</div>
|
data/docs/doc/Doing/Prompt.html
CHANGED
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
|
|
502
|
-
<p class="inherited"><span class='object_link'><a href="Color.html#attributes-
|
|
502
|
+
<p class="inherited"><span class='object_link'><a href="Color.html#attributes-instance_method" title="Doing::Color#attributes (method)">attributes</a></span>, <span class='object_link'><a href="Color.html#coloring%3F-class_method" title="Doing::Color.coloring? (method)">coloring?</a></span>, <span class='object_link'><a href="Color.html#support%3F-instance_method" title="Doing::Color#support? (method)">support?</a></span>, <span class='object_link'><a href="Color.html#template-class_method" title="Doing::Color.template (method)">template</a></span>, <span class='object_link'><a href="Color.html#uncolor-instance_method" title="Doing::Color#uncolor (method)">uncolor</a></span></p>
|
|
503
503
|
|
|
504
504
|
<div id="class_attr_details" class="attr_details">
|
|
505
505
|
<h2>Class Attribute Details</h2>
|
|
@@ -977,7 +977,7 @@ response if no input</p>
|
|
|
977
977
|
</div>
|
|
978
978
|
|
|
979
979
|
<div id="footer">
|
|
980
|
-
Generated on
|
|
980
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
981
981
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
982
982
|
0.9.27 (ruby-3.0.1).
|
|
983
983
|
</div>
|
data/docs/doc/Doing/Section.html
CHANGED
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
</div>
|
|
345
345
|
|
|
346
346
|
<div id="footer">
|
|
347
|
-
Generated on
|
|
347
|
+
Generated on Tue Mar 15 11:14:30 2022 by
|
|
348
348
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
349
349
|
0.9.27 (ruby-3.0.1).
|
|
350
350
|
</div>
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
|
|
390
390
|
|
|
391
391
|
<h3 class="inherited">Methods included from <span class='object_link'><a href="Color.html" title="Doing::Color (module)">Color</a></span></h3>
|
|
392
|
-
<p class="inherited"><span class='object_link'><a href="Color.html#attributes-
|
|
392
|
+
<p class="inherited"><span class='object_link'><a href="Color.html#attributes-instance_method" title="Doing::Color#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Color.html#coloring%3F-class_method" title="Doing::Color.coloring? (method)">coloring?</a></span>, <span class='object_link'><a href="Color.html#support%3F-instance_method" title="Doing::Color#support? (method)">#support?</a></span>, <span class='object_link'><a href="Color.html#template-class_method" title="Doing::Color.template (method)">template</a></span>, <span class='object_link'><a href="Color.html#uncolor-instance_method" title="Doing::Color#uncolor (method)">#uncolor</a></span></p>
|
|
393
393
|
|
|
394
394
|
|
|
395
395
|
|
|
@@ -703,7 +703,7 @@ of colors and string locations</p>
|
|
|
703
703
|
</div>
|
|
704
704
|
|
|
705
705
|
<div id="footer">
|
|
706
|
-
Generated on
|
|
706
|
+
Generated on Tue Mar 15 11:14:30 2022 by
|
|
707
707
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
708
708
|
0.9.27 (ruby-3.0.1).
|
|
709
709
|
</div>
|
data/docs/doc/Doing/Types.html
CHANGED
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
<div id="footer">
|
|
239
|
-
Generated on
|
|
239
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
240
240
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
241
241
|
0.9.27 (ruby-3.0.1).
|
|
242
242
|
</div>
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
<li>
|
|
573
573
|
|
|
574
574
|
|
|
575
|
-
<span class='type'>(<tt>
|
|
575
|
+
<span class='type'>(<tt>HistoryLimitError</tt>)</span>
|
|
576
576
|
|
|
577
577
|
|
|
578
578
|
|
|
@@ -630,7 +630,7 @@ different from default</p>
|
|
|
630
630
|
<li>
|
|
631
631
|
|
|
632
632
|
|
|
633
|
-
<span class='type'>(<tt>
|
|
633
|
+
<span class='type'>(<tt>HistoryLimitError</tt>)</span>
|
|
634
634
|
|
|
635
635
|
|
|
636
636
|
|
|
@@ -687,7 +687,7 @@ provided, only backups of that filename will be used.</p>
|
|
|
687
687
|
<li>
|
|
688
688
|
|
|
689
689
|
|
|
690
|
-
<span class='type'>(<tt>
|
|
690
|
+
<span class='type'>(<tt>MissingBackupFile</tt>)</span>
|
|
691
691
|
|
|
692
692
|
|
|
693
693
|
|
|
@@ -744,7 +744,7 @@ provided, only backups of that filename will be used.</p>
|
|
|
744
744
|
<li>
|
|
745
745
|
|
|
746
746
|
|
|
747
|
-
<span class='type'>(<tt>
|
|
747
|
+
<span class='type'>(<tt>HistoryLimitError</tt>)</span>
|
|
748
748
|
|
|
749
749
|
|
|
750
750
|
|
|
@@ -836,7 +836,7 @@ in a hidden directory</p>
|
|
|
836
836
|
</div>
|
|
837
837
|
|
|
838
838
|
<div id="footer">
|
|
839
|
-
Generated on
|
|
839
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
840
840
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
841
841
|
0.9.27 (ruby-3.0.1).
|
|
842
842
|
</div>
|
data/docs/doc/Doing/Util.html
CHANGED
|
@@ -925,7 +925,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
|
925
925
|
</div>
|
|
926
926
|
|
|
927
927
|
<div id="footer">
|
|
928
|
-
Generated on
|
|
928
|
+
Generated on Tue Mar 15 11:14:29 2022 by
|
|
929
929
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
930
930
|
0.9.27 (ruby-3.0.1).
|
|
931
931
|
</div>
|