doing 2.1.42 → 2.1.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/Gemfile.lock +4 -4
- data/README.md +1 -1
- data/bin/commands/changes.rb +11 -1
- data/bin/commands/flag.rb +1 -1
- data/bin/commands/grep.rb +12 -2
- data/bin/commands/last.rb +2 -0
- data/bin/commands/on.rb +13 -1
- data/bin/commands/recent.rb +4 -1
- data/bin/commands/show.rb +8 -0
- data/bin/commands/since.rb +6 -2
- data/bin/commands/template.rb +14 -25
- data/bin/commands/today.rb +4 -1
- data/bin/commands/view.rb +36 -73
- data/bin/commands/views.rb +102 -5
- data/bin/commands/yesterday.rb +3 -1
- data/bin/doing +31 -4
- data/docs/doc/Array.html +12 -2
- 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/ArrayCleanup.html +316 -0
- data/docs/doc/Doing/ArrayNestedHash.html +1 -1
- data/docs/doc/Doing/ArrayTags.html +1 -1
- data/docs/doc/Doing/CSVExport.html +1 -1
- data/docs/doc/Doing/CalendarImport.html +1 -1
- data/docs/doc/Doing/Change.html +74 -3
- data/docs/doc/Doing/Changes.html +3 -3
- data/docs/doc/Doing/ChronifyArray.html +1 -1
- data/docs/doc/Doing/ChronifyNumeric.html +1 -1
- data/docs/doc/Doing/ChronifyString.html +1 -1
- data/docs/doc/Doing/Color.html +1 -1
- data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
- data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
- data/docs/doc/Doing/Completion/StringUtils.html +1 -1
- data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +80 -1
- data/docs/doc/Doing/DayOneRenderer.html +1 -1
- data/docs/doc/Doing/DayoneExport.html +1 -1
- data/docs/doc/Doing/DoingImport.html +1 -1
- data/docs/doc/Doing/Entry.html +109 -4
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
- data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
- data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
- data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
- data/docs/doc/Doing/Errors/NoResults.html +1 -1
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
- data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/HTMLExport.html +1 -1
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +1 -1
- data/docs/doc/Doing/ItemDates.html +1 -1
- data/docs/doc/Doing/ItemQuery.html +1 -1
- data/docs/doc/Doing/ItemState.html +1 -1
- data/docs/doc/Doing/ItemTags.html +1 -1
- data/docs/doc/Doing/Items.html +1 -1
- data/docs/doc/Doing/JSONExport.html +1 -1
- data/docs/doc/Doing/Logger.html +1 -1
- data/docs/doc/Doing/MarkdownExport.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 +1 -1
- data/docs/doc/Doing/PromptChoose.html +1 -1
- data/docs/doc/Doing/PromptFZF.html +1 -1
- data/docs/doc/Doing/PromptInput.html +1 -1
- data/docs/doc/Doing/PromptSTD.html +1 -1
- data/docs/doc/Doing/PromptYN.html +1 -1
- data/docs/doc/Doing/Section.html +1 -1
- data/docs/doc/Doing/StringHighlight.html +1 -1
- data/docs/doc/Doing/StringNormalize.html +35 -1
- data/docs/doc/Doing/StringQuery.html +1 -1
- data/docs/doc/Doing/StringTags.html +1 -1
- data/docs/doc/Doing/StringTransform.html +1 -1
- data/docs/doc/Doing/StringTruncate.html +1 -1
- data/docs/doc/Doing/StringURL.html +1 -1
- data/docs/doc/Doing/SymbolNormalize.html +1 -1
- data/docs/doc/Doing/TaskPaperExport.html +1 -1
- data/docs/doc/Doing/TemplateExport.html +1 -1
- data/docs/doc/Doing/TemplateString.html +2 -2
- data/docs/doc/Doing/TimingImport.html +1 -1
- data/docs/doc/Doing/Types.html +23 -18
- data/docs/doc/Doing/Util/Backup.html +1 -1
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/Version.html +1 -1
- data/docs/doc/Doing/WWID.html +71 -3
- data/docs/doc/Doing.html +2 -2
- data/docs/doc/FalseClass.html +11 -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 +461 -6
- data/docs/doc/Numeric.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 +4 -4
- data/docs/doc/Symbol.html +1 -1
- data/docs/doc/Time.html +68 -3
- data/docs/doc/TrueClass.html +11 -1
- data/docs/doc/_index.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +511 -407
- data/docs/doc/top-level-namespace.html +3 -1
- data/doing.rdoc +163 -7
- data/lib/completion/_doing.zsh +13 -13
- data/lib/completion/doing.bash +22 -22
- data/lib/completion/doing.fish +24 -1
- data/lib/doing/add_options.rb +40 -1
- data/lib/doing/changelog/change.rb +13 -5
- data/lib/doing/changelog/changes.rb +11 -2
- data/lib/doing/changelog/entry.rb +9 -2
- data/lib/doing/configuration.rb +21 -0
- data/lib/doing/good.rb +18 -1
- data/lib/doing/hash.rb +126 -22
- data/lib/doing/normalize.rb +13 -0
- data/lib/doing/pager.rb +1 -1
- data/lib/doing/types.rb +9 -8
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid/display.rb +4 -1
- data/lib/doing/wwid/filter.rb +6 -3
- data/lib/doing/wwid/wwid.rb +21 -3
- data/lib/doing.rb +9 -0
- 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/
|
103
|
-
lib/doing/
|
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
|
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
|
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/
|
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> ⇒ 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) ⇒ 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="
|
231
|
+
<h3 class="signature first" id="good?-instance_method">
|
232
|
+
|
233
|
+
#<strong>good?</strong> ⇒ <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
|
+
—
|
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) ⇒ <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
|
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>
|
data/docs/doc/TrueClass.html
CHANGED
@@ -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
|
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
|
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>
|
data/docs/doc/file.README.html
CHANGED
@@ -67,7 +67,7 @@ you've done.</strong></p>
|
|
67
67
|
|
68
68
|
<!--README-->
|
69
69
|
|
70
|
-
<p>The current version of <code>doing</code> is <!--VER-->2.1.
|
70
|
+
<p>The current version of <code>doing</code> is <!--VER-->2.1.44<!--END VER-->.</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
|
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've done.</strong></p>
|
|
67
67
|
|
68
68
|
<!--README-->
|
69
69
|
|
70
|
-
<p>The current version of <code>doing</code> is <!--VER-->2.1.
|
70
|
+
<p>The current version of <code>doing</code> is <!--VER-->2.1.44<!--END VER-->.</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
|
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>
|