doing 2.1.37 → 2.1.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +1 -1
  5. data/docs/doc/Array.html +1 -1
  6. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  7. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  8. data/docs/doc/BooleanTermParser/Query.html +1 -1
  9. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  10. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  11. data/docs/doc/BooleanTermParser.html +1 -1
  12. data/docs/doc/Doing/Color.html +1 -1
  13. data/docs/doc/Doing/Completion.html +1 -1
  14. data/docs/doc/Doing/Configuration.html +1 -1
  15. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  16. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  17. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  18. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  19. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  20. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  21. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  22. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  23. data/docs/doc/Doing/Errors.html +1 -1
  24. data/docs/doc/Doing/Hooks.html +1 -1
  25. data/docs/doc/Doing/Item.html +1 -1
  26. data/docs/doc/Doing/Items.html +1 -1
  27. data/docs/doc/Doing/Logger.html +1 -1
  28. data/docs/doc/Doing/Note.html +1 -1
  29. data/docs/doc/Doing/Pager.html +1 -1
  30. data/docs/doc/Doing/Plugins.html +1 -1
  31. data/docs/doc/Doing/Prompt.html +1 -1
  32. data/docs/doc/Doing/Section.html +1 -1
  33. data/docs/doc/Doing/TemplateString.html +1 -1
  34. data/docs/doc/Doing/Types.html +1 -1
  35. data/docs/doc/Doing/Util/Backup.html +1 -1
  36. data/docs/doc/Doing/Util.html +1 -1
  37. data/docs/doc/Doing/WWID.html +1 -1
  38. data/docs/doc/Doing.html +2 -2
  39. data/docs/doc/FalseClass.html +1 -1
  40. data/docs/doc/GLI/Commands/Help.html +1 -1
  41. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  42. data/docs/doc/GLI/Commands.html +1 -1
  43. data/docs/doc/GLI.html +1 -1
  44. data/docs/doc/Hash.html +1 -1
  45. data/docs/doc/Object.html +1 -1
  46. data/docs/doc/PhraseParser/Operator.html +1 -1
  47. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  48. data/docs/doc/PhraseParser/Query.html +1 -1
  49. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  50. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  51. data/docs/doc/PhraseParser/TermClause.html +1 -1
  52. data/docs/doc/PhraseParser.html +1 -1
  53. data/docs/doc/Status.html +1 -1
  54. data/docs/doc/String.html +1 -1
  55. data/docs/doc/Symbol.html +1 -1
  56. data/docs/doc/Time.html +1 -1
  57. data/docs/doc/TrueClass.html +1 -1
  58. data/docs/doc/_index.html +1 -1
  59. data/docs/doc/file.README.html +2 -2
  60. data/docs/doc/index.html +2 -2
  61. data/docs/doc/top-level-namespace.html +1 -1
  62. data/doing.rdoc +1 -1
  63. data/lib/doing/chronify/array.rb +8 -0
  64. data/lib/doing/item.rb +36 -4
  65. data/lib/doing/version.rb +1 -1
  66. data/lib/doing/wwid.rb +4 -0
  67. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c0885bc08edfe3d0046ca539875e344fe2e4ebc0773f683e0484586b4318fd7
4
- data.tar.gz: 31f4fb3e7eb3d80172aa10ff078cfd8ec175ce583bc343893ec4595b00b6849c
3
+ metadata.gz: 5bcf3e4345ac548251e36556a1f99f22038b15bb613bb7aae147d5aa85e78aab
4
+ data.tar.gz: ea2f7300ffea4ef746040b3f8202e891f164b676ac4833dfef964675dc6df1c9
5
5
  SHA512:
6
- metadata.gz: 75776e7e578928346f4f528041c32d6186edbdf4a7d9709b0017a18da098ae012a0777e0df624e5498e80a76f8c4d68232f430734ad56c4be3cf7b73c8307d3e
7
- data.tar.gz: 94dedcd7c2cfdbabe5865727b7138d297419285885e398b99cad8179212fd215f84e393ae06bd77b90736a070239d3e017176274f4dd144dc15641299c3f071e
6
+ metadata.gz: 7760073bacf63cce42b00d6c0d7e0fcf92b6ba7ec188607fa5af0af63ed5b3ed46f88f1ce8c0e61563a0f14165efb9e350975ad011bef1e264d9579826bc24b2
7
+ data.tar.gz: eb9f309527cfc7195070fe1ba42b4065a515997dda139fcfcfb87182bd5c7f2311c9c6d8f4a382189df45092952ac693013a61e16360f858f0f086981f23932c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ### 2.1.38
2
+
3
+ 2022-03-12 15:40
4
+
5
+ #### NEW
6
+
7
+ - `--val 'duration > 2h'` allows querying elapsed time of entries
8
+
9
+ #### IMPROVED
10
+
11
+ - Exclude never_finish entries when searching for @done items
12
+
13
+ #### FIXED
14
+
15
+ - `--editor` not saving results in some commands (including `doing search -e`)
16
+ - Clock or dhm interval output not converting hours to days in some cases
17
+
1
18
  ### 2.1.37
2
19
 
3
20
  2022-03-12 11:37
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.37)
4
+ doing (2.1.38)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  deep_merge (~> 1.2, >= 1.2.1)
7
7
  gli (~> 2.20, >= 2.20.1)
data/README.md CHANGED
@@ -8,7 +8,7 @@ _If you're one of the rare people like me who find this useful, feel free to
8
8
 
9
9
  <!--README-->
10
10
 
11
- The current version of `doing` is <!--VER-->2.1.36<!--END VER-->.
11
+ The current version of `doing` is <!--VER-->2.1.37<!--END VER-->.
12
12
 
13
13
  Find all of the documentation in the [doing wiki][wiki].
14
14
 
data/docs/doc/Array.html CHANGED
@@ -195,7 +195,7 @@ has content</p>
195
195
  </div>
196
196
 
197
197
  <div id="footer">
198
- Generated on Sat Mar 12 11:56:35 2022 by
198
+ Generated on Sat Mar 12 16:18:00 2022 by
199
199
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
200
200
  0.9.27 (ruby-3.0.1).
201
201
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Sat Mar 12 11:56:36 2022 by
286
+ Generated on Sat Mar 12 16:18:01 2022 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.27 (ruby-3.0.1).
289
289
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Sat Mar 12 11:56:36 2022 by
165
+ Generated on Sat Mar 12 16:18:01 2022 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.27 (ruby-3.0.1).
168
168
  </div>
@@ -407,7 +407,7 @@
407
407
  </div>
408
408
 
409
409
  <div id="footer">
410
- Generated on Sat Mar 12 11:56:36 2022 by
410
+ Generated on Sat Mar 12 16:18:01 2022 by
411
411
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
412
412
  0.9.27 (ruby-3.0.1).
413
413
  </div>
@@ -125,7 +125,7 @@ parser. In order to do that, a new &quot;clause&quot; node is added to the parse
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Sat Mar 12 11:56:36 2022 by
128
+ Generated on Sat Mar 12 16:18:01 2022 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.27 (ruby-3.0.1).
131
131
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Sat Mar 12 11:56:36 2022 by
117
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
108
+ Generated on Sat Mar 12 16:18:00 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>
@@ -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 Sat Mar 12 11:56:35 2022 by
521
+ Generated on Sat Mar 12 16:18:00 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 Sat Mar 12 11:56:35 2022 by
529
+ Generated on Sat Mar 12 16:18:00 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 Sat Mar 12 11:56:36 2022 by
1142
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
241
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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 Sat Mar 12 11:56:35 2022 by
179
+ Generated on Sat Mar 12 16:18:01 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>
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
 
183
183
  <div id="footer">
184
- Generated on Sat Mar 12 11:56:35 2022 by
184
+ Generated on Sat Mar 12 16:18:00 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>
@@ -354,7 +354,7 @@
354
354
  </div>
355
355
 
356
356
  <div id="footer">
357
- Generated on Sat Mar 12 11:56:35 2022 by
357
+ Generated on Sat Mar 12 16:18:00 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>
@@ -2370,7 +2370,7 @@ thus should not receive a date on the @done tag</p>
2370
2370
  </div>
2371
2371
 
2372
2372
  <div id="footer">
2373
- Generated on Sat Mar 12 11:56:35 2022 by
2373
+ Generated on Sat Mar 12 16:18:00 2022 by
2374
2374
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2375
2375
  0.9.27 (ruby-3.0.1).
2376
2376
  </div>
@@ -1098,7 +1098,7 @@ specified section</p>
1098
1098
  </div>
1099
1099
 
1100
1100
  <div id="footer">
1101
- Generated on Sat Mar 12 11:56:35 2022 by
1101
+ Generated on Sat Mar 12 16:18:01 2022 by
1102
1102
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1103
1103
  0.9.27 (ruby-3.0.1).
1104
1104
  </div>
@@ -1797,7 +1797,7 @@ message (optional)</p>
1797
1797
  </div>
1798
1798
 
1799
1799
  <div id="footer">
1800
- Generated on Sat Mar 12 11:56:35 2022 by
1800
+ Generated on Sat Mar 12 16:18:01 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>
@@ -733,7 +733,7 @@ join multiple lines</p>
733
733
  </div>
734
734
 
735
735
  <div id="footer">
736
- Generated on Sat Mar 12 11:56:35 2022 by
736
+ Generated on Sat Mar 12 16:18:00 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>
@@ -296,7 +296,7 @@ STDOUT</p>
296
296
  </div>
297
297
 
298
298
  <div id="footer">
299
- Generated on Sat Mar 12 11:56:35 2022 by
299
+ Generated on Sat Mar 12 16:18:00 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>
@@ -1235,7 +1235,7 @@ e.g. :imp =&gt; :import</p>
1235
1235
  </div>
1236
1236
 
1237
1237
  <div id="footer">
1238
- Generated on Sat Mar 12 11:56:35 2022 by
1238
+ Generated on Sat Mar 12 16:18:00 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>
@@ -977,7 +977,7 @@ response if no input</p>
977
977
  </div>
978
978
 
979
979
  <div id="footer">
980
- Generated on Sat Mar 12 11:56:35 2022 by
980
+ Generated on Sat Mar 12 16:18:00 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>
@@ -344,7 +344,7 @@
344
344
  </div>
345
345
 
346
346
  <div id="footer">
347
- Generated on Sat Mar 12 11:56:35 2022 by
347
+ Generated on Sat Mar 12 16:18:01 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>
@@ -703,7 +703,7 @@ of colors and string locations</p>
703
703
  </div>
704
704
 
705
705
  <div id="footer">
706
- Generated on Sat Mar 12 11:56:36 2022 by
706
+ Generated on Sat Mar 12 16:18:01 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>
@@ -236,7 +236,7 @@
236
236
  </div>
237
237
 
238
238
  <div id="footer">
239
- Generated on Sat Mar 12 11:56:35 2022 by
239
+ Generated on Sat Mar 12 16:18:00 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>
@@ -836,7 +836,7 @@ in a hidden directory</p>
836
836
  </div>
837
837
 
838
838
  <div id="footer">
839
- Generated on Sat Mar 12 11:56:35 2022 by
839
+ Generated on Sat Mar 12 16:18:00 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>
@@ -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 Sat Mar 12 11:56:35 2022 by
928
+ Generated on Sat Mar 12 16:18:00 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>
@@ -4716,7 +4716,7 @@ json, or text)</p>
4716
4716
  </div>
4717
4717
 
4718
4718
  <div id="footer">
4719
- Generated on Sat Mar 12 11:56:35 2022 by
4719
+ Generated on Sat Mar 12 16:18:01 2022 by
4720
4720
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
4721
4721
  0.9.27 (ruby-3.0.1).
4722
4722
  </div>
data/docs/doc/Doing.html CHANGED
@@ -119,7 +119,7 @@
119
119
  <dt id="VERSION-constant" class="">VERSION =
120
120
 
121
121
  </dt>
122
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.37</span><span class='tstring_end'>&#39;</span></span></pre></dd>
122
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.38</span><span class='tstring_end'>&#39;</span></span></pre></dd>
123
123
 
124
124
  </dl>
125
125
 
@@ -135,7 +135,7 @@
135
135
  </div>
136
136
 
137
137
  <div id="footer">
138
- Generated on Sat Mar 12 11:56:35 2022 by
138
+ Generated on Sat Mar 12 16:18:00 2022 by
139
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
140
  0.9.27 (ruby-3.0.1).
141
141
  </div>
@@ -225,7 +225,7 @@ has content</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Sat Mar 12 11:56:35 2022 by
228
+ Generated on Sat Mar 12 16:18:00 2022 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.27 (ruby-3.0.1).
231
231
  </div>
@@ -175,7 +175,7 @@
175
175
  </div>
176
176
 
177
177
  <div id="footer">
178
- Generated on Sat Mar 12 11:56:36 2022 by
178
+ Generated on Sat Mar 12 16:18:01 2022 by
179
179
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
180
180
  0.9.27 (ruby-3.0.1).
181
181
  </div>
@@ -753,7 +753,7 @@
753
753
  </div>
754
754
 
755
755
  <div id="footer">
756
- Generated on Sat Mar 12 11:56:36 2022 by
756
+ Generated on Sat Mar 12 16:18:01 2022 by
757
757
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
758
758
  0.9.27 (ruby-3.0.1).
759
759
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Sat Mar 12 11:56:35 2022 by
110
+ Generated on Sat Mar 12 16:18:00 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-3.0.1).
113
113
  </div>
data/docs/doc/GLI.html CHANGED
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Sat Mar 12 11:56:35 2022 by
110
+ Generated on Sat Mar 12 16:18:00 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-3.0.1).
113
113
  </div>
data/docs/doc/Hash.html CHANGED
@@ -516,7 +516,7 @@
516
516
  </div>
517
517
 
518
518
  <div id="footer">
519
- Generated on Sat Mar 12 11:56:35 2022 by
519
+ Generated on Sat Mar 12 16:18:00 2022 by
520
520
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
521
521
  0.9.27 (ruby-3.0.1).
522
522
  </div>
data/docs/doc/Object.html CHANGED
@@ -193,7 +193,7 @@ has content</p>
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Sat Mar 12 11:56:35 2022 by
196
+ Generated on Sat Mar 12 16:18:00 2022 by
197
197
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
198
  0.9.27 (ruby-3.0.1).
199
199
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Sat Mar 12 11:56:36 2022 by
165
+ Generated on Sat Mar 12 16:18:01 2022 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.27 (ruby-3.0.1).
168
168
  </div>
@@ -293,7 +293,7 @@
293
293
  </div>
294
294
 
295
295
  <div id="footer">
296
- Generated on Sat Mar 12 11:56:36 2022 by
296
+ Generated on Sat Mar 12 16:18:01 2022 by
297
297
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
298
  0.9.27 (ruby-3.0.1).
299
299
  </div>
@@ -485,7 +485,7 @@
485
485
  </div>
486
486
 
487
487
  <div id="footer">
488
- Generated on Sat Mar 12 11:56:36 2022 by
488
+ Generated on Sat Mar 12 16:18:01 2022 by
489
489
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
490
490
  0.9.27 (ruby-3.0.1).
491
491
  </div>
@@ -126,7 +126,7 @@ A phrase clause generates an Elasticsearch match_phrase query.</p>
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Sat Mar 12 11:56:36 2022 by
129
+ Generated on Sat Mar 12 16:18:01 2022 by
130
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
131
  0.9.27 (ruby-3.0.1).
132
132
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Sat Mar 12 11:56:36 2022 by
117
+ Generated on Sat Mar 12 16:18:01 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>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Sat Mar 12 11:56:36 2022 by
286
+ Generated on Sat Mar 12 16:18:01 2022 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.27 (ruby-3.0.1).
289
289
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Sat Mar 12 11:56:35 2022 by
108
+ Generated on Sat Mar 12 16:18:00 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/Status.html CHANGED
@@ -316,7 +316,7 @@
316
316
  </div>
317
317
 
318
318
  <div id="footer">
319
- Generated on Sat Mar 12 11:56:35 2022 by
319
+ Generated on Sat Mar 12 16:18:00 2022 by
320
320
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
321
  0.9.27 (ruby-3.0.1).
322
322
  </div>
data/docs/doc/String.html CHANGED
@@ -1129,7 +1129,7 @@ be recognized, e.g. %greensomething still finds
1129
1129
  </div>
1130
1130
 
1131
1131
  <div id="footer">
1132
- Generated on Sat Mar 12 11:56:35 2022 by
1132
+ Generated on Sat Mar 12 16:18:00 2022 by
1133
1133
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1134
1134
  0.9.27 (ruby-3.0.1).
1135
1135
  </div>
data/docs/doc/Symbol.html CHANGED
@@ -342,7 +342,7 @@
342
342
  </div>
343
343
 
344
344
  <div id="footer">
345
- Generated on Sat Mar 12 11:56:35 2022 by
345
+ Generated on Sat Mar 12 16:18:01 2022 by
346
346
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
347
347
  0.9.27 (ruby-3.0.1).
348
348
  </div>
data/docs/doc/Time.html CHANGED
@@ -240,7 +240,7 @@
240
240
  </div>
241
241
 
242
242
  <div id="footer">
243
- Generated on Sat Mar 12 11:56:35 2022 by
243
+ Generated on Sat Mar 12 16:18:00 2022 by
244
244
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
245
245
  0.9.27 (ruby-3.0.1).
246
246
  </div>
@@ -225,7 +225,7 @@ has content</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Sat Mar 12 11:56:35 2022 by
228
+ Generated on Sat Mar 12 16:18:00 2022 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.27 (ruby-3.0.1).
231
231
  </div>
data/docs/doc/_index.html CHANGED
@@ -589,7 +589,7 @@
589
589
  </div>
590
590
 
591
591
  <div id="footer">
592
- Generated on Sat Mar 12 11:56:35 2022 by
592
+ Generated on Sat Mar 12 16:18:00 2022 by
593
593
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
594
594
  0.9.27 (ruby-3.0.1).
595
595
  </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.36&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.37&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 Sat Mar 12 11:56:35 2022 by
152
+ Generated on Sat Mar 12 16:18:00 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.36&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.37&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 Sat Mar 12 11:56:35 2022 by
152
+ Generated on Sat Mar 12 16:18:00 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>
@@ -206,7 +206,7 @@
206
206
  </div>
207
207
 
208
208
  <div id="footer">
209
- Generated on Sat Mar 12 11:56:35 2022 by
209
+ Generated on Sat Mar 12 16:18:00 2022 by
210
210
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
211
211
  0.9.27 (ruby-3.0.1).
212
212
  </div>
data/doing.rdoc CHANGED
@@ -5,7 +5,7 @@ record of what you've been doing, complete with tag-based time tracking. The
5
5
  command line tool allows you to add entries, annotate with tags and notes, and
6
6
  view your entries with myriad options, with a focus on a "natural" language syntax.
7
7
 
8
- v2.1.37
8
+ v2.1.38
9
9
 
10
10
  === Global Options
11
11
  === --config_file arg
@@ -18,8 +18,16 @@ module Doing
18
18
  d, h, m = self
19
19
  case format
20
20
  when :clock
21
+ if d.zero? && h > 24
22
+ d = (h / 24).floor
23
+ h = h % 24
24
+ end
21
25
  format('%<d>02d:%<h>02d:%<m>02d', d: d, h: h, m: m)
22
26
  when :dhm
27
+ if d.zero? && h > 24
28
+ d = (h / 24).floor
29
+ h = h % 24
30
+ end
23
31
  output = []
24
32
  output.push(format('%<d>dd', d: d)) if d.positive?
25
33
  output.push(format('%<h>dh', h: h)) if h.positive?
data/lib/doing/item.rb CHANGED
@@ -522,7 +522,11 @@ module Doing
522
522
  return true unless tags.good?
523
523
 
524
524
  tags.each do |tag|
525
- return false unless @title =~ /@#{tag.wildcard_to_rx}(?= |\(|\Z)/i
525
+ if tag =~ /done/ && !should_finish?
526
+ next
527
+ else
528
+ return false unless @title =~ /@#{tag.wildcard_to_rx}(?= |\(|\Z)/i
529
+ end
526
530
  end
527
531
  true
528
532
  end
@@ -531,7 +535,11 @@ module Doing
531
535
  return true unless tags.good?
532
536
 
533
537
  tags.each do |tag|
534
- return false if @title =~ /@#{tag.wildcard_to_rx}(?= |\(|\Z)/i
538
+ if tag =~ /done/ && !should_finish?
539
+ return false
540
+ else
541
+ return false if @title =~ /@#{tag.wildcard_to_rx}(?= |\(|\Z)/i
542
+ end
535
543
  end
536
544
  true
537
545
  end
@@ -540,7 +548,11 @@ module Doing
540
548
  return true unless tags.good?
541
549
 
542
550
  tags.each do |tag|
543
- return true if @title =~ /@#{tag.wildcard_to_rx}(?= |\(|\Z)/i
551
+ if tag =~ /done/ && !should_finish?
552
+ return true
553
+ else
554
+ return true if @title =~ /@#{tag.wildcard_to_rx}(?= |\(|\Z)/i
555
+ end
544
556
  end
545
557
  false
546
558
  end
@@ -596,7 +608,27 @@ module Doing
596
608
  end
597
609
 
598
610
  def tag_value_matches?(tag, comp, value, negate)
599
- if all_tags?([tag])
611
+ if tag =~ /^(elapsed|dur(ation)?|int(erval)?|t(ime)?)$/
612
+
613
+ return false if interval.nil?
614
+
615
+ val = value.chronify_qty
616
+ is_match = case comp
617
+ when /^<$/
618
+ interval < val
619
+ when /^<=$/
620
+ interval <= val
621
+ when /^>$/
622
+ interval > val
623
+ when /^>=$/
624
+ interval >= val
625
+ when /^!=/
626
+ interval != val
627
+ when /^=/
628
+ interval == val
629
+ end
630
+ comp =~ /!/ || negate ? !is_match : is_match
631
+ elsif all_tags?([tag])
600
632
  tag_val = tag_value(tag)
601
633
 
602
634
  if (value.chronify.nil? && value =~ /[a-z]/i && comp =~ /^!?==?$/) || comp =~ /[$*^]=/
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '2.1.37'
2
+ VERSION = '2.1.38'
3
3
  end
data/lib/doing/wwid.rb CHANGED
@@ -1688,9 +1688,13 @@ module Doing
1688
1688
 
1689
1689
  if opt[:delete]
1690
1690
  delete_items(items, force: opt[:force])
1691
+
1692
+ write(@doing_file)
1691
1693
  return
1692
1694
  elsif opt[:editor]
1693
1695
  edit_items(items)
1696
+
1697
+ write(@doing_file)
1694
1698
  return
1695
1699
  elsif opt[:interactive]
1696
1700
  opt[:menu] = !opt[:force]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.37
4
+ version: 2.1.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra