doing 2.1.12 → 2.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.irbrc +1 -0
  3. data/.yardoc/checksums +16 -14
  4. data/.yardoc/object_types +0 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/CHANGELOG.md +67 -0
  7. data/Gemfile.lock +9 -2
  8. data/README.md +56 -19
  9. data/bin/doing +317 -113
  10. data/docs/doc/Array.html +117 -3
  11. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  12. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  13. data/docs/doc/BooleanTermParser/Query.html +1 -1
  14. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  15. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  16. data/docs/doc/BooleanTermParser.html +1 -1
  17. data/docs/doc/Doing/Color.html +1 -1
  18. data/docs/doc/Doing/Completion.html +1 -1
  19. data/docs/doc/Doing/Configuration.html +7 -4
  20. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  21. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  22. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  23. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  24. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  25. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  26. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  27. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  28. data/docs/doc/Doing/Errors.html +1 -1
  29. data/docs/doc/Doing/Hooks.html +1 -1
  30. data/docs/doc/Doing/Item.html +337 -14
  31. data/docs/doc/Doing/Items.html +66 -2
  32. data/docs/doc/Doing/LogAdapter.html +1 -1
  33. data/docs/doc/Doing/Note.html +2 -2
  34. data/docs/doc/Doing/Pager.html +1 -1
  35. data/docs/doc/Doing/Plugins.html +1 -1
  36. data/docs/doc/Doing/Prompt.html +103 -1
  37. data/docs/doc/Doing/Section.html +1 -1
  38. data/docs/doc/Doing/TemplateString.html +2 -2
  39. data/docs/doc/Doing/Util/Backup.html +84 -1
  40. data/docs/doc/Doing/Util.html +1 -1
  41. data/docs/doc/Doing/WWID.html +214 -35
  42. data/docs/doc/Doing.html +3 -3
  43. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  44. data/docs/doc/GLI/Commands.html +1 -1
  45. data/docs/doc/GLI.html +1 -1
  46. data/docs/doc/Hash.html +1 -1
  47. data/docs/doc/Numeric.html +279 -0
  48. data/docs/doc/PhraseParser/Operator.html +1 -1
  49. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  50. data/docs/doc/PhraseParser/Query.html +1 -1
  51. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  52. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  53. data/docs/doc/PhraseParser/TermClause.html +1 -1
  54. data/docs/doc/PhraseParser.html +1 -1
  55. data/docs/doc/Status.html +1 -1
  56. data/docs/doc/String.html +881 -138
  57. data/docs/doc/Symbol.html +1 -1
  58. data/docs/doc/Time.html +1 -1
  59. data/docs/doc/_index.html +14 -9
  60. data/docs/doc/class_list.html +1 -1
  61. data/docs/doc/file.README.html +41 -15
  62. data/docs/doc/index.html +41 -15
  63. data/docs/doc/method_list.html +408 -256
  64. data/docs/doc/top-level-namespace.html +2 -2
  65. data/docs/index.md +56 -19
  66. data/doing.gemspec +2 -0
  67. data/doing.rdoc +257 -48
  68. data/example_plugin.rb +2 -4
  69. data/lib/completion/_doing.zsh +31 -27
  70. data/lib/completion/doing.bash +50 -39
  71. data/lib/completion/doing.fish +37 -7
  72. data/lib/doing/array_chronify.rb +57 -0
  73. data/lib/doing/configuration.rb +4 -1
  74. data/lib/doing/item.rb +176 -0
  75. data/lib/doing/log_adapter.rb +1 -1
  76. data/lib/doing/numeric_chronify.rb +40 -0
  77. data/lib/doing/plugins/export/dayone_export.rb +1 -1
  78. data/lib/doing/plugins/export/json_export.rb +2 -2
  79. data/lib/doing/plugins/export/template_export.rb +47 -90
  80. data/lib/doing/plugins/import/calendar_import.rb +13 -1
  81. data/lib/doing/plugins/import/doing_import.rb +12 -1
  82. data/lib/doing/plugins/import/timing_import.rb +13 -1
  83. data/lib/doing/prompt.rb +54 -1
  84. data/lib/doing/string.rb +97 -33
  85. data/lib/doing/string_chronify.rb +112 -14
  86. data/lib/doing/template_string.rb +1 -1
  87. data/lib/doing/time.rb +6 -6
  88. data/lib/doing/util_backup.rb +1 -1
  89. data/lib/doing/version.rb +1 -1
  90. data/lib/doing/wwid.rb +128 -103
  91. data/lib/doing.rb +36 -31
  92. data/lib/examples/plugins/say_export.rb +1 -4
  93. metadata +46 -2
@@ -281,6 +281,72 @@
281
281
 
282
282
 
283
283
 
284
+ <span class="summary_desc"><div class='inline'></div></span>
285
+
286
+ </li>
287
+
288
+
289
+ <li class="public ">
290
+ <span class="summary_signature">
291
+
292
+ <a href="#read_line-class_method" title="read_line (class method)">.<strong>read_line</strong>(prompt: &#39;Enter text&#39;, completions: [], default_response: &#39;&#39;) &#x21d2; Object </a>
293
+
294
+
295
+
296
+ </span>
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+ <span class="summary_desc"><div class='inline'></div></span>
307
+
308
+ </li>
309
+
310
+
311
+ <li class="public ">
312
+ <span class="summary_signature">
313
+
314
+ <a href="#read_lines-class_method" title="read_lines (class method)">.<strong>read_lines</strong>(prompt: &#39;Enter text&#39;, completions: []) &#x21d2; Object </a>
315
+
316
+
317
+
318
+ </span>
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+ <span class="summary_desc"><div class='inline'></div></span>
329
+
330
+ </li>
331
+
332
+
333
+ <li class="public ">
334
+ <span class="summary_signature">
335
+
336
+ <a href="#request_lines-class_method" title="request_lines (class method)">.<strong>request_lines</strong>(prompt: &#39;Enter text&#39;) &#x21d2; Object </a>
337
+
338
+
339
+
340
+ </span>
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
284
350
  <span class="summary_desc"><div class='inline'></div></span>
285
351
 
286
352
  </li>
@@ -697,6 +763,42 @@
697
763
 
698
764
 
699
765
 
766
+ </h3>
767
+ </div>
768
+
769
+ <div class="method_details ">
770
+ <h3 class="signature " id="read_line-class_method">
771
+
772
+ .<strong>read_line</strong>(prompt: &#39;Enter text&#39;, completions: [], default_response: &#39;&#39;) &#x21d2; <tt>Object</tt>
773
+
774
+
775
+
776
+
777
+
778
+ </h3>
779
+ </div>
780
+
781
+ <div class="method_details ">
782
+ <h3 class="signature " id="read_lines-class_method">
783
+
784
+ .<strong>read_lines</strong>(prompt: &#39;Enter text&#39;, completions: []) &#x21d2; <tt>Object</tt>
785
+
786
+
787
+
788
+
789
+
790
+ </h3>
791
+ </div>
792
+
793
+ <div class="method_details ">
794
+ <h3 class="signature " id="request_lines-class_method">
795
+
796
+ .<strong>request_lines</strong>(prompt: &#39;Enter text&#39;) &#x21d2; <tt>Object</tt>
797
+
798
+
799
+
800
+
801
+
700
802
  </h3>
701
803
  </div>
702
804
 
@@ -830,7 +932,7 @@ response if no input</p>
830
932
  </div>
831
933
 
832
934
  <div id="footer">
833
- Generated on Tue Dec 21 14:44:17 2021 by
935
+ Generated on Tue Jan 18 02:48:57 2022 by
834
936
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
835
937
  0.9.26 (ruby-3.0.1).
836
938
  </div>
@@ -344,7 +344,7 @@
344
344
  </div>
345
345
 
346
346
  <div id="footer">
347
- Generated on Tue Dec 21 14:44:17 2021 by
347
+ Generated on Tue Jan 18 02:48:58 2022 by
348
348
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
349
349
  0.9.26 (ruby-3.0.1).
350
350
  </div>
@@ -400,7 +400,7 @@
400
400
 
401
401
 
402
402
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../String.html" title="String (class)">String</a></span></h3>
403
- <p class="inherited"><span class='object_link'><a href="../String.html#add_at-instance_method" title="String#add_at (method)">#add_at</a></span>, <span class='object_link'><a href="../String.html#add_tags-instance_method" title="String#add_tags (method)">#add_tags</a></span>, <span class='object_link'><a href="../String.html#add_tags!-instance_method" title="String#add_tags! (method)">#add_tags!</a></span>, <span class='object_link'><a href="../String.html#cap_first-instance_method" title="String#cap_first (method)">#cap_first</a></span>, <span class='object_link'><a href="../String.html#chronify-instance_method" title="String#chronify (method)">#chronify</a></span>, <span class='object_link'><a href="../String.html#chronify_qty-instance_method" title="String#chronify_qty (method)">#chronify_qty</a></span>, <span class='object_link'><a href="../String.html#clean_unlinked_urls-instance_method" title="String#clean_unlinked_urls (method)">#clean_unlinked_urls</a></span>, <span class='object_link'><a href="../String.html#compress-instance_method" title="String#compress (method)">#compress</a></span>, <span class='object_link'><a href="../String.html#compress!-instance_method" title="String#compress! (method)">#compress!</a></span>, <span class='object_link'><a href="../String.html#dedup_tags-instance_method" title="String#dedup_tags (method)">#dedup_tags</a></span>, <span class='object_link'><a href="../String.html#dedup_tags!-instance_method" title="String#dedup_tags! (method)">#dedup_tags!</a></span>, <span class='object_link'><a href="../String.html#highlight_tags-instance_method" title="String#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="../String.html#highlight_tags!-instance_method" title="String#highlight_tags! (method)">#highlight_tags!</a></span>, <span class='object_link'><a href="../String.html#ignore%3F-instance_method" title="String#ignore? (method)">#ignore?</a></span>, <span class='object_link'><a href="../String.html#is_rx%3F-instance_method" title="String#is_rx? (method)">#is_rx?</a></span>, <span class='object_link'><a href="../String.html#last_color-instance_method" title="String#last_color (method)">#last_color</a></span>, <span class='object_link'><a href="../String.html#link_urls-instance_method" title="String#link_urls (method)">#link_urls</a></span>, <span class='object_link'><a href="../String.html#link_urls!-instance_method" title="String#link_urls! (method)">#link_urls!</a></span>, <span class='object_link'><a href="../String.html#normalize_age-instance_method" title="String#normalize_age (method)">#normalize_age</a></span>, <span class='object_link'><a href="../String.html#normalize_age!-instance_method" title="String#normalize_age! (method)">#normalize_age!</a></span>, <span class='object_link'><a href="../String.html#normalize_bool-instance_method" title="String#normalize_bool (method)">#normalize_bool</a></span>, <span class='object_link'><a href="../String.html#normalize_bool!-instance_method" title="String#normalize_bool! (method)">#normalize_bool!</a></span>, <span class='object_link'><a href="../String.html#normalize_case-instance_method" title="String#normalize_case (method)">#normalize_case</a></span>, <span class='object_link'><a href="../String.html#normalize_case!-instance_method" title="String#normalize_case! (method)">#normalize_case!</a></span>, <span class='object_link'><a href="../String.html#normalize_matching-instance_method" title="String#normalize_matching (method)">#normalize_matching</a></span>, <span class='object_link'><a href="../String.html#normalize_matching!-instance_method" title="String#normalize_matching! (method)">#normalize_matching!</a></span>, <span class='object_link'><a href="../String.html#normalize_order-instance_method" title="String#normalize_order (method)">#normalize_order</a></span>, <span class='object_link'><a href="../String.html#normalize_order!-instance_method" title="String#normalize_order! (method)">#normalize_order!</a></span>, <span class='object_link'><a href="../String.html#normalize_trigger-instance_method" title="String#normalize_trigger (method)">#normalize_trigger</a></span>, <span class='object_link'><a href="../String.html#normalize_trigger!-instance_method" title="String#normalize_trigger! (method)">#normalize_trigger!</a></span>, <span class='object_link'><a href="../String.html#pluralize-instance_method" title="String#pluralize (method)">#pluralize</a></span>, <span class='object_link'><a href="../String.html#remove_self_links-instance_method" title="String#remove_self_links (method)">#remove_self_links</a></span>, <span class='object_link'><a href="../String.html#replace_qualified_urls-instance_method" title="String#replace_qualified_urls (method)">#replace_qualified_urls</a></span>, <span class='object_link'><a href="../String.html#set_type-instance_method" title="String#set_type (method)">#set_type</a></span>, <span class='object_link'><a href="../String.html#simple_wrap-instance_method" title="String#simple_wrap (method)">#simple_wrap</a></span>, <span class='object_link'><a href="../String.html#tag-instance_method" title="String#tag (method)">#tag</a></span>, <span class='object_link'><a href="../String.html#tag!-instance_method" title="String#tag! (method)">#tag!</a></span>, <span class='object_link'><a href="../String.html#to_rx-instance_method" title="String#to_rx (method)">#to_rx</a></span>, <span class='object_link'><a href="../String.html#to_tags-instance_method" title="String#to_tags (method)">#to_tags</a></span>, <span class='object_link'><a href="../String.html#truncate-instance_method" title="String#truncate (method)">#truncate</a></span>, <span class='object_link'><a href="../String.html#truncate!-instance_method" title="String#truncate! (method)">#truncate!</a></span>, <span class='object_link'><a href="../String.html#truncmiddle-instance_method" title="String#truncmiddle (method)">#truncmiddle</a></span>, <span class='object_link'><a href="../String.html#truncmiddle!-instance_method" title="String#truncmiddle! (method)">#truncmiddle!</a></span>, <span class='object_link'><a href="../String.html#truthy%3F-instance_method" title="String#truthy? (method)">#truthy?</a></span>, <span class='object_link'><a href="../String.html#uncolor-instance_method" title="String#uncolor (method)">#uncolor</a></span>, <span class='object_link'><a href="../String.html#uncolor!-instance_method" title="String#uncolor! (method)">#uncolor!</a></span>, <span class='object_link'><a href="../String.html#validate_color-instance_method" title="String#validate_color (method)">#validate_color</a></span>, <span class='object_link'><a href="../String.html#wildcard_to_rx-instance_method" title="String#wildcard_to_rx (method)">#wildcard_to_rx</a></span>, <span class='object_link'><a href="../String.html#wrap-instance_method" title="String#wrap (method)">#wrap</a></span></p>
403
+ <p class="inherited"><span class='object_link'><a href="../String.html#add_at-instance_method" title="String#add_at (method)">#add_at</a></span>, <span class='object_link'><a href="../String.html#add_tags-instance_method" title="String#add_tags (method)">#add_tags</a></span>, <span class='object_link'><a href="../String.html#add_tags!-instance_method" title="String#add_tags! (method)">#add_tags!</a></span>, <span class='object_link'><a href="../String.html#cap_first-instance_method" title="String#cap_first (method)">#cap_first</a></span>, <span class='object_link'><a href="../String.html#chronify-instance_method" title="String#chronify (method)">#chronify</a></span>, <span class='object_link'><a href="../String.html#chronify_qty-instance_method" title="String#chronify_qty (method)">#chronify_qty</a></span>, <span class='object_link'><a href="../String.html#clean_unlinked_urls-instance_method" title="String#clean_unlinked_urls (method)">#clean_unlinked_urls</a></span>, <span class='object_link'><a href="../String.html#compress-instance_method" title="String#compress (method)">#compress</a></span>, <span class='object_link'><a href="../String.html#compress!-instance_method" title="String#compress! (method)">#compress!</a></span>, <span class='object_link'><a href="../String.html#dedup_tags-instance_method" title="String#dedup_tags (method)">#dedup_tags</a></span>, <span class='object_link'><a href="../String.html#dedup_tags!-instance_method" title="String#dedup_tags! (method)">#dedup_tags!</a></span>, <span class='object_link'><a href="../String.html#expand_date_tags-instance_method" title="String#expand_date_tags (method)">#expand_date_tags</a></span>, <span class='object_link'><a href="../String.html#highlight_tags-instance_method" title="String#highlight_tags (method)">#highlight_tags</a></span>, <span class='object_link'><a href="../String.html#highlight_tags!-instance_method" title="String#highlight_tags! (method)">#highlight_tags!</a></span>, <span class='object_link'><a href="../String.html#ignore%3F-instance_method" title="String#ignore? (method)">#ignore?</a></span>, <span class='object_link'><a href="../String.html#is_rx%3F-instance_method" title="String#is_rx? (method)">#is_rx?</a></span>, <span class='object_link'><a href="../String.html#last_color-instance_method" title="String#last_color (method)">#last_color</a></span>, <span class='object_link'><a href="../String.html#link_urls-instance_method" title="String#link_urls (method)">#link_urls</a></span>, <span class='object_link'><a href="../String.html#link_urls!-instance_method" title="String#link_urls! (method)">#link_urls!</a></span>, <span class='object_link'><a href="../String.html#normalize_age-instance_method" title="String#normalize_age (method)">#normalize_age</a></span>, <span class='object_link'><a href="../String.html#normalize_age!-instance_method" title="String#normalize_age! (method)">#normalize_age!</a></span>, <span class='object_link'><a href="../String.html#normalize_bool-instance_method" title="String#normalize_bool (method)">#normalize_bool</a></span>, <span class='object_link'><a href="../String.html#normalize_bool!-instance_method" title="String#normalize_bool! (method)">#normalize_bool!</a></span>, <span class='object_link'><a href="../String.html#normalize_case-instance_method" title="String#normalize_case (method)">#normalize_case</a></span>, <span class='object_link'><a href="../String.html#normalize_case!-instance_method" title="String#normalize_case! (method)">#normalize_case!</a></span>, <span class='object_link'><a href="../String.html#normalize_matching-instance_method" title="String#normalize_matching (method)">#normalize_matching</a></span>, <span class='object_link'><a href="../String.html#normalize_matching!-instance_method" title="String#normalize_matching! (method)">#normalize_matching!</a></span>, <span class='object_link'><a href="../String.html#normalize_order-instance_method" title="String#normalize_order (method)">#normalize_order</a></span>, <span class='object_link'><a href="../String.html#normalize_order!-instance_method" title="String#normalize_order! (method)">#normalize_order!</a></span>, <span class='object_link'><a href="../String.html#normalize_trigger-instance_method" title="String#normalize_trigger (method)">#normalize_trigger</a></span>, <span class='object_link'><a href="../String.html#normalize_trigger!-instance_method" title="String#normalize_trigger! (method)">#normalize_trigger!</a></span>, <span class='object_link'><a href="../String.html#remove_self_links-instance_method" title="String#remove_self_links (method)">#remove_self_links</a></span>, <span class='object_link'><a href="../String.html#replace_qualified_urls-instance_method" title="String#replace_qualified_urls (method)">#replace_qualified_urls</a></span>, <span class='object_link'><a href="../String.html#set_type-instance_method" title="String#set_type (method)">#set_type</a></span>, <span class='object_link'><a href="../String.html#simple_wrap-instance_method" title="String#simple_wrap (method)">#simple_wrap</a></span>, <span class='object_link'><a href="../String.html#split_date_range-instance_method" title="String#split_date_range (method)">#split_date_range</a></span>, <span class='object_link'><a href="../String.html#tag-instance_method" title="String#tag (method)">#tag</a></span>, <span class='object_link'><a href="../String.html#tag!-instance_method" title="String#tag! (method)">#tag!</a></span>, <span class='object_link'><a href="../String.html#time_string-instance_method" title="String#time_string (method)">#time_string</a></span>, <span class='object_link'><a href="../String.html#to_p-instance_method" title="String#to_p (method)">#to_p</a></span>, <span class='object_link'><a href="../String.html#to_rx-instance_method" title="String#to_rx (method)">#to_rx</a></span>, <span class='object_link'><a href="../String.html#to_seconds-instance_method" title="String#to_seconds (method)">#to_seconds</a></span>, <span class='object_link'><a href="../String.html#to_tags-instance_method" title="String#to_tags (method)">#to_tags</a></span>, <span class='object_link'><a href="../String.html#truncate-instance_method" title="String#truncate (method)">#truncate</a></span>, <span class='object_link'><a href="../String.html#truncate!-instance_method" title="String#truncate! (method)">#truncate!</a></span>, <span class='object_link'><a href="../String.html#truncmiddle-instance_method" title="String#truncmiddle (method)">#truncmiddle</a></span>, <span class='object_link'><a href="../String.html#truncmiddle!-instance_method" title="String#truncmiddle! (method)">#truncmiddle!</a></span>, <span class='object_link'><a href="../String.html#truthy%3F-instance_method" title="String#truthy? (method)">#truthy?</a></span>, <span class='object_link'><a href="../String.html#uncolor-instance_method" title="String#uncolor (method)">#uncolor</a></span>, <span class='object_link'><a href="../String.html#uncolor!-instance_method" title="String#uncolor! (method)">#uncolor!</a></span>, <span class='object_link'><a href="../String.html#validate_color-instance_method" title="String#validate_color (method)">#validate_color</a></span>, <span class='object_link'><a href="../String.html#wildcard_to_rx-instance_method" title="String#wildcard_to_rx (method)">#wildcard_to_rx</a></span>, <span class='object_link'><a href="../String.html#wrap-instance_method" title="String#wrap (method)">#wrap</a></span></p>
404
404
  <div id="constructor_details" class="method_details_list">
405
405
  <h2>Constructor Details</h2>
406
406
 
@@ -703,7 +703,7 @@ of colors and string locations</p>
703
703
  </div>
704
704
 
705
705
  <div id="footer">
706
- Generated on Tue Dec 21 14:44:17 2021 by
706
+ Generated on Tue Jan 18 02:48:58 2022 by
707
707
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
708
708
  0.9.26 (ruby-3.0.1).
709
709
  </div>
@@ -165,6 +165,29 @@
165
165
 
166
166
  <span class="summary_desc"><div class='inline'></div></span>
167
167
 
168
+ </li>
169
+
170
+
171
+ <li class="public ">
172
+ <span class="summary_signature">
173
+
174
+ <a href="#last_backup-instance_method" title="#last_backup (instance method)">#<strong>last_backup</strong>(filename = nil, count: 1) &#x21d2; String </a>
175
+
176
+
177
+
178
+ </span>
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+ <span class="summary_desc"><div class='inline'><p>Retrieve the most recent backup.</p>
189
+ </div></span>
190
+
168
191
  </li>
169
192
 
170
193
 
@@ -399,6 +422,66 @@
399
422
 
400
423
 
401
424
  </h3>
425
+ </div>
426
+
427
+ <div class="method_details ">
428
+ <h3 class="signature " id="last_backup-instance_method">
429
+
430
+ #<strong>last_backup</strong>(filename = nil, count: 1) &#x21d2; <tt><span class='object_link'><a href="../../String.html" title="String (class)">String</a></span></tt>
431
+
432
+
433
+
434
+
435
+
436
+ </h3><div class="docstring">
437
+ <div class="discussion">
438
+ <p>Retrieve the most recent backup</p>
439
+
440
+
441
+ </div>
442
+ </div>
443
+ <div class="tags">
444
+ <p class="tag_title">Parameters:</p>
445
+ <ul class="param">
446
+
447
+ <li>
448
+
449
+ <span class='name'>filename</span>
450
+
451
+
452
+ <span class='type'></span>
453
+
454
+
455
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
456
+
457
+
458
+ &mdash;
459
+ <div class='inline'><p>The filename</p>
460
+ </div>
461
+
462
+ </li>
463
+
464
+ </ul>
465
+
466
+ <p class="tag_title">Returns:</p>
467
+ <ul class="return">
468
+
469
+ <li>
470
+
471
+
472
+ <span class='type'>(<tt><span class='object_link'><a href="../../String.html" title="String (class)">String</a></span></tt>)</span>
473
+
474
+
475
+
476
+ &mdash;
477
+ <div class='inline'><p>filename</p>
478
+ </div>
479
+
480
+ </li>
481
+
482
+ </ul>
483
+
484
+ </div>
402
485
  </div>
403
486
 
404
487
  <div class="method_details ">
@@ -753,7 +836,7 @@ in a hidden directory</p>
753
836
  </div>
754
837
 
755
838
  <div id="footer">
756
- Generated on Tue Dec 21 14:44:17 2021 by
839
+ Generated on Tue Jan 18 02:48:57 2022 by
757
840
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
758
841
  0.9.26 (ruby-3.0.1).
759
842
  </div>
@@ -928,7 +928,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
928
928
  </div>
929
929
 
930
930
  <div id="footer">
931
- Generated on Tue Dec 21 14:44:17 2021 by
931
+ Generated on Tue Jan 18 02:48:57 2022 by
932
932
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
933
933
  0.9.26 (ruby-3.0.1).
934
934
  </div>
@@ -559,6 +559,29 @@
559
559
  <span class="summary_desc"><div class='inline'><p>Generate a menu of views and allow user selection.</p>
560
560
  </div></span>
561
561
 
562
+ </li>
563
+
564
+
565
+ <li class="public ">
566
+ <span class="summary_signature">
567
+
568
+ <a href="#configure-instance_method" title="#configure (instance method)">#<strong>configure</strong>(filename = nil) &#x21d2; Object </a>
569
+
570
+
571
+
572
+ </span>
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+ <span class="summary_desc"><div class='inline'><p>Load configuration files and updated the @config attribute with a Doing::Configuration object.</p>
583
+ </div></span>
584
+
562
585
  </li>
563
586
 
564
587
 
@@ -602,9 +625,53 @@
602
625
 
603
626
 
604
627
 
605
- <span class="summary_desc"><div class='inline'><p>Remove items from a list that already exist in @content.</p>
628
+ <span class="summary_desc"><div class='inline'><p>Remove items from an array that already exist in.</p>
606
629
  </div></span>
607
630
 
631
+ </li>
632
+
633
+
634
+ <li class="public ">
635
+ <span class="summary_signature">
636
+
637
+ <a href="#delete_items-instance_method" title="#delete_items (instance method)">#<strong>delete_items</strong>(items, force: false) &#x21d2; Object </a>
638
+
639
+
640
+
641
+ </span>
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+ <span class="summary_desc"><div class='inline'></div></span>
652
+
653
+ </li>
654
+
655
+
656
+ <li class="public ">
657
+ <span class="summary_signature">
658
+
659
+ <a href="#edit_items-instance_method" title="#edit_items (instance method)">#<strong>edit_items</strong>(items) &#x21d2; Object </a>
660
+
661
+
662
+
663
+ </span>
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+ <span class="summary_desc"><div class='inline'></div></span>
674
+
608
675
  </li>
609
676
 
610
677
 
@@ -703,7 +770,7 @@
703
770
  <li class="public ">
704
771
  <span class="summary_signature">
705
772
 
706
- <a href="#format_time-instance_method" title="#format_time (instance method)">#<strong>format_time</strong>(seconds, human: false) &#x21d2; Object </a>
773
+ <a href="#fuzzy_filter_items-instance_method" title="#fuzzy_filter_items (instance method)">#<strong>fuzzy_filter_items</strong>(items, opt: {}) &#x21d2; Object </a>
707
774
 
708
775
 
709
776
 
@@ -717,8 +784,7 @@
717
784
 
718
785
 
719
786
 
720
- <span class="summary_desc"><div class='inline'><p>Format human readable time from seconds.</p>
721
- </div></span>
787
+ <span class="summary_desc"><div class='inline'></div></span>
722
788
 
723
789
  </li>
724
790
 
@@ -726,7 +792,7 @@
726
792
  <li class="public ">
727
793
  <span class="summary_signature">
728
794
 
729
- <a href="#fuzzy_filter_items-instance_method" title="#fuzzy_filter_items (instance method)">#<strong>fuzzy_filter_items</strong>(items, opt: {}) &#x21d2; Object </a>
795
+ <a href="#get_diff-instance_method" title="#get_diff (instance method)">#<strong>get_diff</strong>(filename = nil) &#x21d2; Object </a>
730
796
 
731
797
 
732
798
 
@@ -1341,6 +1407,28 @@
1341
1407
  <span class="summary_desc"><div class='inline'><p>Show all entries from the current day.</p>
1342
1408
  </div></span>
1343
1409
 
1410
+ </li>
1411
+
1412
+
1413
+ <li class="public ">
1414
+ <span class="summary_signature">
1415
+
1416
+ <a href="#verify_duration-instance_method" title="#verify_duration (instance method)">#<strong>verify_duration</strong>(date, finish_date, title: nil) &#x21d2; Object </a>
1417
+
1418
+
1419
+
1420
+ </span>
1421
+
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+
1430
+ <span class="summary_desc"><div class='inline'></div></span>
1431
+
1344
1432
  </li>
1345
1433
 
1346
1434
 
@@ -2226,6 +2314,51 @@ untagged keyword</p>
2226
2314
 
2227
2315
  </ul>
2228
2316
 
2317
+ </div>
2318
+ </div>
2319
+
2320
+ <div class="method_details ">
2321
+ <h3 class="signature " id="configure-instance_method">
2322
+
2323
+ #<strong>configure</strong>(filename = nil) &#x21d2; <tt>Object</tt>
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+ </h3><div class="docstring">
2330
+ <div class="discussion">
2331
+ <p>Load configuration files and updated the @config
2332
+ attribute with a Doing::Configuration object</p>
2333
+
2334
+
2335
+ </div>
2336
+ </div>
2337
+ <div class="tags">
2338
+ <p class="tag_title">Parameters:</p>
2339
+ <ul class="param">
2340
+
2341
+ <li>
2342
+
2343
+ <span class='name'>filename</span>
2344
+
2345
+
2346
+ <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
2347
+
2348
+
2349
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2350
+
2351
+
2352
+ &mdash;
2353
+ <div class='inline'><p>(optional) path to
2354
+ alternative config file</p>
2355
+ </div>
2356
+
2357
+ </li>
2358
+
2359
+ </ul>
2360
+
2361
+
2229
2362
  </div>
2230
2363
  </div>
2231
2364
 
@@ -2262,7 +2395,7 @@ untagged keyword</p>
2262
2395
 
2263
2396
  </h3><div class="docstring">
2264
2397
  <div class="discussion">
2265
- <p>Remove items from a list that already exist in @content</p>
2398
+ <p>Remove items from an array that already exist in</p>
2266
2399
 
2267
2400
 
2268
2401
  </div>
@@ -2281,7 +2414,8 @@ untagged keyword</p>
2281
2414
 
2282
2415
 
2283
2416
  &mdash;
2284
- <div class='inline'><p>The items to deduplicate</p>
2417
+ <div class='inline'><p>The items to
2418
+ deduplicate</p>
2285
2419
  </div>
2286
2420
 
2287
2421
  </li>
@@ -2298,7 +2432,8 @@ untagged keyword</p>
2298
2432
 
2299
2433
 
2300
2434
  &mdash;
2301
- <div class='inline'><p>Remove items with overlapping time spans</p>
2435
+ <div class='inline'><p>Remove items with
2436
+ overlapping time spans</p>
2302
2437
  </div>
2303
2438
 
2304
2439
  </li>
@@ -2307,6 +2442,30 @@ untagged keyword</p>
2307
2442
 
2308
2443
 
2309
2444
  </div>
2445
+ </div>
2446
+
2447
+ <div class="method_details ">
2448
+ <h3 class="signature " id="delete_items-instance_method">
2449
+
2450
+ #<strong>delete_items</strong>(items, force: false) &#x21d2; <tt>Object</tt>
2451
+
2452
+
2453
+
2454
+
2455
+
2456
+ </h3>
2457
+ </div>
2458
+
2459
+ <div class="method_details ">
2460
+ <h3 class="signature " id="edit_items-instance_method">
2461
+
2462
+ #<strong>edit_items</strong>(items) &#x21d2; <tt>Object</tt>
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+ </h3>
2310
2469
  </div>
2311
2470
 
2312
2471
  <div class="method_details ">
@@ -2602,6 +2761,21 @@ untagged keyword</p>
2602
2761
 
2603
2762
  </li>
2604
2763
 
2764
+ <li>
2765
+ <span class="name">:val</span>
2766
+ <span class="type">(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
2767
+ <span class="default">
2768
+
2769
+ &mdash; default:
2770
+ <tt>nil</tt>
2771
+
2772
+ </span>
2773
+
2774
+ &mdash; <div class='inline'><p>Array of tag value queries</p>
2775
+ </div>
2776
+
2777
+ </li>
2778
+
2605
2779
  </ul>
2606
2780
 
2607
2781
 
@@ -2737,9 +2911,21 @@ untagged keyword</p>
2737
2911
  </div>
2738
2912
 
2739
2913
  <div class="method_details ">
2740
- <h3 class="signature " id="format_time-instance_method">
2914
+ <h3 class="signature " id="fuzzy_filter_items-instance_method">
2915
+
2916
+ #<strong>fuzzy_filter_items</strong>(items, opt: {}) &#x21d2; <tt>Object</tt>
2917
+
2918
+
2919
+
2920
+
2921
+
2922
+ </h3>
2923
+ </div>
2924
+
2925
+ <div class="method_details ">
2926
+ <h3 class="signature " id="get_diff-instance_method">
2741
2927
 
2742
- #<strong>format_time</strong>(seconds, human: false) &#x21d2; <tt>Object</tt>
2928
+ #<strong>get_diff</strong>(filename = nil) &#x21d2; <tt>Object</tt>
2743
2929
 
2744
2930
 
2745
2931
 
@@ -2747,46 +2933,27 @@ untagged keyword</p>
2747
2933
 
2748
2934
  </h3><div class="docstring">
2749
2935
  <div class="discussion">
2750
- <p>Format human readable time from seconds</p>
2751
-
2936
+
2752
2937
 
2753
2938
  </div>
2754
2939
  </div>
2755
2940
  <div class="tags">
2756
- <p class="tag_title">Parameters:</p>
2757
- <ul class="param">
2941
+
2942
+ <p class="tag_title">Raises:</p>
2943
+ <ul class="raise">
2758
2944
 
2759
2945
  <li>
2760
2946
 
2761
- <span class='name'>seconds</span>
2762
2947
 
2763
-
2764
- <span class='type'>(<tt>Integer</tt>)</span>
2948
+ <span class='type'>(<tt>DoingRuntimeError</tt>)</span>
2765
2949
 
2766
2950
 
2767
2951
 
2768
- &mdash;
2769
- <div class='inline'><p>Seconds</p>
2770
- </div>
2771
-
2772
2952
  </li>
2773
2953
 
2774
2954
  </ul>
2775
2955
 
2776
-
2777
2956
  </div>
2778
- </div>
2779
-
2780
- <div class="method_details ">
2781
- <h3 class="signature " id="fuzzy_filter_items-instance_method">
2782
-
2783
- #<strong>fuzzy_filter_items</strong>(items, opt: {}) &#x21d2; <tt>Object</tt>
2784
-
2785
-
2786
-
2787
-
2788
-
2789
- </h3>
2790
2957
  </div>
2791
2958
 
2792
2959
  <div class="method_details ">
@@ -4338,6 +4505,18 @@ json, or text)</p>
4338
4505
 
4339
4506
 
4340
4507
  </div>
4508
+ </div>
4509
+
4510
+ <div class="method_details ">
4511
+ <h3 class="signature " id="verify_duration-instance_method">
4512
+
4513
+ #<strong>verify_duration</strong>(date, finish_date, title: nil) &#x21d2; <tt>Object</tt>
4514
+
4515
+
4516
+
4517
+
4518
+
4519
+ </h3>
4341
4520
  </div>
4342
4521
 
4343
4522
  <div class="method_details ">
@@ -4517,7 +4696,7 @@ json, or text)</p>
4517
4696
  </div>
4518
4697
 
4519
4698
  <div id="footer">
4520
- Generated on Tue Dec 21 14:44:17 2021 by
4699
+ Generated on Tue Jan 18 02:48:57 2022 by
4521
4700
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
4522
4701
  0.9.26 (ruby-3.0.1).
4523
4702
  </div>