doing 2.1.33 → 2.1.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/Gemfile.lock +1 -1
- data/bin/commands/config.rb +9 -9
- data/bin/commands/done.rb +1 -1
- data/bin/commands/grep.rb +2 -29
- data/bin/commands/meanwhile.rb +1 -1
- data/bin/commands/now.rb +1 -1
- data/bin/commands/on.rb +6 -16
- data/bin/commands/recent.rb +2 -14
- data/bin/commands/rotate.rb +17 -0
- data/bin/commands/sections.rb +82 -7
- data/bin/commands/show.rb +1 -21
- data/bin/commands/since.rb +5 -16
- data/bin/commands/today.rb +3 -28
- data/bin/commands/yesterday.rb +2 -35
- data/bin/doing +5 -6
- 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 +1 -1
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +1 -1
- 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/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/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +20 -3
- data/docs/doc/Doing/Items.html +209 -1
- data/docs/doc/Doing/Logger.html +1807 -0
- 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/Section.html +1 -1
- data/docs/doc/Doing/TemplateString.html +1 -1
- data/docs/doc/Doing/Types.html +2 -2
- data/docs/doc/Doing/Util/Backup.html +1 -1
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/WWID.html +3 -53
- data/docs/doc/Doing.html +4 -4
- 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 +10 -10
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +1 -1
- data/docs/doc/index.html +1 -1
- data/docs/doc/method_list.html +407 -383
- data/docs/doc/top-level-namespace.html +1 -1
- data/doing.rdoc +229 -17
- data/lib/completion/_doing.zsh +11 -15
- data/lib/completion/doing.bash +12 -23
- data/lib/completion/doing.fish +38 -12
- data/lib/doing/add_options.rb +36 -1
- data/lib/doing/chronify/string.rb +1 -1
- data/lib/doing/item.rb +9 -2
- data/lib/doing/items.rb +48 -0
- data/lib/doing/{log_adapter.rb → logger.rb} +8 -2
- data/lib/doing/plugins/import/calendar_import.rb +1 -1
- data/lib/doing/plugins/import/doing_import.rb +1 -1
- data/lib/doing/plugins/import/timing_import.rb +1 -1
- data/lib/doing/string/tags.rb +1 -1
- data/lib/doing/types.rb +1 -1
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +43 -43
- data/lib/doing.rb +4 -3
- data/lib/examples/plugins/capture_thing_import.rb +1 -1
- metadata +4 -4
- data/bin/commands/add_section.rb +0 -15
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.27 (ruby-3.0.1).
|
120
120
|
</div>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
</div>
|
106
106
|
|
107
107
|
<div id="footer">
|
108
|
-
Generated on
|
108
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
109
109
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
110
|
0.9.27 (ruby-3.0.1).
|
111
111
|
</div>
|
data/docs/doc/Doing/Color.html
CHANGED
@@ -518,7 +518,7 @@ ANSI-sequences are stripped from the string.</p>
|
|
518
518
|
</div>
|
519
519
|
|
520
520
|
<div id="footer">
|
521
|
-
Generated on
|
521
|
+
Generated on Sun Feb 20 09:36:51 2022 by
|
522
522
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
523
523
|
0.9.27 (ruby-3.0.1).
|
524
524
|
</div>
|
@@ -526,7 +526,7 @@ stdout</p>
|
|
526
526
|
</div>
|
527
527
|
|
528
528
|
<div id="footer">
|
529
|
-
Generated on
|
529
|
+
Generated on Sun Feb 20 09:36:51 2022 by
|
530
530
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
531
531
|
0.9.27 (ruby-3.0.1).
|
532
532
|
</div>
|
@@ -1139,7 +1139,7 @@ matched, first match wins)</p>
|
|
1139
1139
|
</div>
|
1140
1140
|
|
1141
1141
|
<div id="footer">
|
1142
|
-
Generated on
|
1142
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
1143
1143
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1144
1144
|
0.9.27 (ruby-3.0.1).
|
1145
1145
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
@@ -238,7 +238,7 @@
|
|
238
238
|
</div>
|
239
239
|
|
240
240
|
<div id="footer">
|
241
|
-
Generated on
|
241
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
242
242
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
243
243
|
0.9.27 (ruby-3.0.1).
|
244
244
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div id="footer">
|
179
|
-
Generated on
|
179
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
180
180
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
181
|
0.9.27 (ruby-3.0.1).
|
182
182
|
</div>
|
data/docs/doc/Doing/Errors.html
CHANGED
@@ -181,7 +181,7 @@
|
|
181
181
|
</div>
|
182
182
|
|
183
183
|
<div id="footer">
|
184
|
-
Generated on
|
184
|
+
Generated on Sun Feb 20 09:36:51 2022 by
|
185
185
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
186
186
|
0.9.27 (ruby-3.0.1).
|
187
187
|
</div>
|
data/docs/doc/Doing/Hooks.html
CHANGED
@@ -354,7 +354,7 @@
|
|
354
354
|
</div>
|
355
355
|
|
356
356
|
<div id="footer">
|
357
|
-
Generated on
|
357
|
+
Generated on Sun Feb 20 09:36:51 2022 by
|
358
358
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
359
359
|
0.9.27 (ruby-3.0.1).
|
360
360
|
</div>
|
data/docs/doc/Doing/Item.html
CHANGED
@@ -337,7 +337,7 @@
|
|
337
337
|
<li class="public ">
|
338
338
|
<span class="summary_signature">
|
339
339
|
|
340
|
-
<a href="#equal%3F-instance_method" title="#equal? (instance method)">#<strong>equal?</strong>(other) ⇒ Boolean </a>
|
340
|
+
<a href="#equal%3F-instance_method" title="#equal? (instance method)">#<strong>equal?</strong>(other, match_section: false) ⇒ Boolean </a>
|
341
341
|
|
342
342
|
|
343
343
|
|
@@ -1145,7 +1145,7 @@ the item belongs</p>
|
|
1145
1145
|
<div class="method_details ">
|
1146
1146
|
<h3 class="signature " id="equal?-instance_method">
|
1147
1147
|
|
1148
|
-
#<strong>equal?</strong>(other) ⇒ <tt>Boolean</tt>
|
1148
|
+
#<strong>equal?</strong>(other, match_section: false) ⇒ <tt>Boolean</tt>
|
1149
1149
|
|
1150
1150
|
|
1151
1151
|
|
@@ -1177,6 +1177,23 @@ the item belongs</p>
|
|
1177
1177
|
|
1178
1178
|
</li>
|
1179
1179
|
|
1180
|
+
<li>
|
1181
|
+
|
1182
|
+
<span class='name'>match_section</span>
|
1183
|
+
|
1184
|
+
|
1185
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1186
|
+
|
1187
|
+
|
1188
|
+
<em class="default">(defaults to: <tt>false</tt>)</em>
|
1189
|
+
|
1190
|
+
|
1191
|
+
—
|
1192
|
+
<div class='inline'><p>If true, require item sections to match</p>
|
1193
|
+
</div>
|
1194
|
+
|
1195
|
+
</li>
|
1196
|
+
|
1180
1197
|
</ul>
|
1181
1198
|
|
1182
1199
|
<p class="tag_title">Returns:</p>
|
@@ -2353,7 +2370,7 @@ thus should not receive a date on the @done tag</p>
|
|
2353
2370
|
</div>
|
2354
2371
|
|
2355
2372
|
<div id="footer">
|
2356
|
-
Generated on
|
2373
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
2357
2374
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2358
2375
|
0.9.27 (ruby-3.0.1).
|
2359
2376
|
</div>
|
data/docs/doc/Doing/Items.html
CHANGED
@@ -197,6 +197,51 @@
|
|
197
197
|
|
198
198
|
|
199
199
|
|
200
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
201
|
+
|
202
|
+
</li>
|
203
|
+
|
204
|
+
|
205
|
+
<li class="public ">
|
206
|
+
<span class="summary_signature">
|
207
|
+
|
208
|
+
<a href="#dedup-instance_method" title="#dedup (instance method)">#<strong>dedup</strong>(match_section: true) ⇒ Items </a>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
</span>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<span class="summary_desc"><div class='inline'><p>Remove duplicated entries.</p>
|
223
|
+
</div></span>
|
224
|
+
|
225
|
+
</li>
|
226
|
+
|
227
|
+
|
228
|
+
<li class="public ">
|
229
|
+
<span class="summary_signature">
|
230
|
+
|
231
|
+
<a href="#dedup!-instance_method" title="#dedup! (instance method)">#<strong>dedup!</strong>(match_section: true) ⇒ Object </a>
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
</span>
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
200
245
|
<span class="summary_desc"><div class='inline'></div></span>
|
201
246
|
|
202
247
|
</li>
|
@@ -222,6 +267,28 @@
|
|
222
267
|
<span class="summary_desc"><div class='inline'><p>Delete an item from the index.</p>
|
223
268
|
</div></span>
|
224
269
|
|
270
|
+
</li>
|
271
|
+
|
272
|
+
|
273
|
+
<li class="public ">
|
274
|
+
<span class="summary_signature">
|
275
|
+
|
276
|
+
<a href="#delete_section-instance_method" title="#delete_section (instance method)">#<strong>delete_section</strong>(section, log: false) ⇒ Object </a>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</span>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
291
|
+
|
225
292
|
</li>
|
226
293
|
|
227
294
|
|
@@ -268,6 +335,28 @@
|
|
268
335
|
<span class="summary_desc"><div class='inline'><p>Get a new Items object containing only items in a specified section.</p>
|
269
336
|
</div></span>
|
270
337
|
|
338
|
+
</li>
|
339
|
+
|
340
|
+
|
341
|
+
<li class="public ">
|
342
|
+
<span class="summary_signature">
|
343
|
+
|
344
|
+
<a href="#include%3F-instance_method" title="#include? (instance method)">#<strong>include?</strong>(item, match_section: true) ⇒ Boolean </a>
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
</span>
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
359
|
+
|
271
360
|
</li>
|
272
361
|
|
273
362
|
|
@@ -553,6 +642,57 @@ creation of the section.</p>
|
|
553
642
|
|
554
643
|
|
555
644
|
|
645
|
+
</h3>
|
646
|
+
</div>
|
647
|
+
|
648
|
+
<div class="method_details ">
|
649
|
+
<h3 class="signature " id="dedup-instance_method">
|
650
|
+
|
651
|
+
#<strong>dedup</strong>(match_section: true) ⇒ <tt><span class='object_link'><a href="" title="Doing::Items (class)">Items</a></span></tt>
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
</h3><div class="docstring">
|
658
|
+
<div class="discussion">
|
659
|
+
<p>Remove duplicated entries. Duplicate entries must have matching start date, title, note, and section</p>
|
660
|
+
|
661
|
+
|
662
|
+
</div>
|
663
|
+
</div>
|
664
|
+
<div class="tags">
|
665
|
+
|
666
|
+
<p class="tag_title">Returns:</p>
|
667
|
+
<ul class="return">
|
668
|
+
|
669
|
+
<li>
|
670
|
+
|
671
|
+
|
672
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Doing::Items (class)">Items</a></span></tt>)</span>
|
673
|
+
|
674
|
+
|
675
|
+
|
676
|
+
—
|
677
|
+
<div class='inline'><p>Items array with duplicate entries removed</p>
|
678
|
+
</div>
|
679
|
+
|
680
|
+
</li>
|
681
|
+
|
682
|
+
</ul>
|
683
|
+
|
684
|
+
</div>
|
685
|
+
</div>
|
686
|
+
|
687
|
+
<div class="method_details ">
|
688
|
+
<h3 class="signature " id="dedup!-instance_method">
|
689
|
+
|
690
|
+
#<strong>dedup!</strong>(match_section: true) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
|
556
696
|
</h3>
|
557
697
|
</div>
|
558
698
|
|
@@ -594,6 +734,40 @@ creation of the section.</p>
|
|
594
734
|
</ul>
|
595
735
|
|
596
736
|
|
737
|
+
</div>
|
738
|
+
</div>
|
739
|
+
|
740
|
+
<div class="method_details ">
|
741
|
+
<h3 class="signature " id="delete_section-instance_method">
|
742
|
+
|
743
|
+
#<strong>delete_section</strong>(section, log: false) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
</h3><div class="docstring">
|
750
|
+
<div class="discussion">
|
751
|
+
|
752
|
+
|
753
|
+
</div>
|
754
|
+
</div>
|
755
|
+
<div class="tags">
|
756
|
+
|
757
|
+
<p class="tag_title">Raises:</p>
|
758
|
+
<ul class="raise">
|
759
|
+
|
760
|
+
<li>
|
761
|
+
|
762
|
+
|
763
|
+
<span class='type'>(<tt>DoingRuntimeError</tt>)</span>
|
764
|
+
|
765
|
+
|
766
|
+
|
767
|
+
</li>
|
768
|
+
|
769
|
+
</ul>
|
770
|
+
|
597
771
|
</div>
|
598
772
|
</div>
|
599
773
|
|
@@ -694,6 +868,40 @@ specified section</p>
|
|
694
868
|
|
695
869
|
</ul>
|
696
870
|
|
871
|
+
</div>
|
872
|
+
</div>
|
873
|
+
|
874
|
+
<div class="method_details ">
|
875
|
+
<h3 class="signature " id="include?-instance_method">
|
876
|
+
|
877
|
+
#<strong>include?</strong>(item, match_section: true) ⇒ <tt>Boolean</tt>
|
878
|
+
|
879
|
+
|
880
|
+
|
881
|
+
|
882
|
+
|
883
|
+
</h3><div class="docstring">
|
884
|
+
<div class="discussion">
|
885
|
+
|
886
|
+
|
887
|
+
</div>
|
888
|
+
</div>
|
889
|
+
<div class="tags">
|
890
|
+
|
891
|
+
<p class="tag_title">Returns:</p>
|
892
|
+
<ul class="return">
|
893
|
+
|
894
|
+
<li>
|
895
|
+
|
896
|
+
|
897
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
898
|
+
|
899
|
+
|
900
|
+
|
901
|
+
</li>
|
902
|
+
|
903
|
+
</ul>
|
904
|
+
|
697
905
|
</div>
|
698
906
|
</div>
|
699
907
|
|
@@ -890,7 +1098,7 @@ specified section</p>
|
|
890
1098
|
</div>
|
891
1099
|
|
892
1100
|
<div id="footer">
|
893
|
-
Generated on
|
1101
|
+
Generated on Sun Feb 20 09:36:52 2022 by
|
894
1102
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
895
1103
|
0.9.27 (ruby-3.0.1).
|
896
1104
|
</div>
|