doing 2.1.42 → 2.1.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +53 -0
  3. data/Gemfile.lock +4 -4
  4. data/README.md +1 -1
  5. data/bin/commands/changes.rb +11 -1
  6. data/bin/commands/flag.rb +1 -1
  7. data/bin/commands/grep.rb +12 -2
  8. data/bin/commands/last.rb +2 -0
  9. data/bin/commands/on.rb +13 -1
  10. data/bin/commands/recent.rb +4 -1
  11. data/bin/commands/show.rb +8 -0
  12. data/bin/commands/since.rb +6 -2
  13. data/bin/commands/template.rb +14 -25
  14. data/bin/commands/today.rb +4 -1
  15. data/bin/commands/view.rb +36 -73
  16. data/bin/commands/views.rb +102 -5
  17. data/bin/commands/yesterday.rb +3 -1
  18. data/bin/doing +31 -4
  19. data/docs/doc/Array.html +12 -2
  20. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  21. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  22. data/docs/doc/BooleanTermParser/Query.html +1 -1
  23. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  24. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  25. data/docs/doc/BooleanTermParser.html +1 -1
  26. data/docs/doc/Doing/ArrayCleanup.html +316 -0
  27. data/docs/doc/Doing/ArrayNestedHash.html +1 -1
  28. data/docs/doc/Doing/ArrayTags.html +1 -1
  29. data/docs/doc/Doing/CSVExport.html +1 -1
  30. data/docs/doc/Doing/CalendarImport.html +1 -1
  31. data/docs/doc/Doing/Change.html +74 -3
  32. data/docs/doc/Doing/Changes.html +3 -3
  33. data/docs/doc/Doing/ChronifyArray.html +1 -1
  34. data/docs/doc/Doing/ChronifyNumeric.html +1 -1
  35. data/docs/doc/Doing/ChronifyString.html +1 -1
  36. data/docs/doc/Doing/Color.html +1 -1
  37. data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
  38. data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
  39. data/docs/doc/Doing/Completion/StringUtils.html +1 -1
  40. data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
  41. data/docs/doc/Doing/Completion.html +1 -1
  42. data/docs/doc/Doing/Configuration.html +80 -1
  43. data/docs/doc/Doing/DayOneRenderer.html +1 -1
  44. data/docs/doc/Doing/DayoneExport.html +1 -1
  45. data/docs/doc/Doing/DoingImport.html +1 -1
  46. data/docs/doc/Doing/Entry.html +109 -4
  47. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  48. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  49. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  50. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  51. data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
  52. data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
  53. data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
  54. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  55. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  56. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  57. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  58. data/docs/doc/Doing/Errors.html +1 -1
  59. data/docs/doc/Doing/HTMLExport.html +1 -1
  60. data/docs/doc/Doing/Hooks.html +1 -1
  61. data/docs/doc/Doing/Item.html +1 -1
  62. data/docs/doc/Doing/ItemDates.html +1 -1
  63. data/docs/doc/Doing/ItemQuery.html +1 -1
  64. data/docs/doc/Doing/ItemState.html +1 -1
  65. data/docs/doc/Doing/ItemTags.html +1 -1
  66. data/docs/doc/Doing/Items.html +1 -1
  67. data/docs/doc/Doing/JSONExport.html +1 -1
  68. data/docs/doc/Doing/Logger.html +1 -1
  69. data/docs/doc/Doing/MarkdownExport.html +1 -1
  70. data/docs/doc/Doing/Note.html +1 -1
  71. data/docs/doc/Doing/Pager.html +1 -1
  72. data/docs/doc/Doing/Plugins.html +1 -1
  73. data/docs/doc/Doing/Prompt.html +1 -1
  74. data/docs/doc/Doing/PromptChoose.html +1 -1
  75. data/docs/doc/Doing/PromptFZF.html +1 -1
  76. data/docs/doc/Doing/PromptInput.html +1 -1
  77. data/docs/doc/Doing/PromptSTD.html +1 -1
  78. data/docs/doc/Doing/PromptYN.html +1 -1
  79. data/docs/doc/Doing/Section.html +1 -1
  80. data/docs/doc/Doing/StringHighlight.html +1 -1
  81. data/docs/doc/Doing/StringNormalize.html +35 -1
  82. data/docs/doc/Doing/StringQuery.html +1 -1
  83. data/docs/doc/Doing/StringTags.html +1 -1
  84. data/docs/doc/Doing/StringTransform.html +1 -1
  85. data/docs/doc/Doing/StringTruncate.html +1 -1
  86. data/docs/doc/Doing/StringURL.html +1 -1
  87. data/docs/doc/Doing/SymbolNormalize.html +1 -1
  88. data/docs/doc/Doing/TaskPaperExport.html +1 -1
  89. data/docs/doc/Doing/TemplateExport.html +1 -1
  90. data/docs/doc/Doing/TemplateString.html +2 -2
  91. data/docs/doc/Doing/TimingImport.html +1 -1
  92. data/docs/doc/Doing/Types.html +23 -18
  93. data/docs/doc/Doing/Util/Backup.html +1 -1
  94. data/docs/doc/Doing/Util.html +1 -1
  95. data/docs/doc/Doing/Version.html +1 -1
  96. data/docs/doc/Doing/WWID.html +71 -3
  97. data/docs/doc/Doing.html +2 -2
  98. data/docs/doc/FalseClass.html +11 -1
  99. data/docs/doc/GLI/Commands/Help.html +1 -1
  100. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  101. data/docs/doc/GLI/Commands.html +1 -1
  102. data/docs/doc/GLI.html +1 -1
  103. data/docs/doc/Hash.html +461 -6
  104. data/docs/doc/Numeric.html +1 -1
  105. data/docs/doc/Object.html +1 -1
  106. data/docs/doc/PhraseParser/Operator.html +1 -1
  107. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  108. data/docs/doc/PhraseParser/Query.html +1 -1
  109. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  110. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  111. data/docs/doc/PhraseParser/TermClause.html +1 -1
  112. data/docs/doc/PhraseParser.html +1 -1
  113. data/docs/doc/Status.html +1 -1
  114. data/docs/doc/String.html +4 -4
  115. data/docs/doc/Symbol.html +1 -1
  116. data/docs/doc/Time.html +68 -3
  117. data/docs/doc/TrueClass.html +11 -1
  118. data/docs/doc/_index.html +1 -1
  119. data/docs/doc/file.README.html +2 -2
  120. data/docs/doc/index.html +2 -2
  121. data/docs/doc/method_list.html +511 -407
  122. data/docs/doc/top-level-namespace.html +3 -1
  123. data/doing.rdoc +163 -7
  124. data/lib/completion/_doing.zsh +13 -13
  125. data/lib/completion/doing.bash +22 -22
  126. data/lib/completion/doing.fish +24 -1
  127. data/lib/doing/add_options.rb +40 -1
  128. data/lib/doing/changelog/change.rb +13 -5
  129. data/lib/doing/changelog/changes.rb +11 -2
  130. data/lib/doing/changelog/entry.rb +9 -2
  131. data/lib/doing/configuration.rb +21 -0
  132. data/lib/doing/good.rb +18 -1
  133. data/lib/doing/hash.rb +126 -22
  134. data/lib/doing/normalize.rb +13 -0
  135. data/lib/doing/pager.rb +1 -1
  136. data/lib/doing/types.rb +9 -8
  137. data/lib/doing/version.rb +1 -1
  138. data/lib/doing/wwid/display.rb +4 -1
  139. data/lib/doing/wwid/filter.rb +6 -3
  140. data/lib/doing/wwid/wwid.rb +21 -3
  141. data/lib/doing.rb +9 -0
  142. metadata +3 -2
data/docs/doc/String.html CHANGED
@@ -99,8 +99,8 @@
99
99
 
100
100
  <dl>
101
101
  <dt>Defined in:</dt>
102
- <dd>lib/doing/colors.rb<span class="defines">,<br />
103
- lib/doing/good.rb,<br /> lib/doing/normalize.rb,<br /> lib/doing/string/string.rb,<br /> lib/doing/chronify/chronify.rb,<br /> lib/doing/completion/zsh_completion.rb,<br /> lib/doing/completion/completion_string.rb</span>
102
+ <dd>lib/doing/good.rb<span class="defines">,<br />
103
+ lib/doing/colors.rb,<br /> lib/doing/normalize.rb,<br /> lib/doing/string/string.rb,<br /> lib/doing/chronify/chronify.rb,<br /> lib/doing/completion/zsh_completion.rb,<br /> lib/doing/completion/completion_string.rb</span>
104
104
  </dd>
105
105
  </dl>
106
106
 
@@ -367,7 +367,7 @@
367
367
 
368
368
 
369
369
  <h3 class="inherited">Methods included from <span class='object_link'><a href="Doing/StringNormalize.html" title="Doing::StringNormalize (module)">Doing::StringNormalize</a></span></h3>
370
- <p class="inherited"><span class='object_link'><a href="Doing/StringNormalize.html#normalize_age-instance_method" title="Doing::StringNormalize#normalize_age (method)">#normalize_age</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_age!-instance_method" title="Doing::StringNormalize#normalize_age! (method)">#normalize_age!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_bool-instance_method" title="Doing::StringNormalize#normalize_bool (method)">#normalize_bool</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_bool!-instance_method" title="Doing::StringNormalize#normalize_bool! (method)">#normalize_bool!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_case-instance_method" title="Doing::StringNormalize#normalize_case (method)">#normalize_case</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_case!-instance_method" title="Doing::StringNormalize#normalize_case! (method)">#normalize_case!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_matching-instance_method" title="Doing::StringNormalize#normalize_matching (method)">#normalize_matching</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_matching!-instance_method" title="Doing::StringNormalize#normalize_matching! (method)">#normalize_matching!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_order-instance_method" title="Doing::StringNormalize#normalize_order (method)">#normalize_order</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_order!-instance_method" title="Doing::StringNormalize#normalize_order! (method)">#normalize_order!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_tag_sort-instance_method" title="Doing::StringNormalize#normalize_tag_sort (method)">#normalize_tag_sort</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_tag_sort!-instance_method" title="Doing::StringNormalize#normalize_tag_sort! (method)">#normalize_tag_sort!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_trigger-instance_method" title="Doing::StringNormalize#normalize_trigger (method)">#normalize_trigger</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_trigger!-instance_method" title="Doing::StringNormalize#normalize_trigger! (method)">#normalize_trigger!</a></span></p>
370
+ <p class="inherited"><span class='object_link'><a href="Doing/StringNormalize.html#normalize_age-instance_method" title="Doing::StringNormalize#normalize_age (method)">#normalize_age</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_age!-instance_method" title="Doing::StringNormalize#normalize_age! (method)">#normalize_age!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_bool-instance_method" title="Doing::StringNormalize#normalize_bool (method)">#normalize_bool</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_bool!-instance_method" title="Doing::StringNormalize#normalize_bool! (method)">#normalize_bool!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_case-instance_method" title="Doing::StringNormalize#normalize_case (method)">#normalize_case</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_case!-instance_method" title="Doing::StringNormalize#normalize_case! (method)">#normalize_case!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_change_type-instance_method" title="Doing::StringNormalize#normalize_change_type (method)">#normalize_change_type</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_matching-instance_method" title="Doing::StringNormalize#normalize_matching (method)">#normalize_matching</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_matching!-instance_method" title="Doing::StringNormalize#normalize_matching! (method)">#normalize_matching!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_order-instance_method" title="Doing::StringNormalize#normalize_order (method)">#normalize_order</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_order!-instance_method" title="Doing::StringNormalize#normalize_order! (method)">#normalize_order!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_tag_sort-instance_method" title="Doing::StringNormalize#normalize_tag_sort (method)">#normalize_tag_sort</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_tag_sort!-instance_method" title="Doing::StringNormalize#normalize_tag_sort! (method)">#normalize_tag_sort!</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_trigger-instance_method" title="Doing::StringNormalize#normalize_trigger (method)">#normalize_trigger</a></span>, <span class='object_link'><a href="Doing/StringNormalize.html#normalize_trigger!-instance_method" title="Doing::StringNormalize#normalize_trigger! (method)">#normalize_trigger!</a></span></p>
371
371
 
372
372
 
373
373
  <div id="instance_method_details" class="method_details_list">
@@ -554,7 +554,7 @@ be recognized, e.g. %greensomething still finds
554
554
  </div>
555
555
 
556
556
  <div id="footer">
557
- Generated on Fri Mar 18 12:56:58 2022 by
557
+ Generated on Tue Mar 22 10:06:16 2022 by
558
558
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
559
559
  0.9.27 (ruby-3.0.1).
560
560
  </div>
data/docs/doc/Symbol.html CHANGED
@@ -127,7 +127,7 @@
127
127
  </div>
128
128
 
129
129
  <div id="footer">
130
- Generated on Fri Mar 18 12:56:58 2022 by
130
+ Generated on Tue Mar 22 10:06:16 2022 by
131
131
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
132
132
  0.9.27 (ruby-3.0.1).
133
133
  </div>
data/docs/doc/Time.html CHANGED
@@ -94,7 +94,9 @@
94
94
 
95
95
  <dl>
96
96
  <dt>Defined in:</dt>
97
- <dd>lib/doing/time.rb</dd>
97
+ <dd>lib/doing/good.rb<span class="defines">,<br />
98
+ lib/doing/time.rb</span>
99
+ </dd>
98
100
  </dl>
99
101
 
100
102
  </div>
@@ -127,6 +129,29 @@
127
129
  <li class="public ">
128
130
  <span class="summary_signature">
129
131
 
132
+ <a href="#good%3F-instance_method" title="#good? (instance method)">#<strong>good?</strong> &#x21d2; Boolean </a>
133
+
134
+
135
+
136
+ </span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'><p>Tests if object is nil.</p>
147
+ </div></span>
148
+
149
+ </li>
150
+
151
+
152
+ <li class="public ">
153
+ <span class="summary_signature">
154
+
130
155
  <a href="#humanize-instance_method" title="#humanize (instance method)">#<strong>humanize</strong>(seconds) &#x21d2; String </a>
131
156
 
132
157
 
@@ -203,7 +228,47 @@
203
228
 
204
229
 
205
230
  <div class="method_details first">
206
- <h3 class="signature first" id="humanize-instance_method">
231
+ <h3 class="signature first" id="good?-instance_method">
232
+
233
+ #<strong>good?</strong> &#x21d2; <tt>Boolean</tt>
234
+
235
+
236
+
237
+
238
+
239
+ </h3><div class="docstring">
240
+ <div class="discussion">
241
+ <p>Tests if object is nil</p>
242
+
243
+
244
+ </div>
245
+ </div>
246
+ <div class="tags">
247
+
248
+ <p class="tag_title">Returns:</p>
249
+ <ul class="return">
250
+
251
+ <li>
252
+
253
+
254
+ <span class='type'>(<tt>Boolean</tt>)</span>
255
+
256
+
257
+
258
+ &mdash;
259
+ <div class='inline'><p>true if object is defined and
260
+ has content</p>
261
+ </div>
262
+
263
+ </li>
264
+
265
+ </ul>
266
+
267
+ </div>
268
+ </div>
269
+
270
+ <div class="method_details ">
271
+ <h3 class="signature " id="humanize-instance_method">
207
272
 
208
273
  #<strong>humanize</strong>(seconds) &#x21d2; <tt><span class='object_link'><a href="String.html" title="String (class)">String</a></span></tt>
209
274
 
@@ -346,7 +411,7 @@ entries get month/day/year/time</p>
346
411
  </div>
347
412
 
348
413
  <div id="footer">
349
- Generated on Fri Mar 18 12:56:58 2022 by
414
+ Generated on Tue Mar 22 10:06:16 2022 by
350
415
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
351
416
  0.9.27 (ruby-3.0.1).
352
417
  </div>
@@ -99,7 +99,17 @@
99
99
 
100
100
  </div>
101
101
 
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+ <p>Boolean helpers</p>
105
+
106
+
107
+ </div>
108
+ </div>
109
+ <div class="tags">
110
+
102
111
 
112
+ </div>
103
113
 
104
114
 
105
115
 
@@ -225,7 +235,7 @@ has content</p>
225
235
  </div>
226
236
 
227
237
  <div id="footer">
228
- Generated on Fri Mar 18 12:56:58 2022 by
238
+ Generated on Tue Mar 22 10:06:16 2022 by
229
239
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
240
  0.9.27 (ruby-3.0.1).
231
241
  </div>
data/docs/doc/_index.html CHANGED
@@ -933,7 +933,7 @@
933
933
  </div>
934
934
 
935
935
  <div id="footer">
936
- Generated on Fri Mar 18 12:56:57 2022 by
936
+ Generated on Tue Mar 22 10:06:14 2022 by
937
937
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
938
938
  0.9.27 (ruby-3.0.1).
939
939
  </div>
@@ -67,7 +67,7 @@ you&#39;ve done.</strong></p>
67
67
 
68
68
  <!--README-->
69
69
 
70
- <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.41&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.44&lt;!--END VER--&gt;.</p>
71
71
 
72
72
  <p>Find all of the documentation in the <a href="https://github.com/ttscoff/doing/wiki">doing wiki</a>.</p>
73
73
 
@@ -149,7 +149,7 @@ with changes. Please target the <code>develop</code> branch with pull requests.<
149
149
  </div></div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Fri Mar 18 12:56:57 2022 by
152
+ Generated on Tue Mar 22 10:06:14 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.27 (ruby-3.0.1).
155
155
  </div>
data/docs/doc/index.html CHANGED
@@ -67,7 +67,7 @@ you&#39;ve done.</strong></p>
67
67
 
68
68
  <!--README-->
69
69
 
70
- <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.41&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.44&lt;!--END VER--&gt;.</p>
71
71
 
72
72
  <p>Find all of the documentation in the <a href="https://github.com/ttscoff/doing/wiki">doing wiki</a>.</p>
73
73
 
@@ -149,7 +149,7 @@ with changes. Please target the <code>develop</code> branch with pull requests.<
149
149
  </div></div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Fri Mar 18 12:56:57 2022 by
152
+ Generated on Tue Mar 22 10:06:14 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.27 (ruby-3.0.1).
155
155
  </div>