doing 2.1.19 → 2.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +9 -8
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/CHANGELOG.md +49 -0
  6. data/Gemfile.lock +11 -11
  7. data/README.md +1 -1
  8. data/Rakefile +10 -4
  9. data/bin/doing +123 -167
  10. data/docs/doc/Array.html +3 -3
  11. data/docs/doc/BooleanTermParser/Clause.html +3 -3
  12. data/docs/doc/BooleanTermParser/Operator.html +3 -3
  13. data/docs/doc/BooleanTermParser/Query.html +3 -3
  14. data/docs/doc/BooleanTermParser/QueryParser.html +3 -3
  15. data/docs/doc/BooleanTermParser/QueryTransformer.html +3 -3
  16. data/docs/doc/BooleanTermParser.html +3 -3
  17. data/docs/doc/Doing/Color.html +3 -3
  18. data/docs/doc/Doing/Completion.html +3 -3
  19. data/docs/doc/Doing/Configuration.html +4 -3
  20. data/docs/doc/Doing/Errors/DoingNoTraceError.html +3 -3
  21. data/docs/doc/Doing/Errors/DoingRuntimeError.html +3 -3
  22. data/docs/doc/Doing/Errors/DoingStandardError.html +3 -3
  23. data/docs/doc/Doing/Errors/EmptyInput.html +3 -3
  24. data/docs/doc/Doing/Errors/NoResults.html +3 -3
  25. data/docs/doc/Doing/Errors/PluginException.html +3 -3
  26. data/docs/doc/Doing/Errors/UserCancelled.html +3 -3
  27. data/docs/doc/Doing/Errors/WrongCommand.html +3 -3
  28. data/docs/doc/Doing/Errors.html +3 -3
  29. data/docs/doc/Doing/Hooks.html +3 -3
  30. data/docs/doc/Doing/Item.html +3 -3
  31. data/docs/doc/Doing/Items.html +3 -3
  32. data/docs/doc/Doing/LogAdapter.html +3 -3
  33. data/docs/doc/Doing/Note.html +3 -3
  34. data/docs/doc/Doing/Pager.html +3 -3
  35. data/docs/doc/Doing/Plugins.html +3 -3
  36. data/docs/doc/Doing/Prompt.html +3 -3
  37. data/docs/doc/Doing/Section.html +3 -3
  38. data/docs/doc/Doing/TemplateString.html +4 -4
  39. data/docs/doc/Doing/Util/Backup.html +3 -3
  40. data/docs/doc/Doing/Util.html +3 -3
  41. data/docs/doc/Doing/WWID.html +66 -8
  42. data/docs/doc/Doing.html +4 -4
  43. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +3 -3
  44. data/docs/doc/GLI/Commands.html +3 -3
  45. data/docs/doc/GLI.html +3 -3
  46. data/docs/doc/Hash.html +3 -3
  47. data/docs/doc/Numeric.html +3 -3
  48. data/docs/doc/PhraseParser/Operator.html +3 -3
  49. data/docs/doc/PhraseParser/PhraseClause.html +3 -3
  50. data/docs/doc/PhraseParser/Query.html +3 -3
  51. data/docs/doc/PhraseParser/QueryParser.html +3 -3
  52. data/docs/doc/PhraseParser/QueryTransformer.html +3 -3
  53. data/docs/doc/PhraseParser/TermClause.html +3 -3
  54. data/docs/doc/PhraseParser.html +3 -3
  55. data/docs/doc/Status.html +3 -3
  56. data/docs/doc/String.html +94 -17
  57. data/docs/doc/Symbol.html +3 -3
  58. data/docs/doc/Time.html +3 -3
  59. data/docs/doc/_index.html +4 -4
  60. data/docs/doc/file.README.html +4 -4
  61. data/docs/doc/frames.html +1 -1
  62. data/docs/doc/index.html +4 -4
  63. data/docs/doc/method_list.html +300 -276
  64. data/docs/doc/top-level-namespace.html +94 -3
  65. data/doing.gemspec +1 -1
  66. data/doing.rdoc +15 -6
  67. data/lib/completion/_doing.zsh +5 -5
  68. data/lib/completion/doing.bash +8 -8
  69. data/lib/completion/doing.fish +93 -15
  70. data/lib/doing/completion/fish_completion.rb +80 -11
  71. data/lib/doing/configuration.rb +1 -0
  72. data/lib/doing/hash.rb +1 -1
  73. data/lib/doing/items.rb +3 -1
  74. data/lib/doing/pager.rb +1 -1
  75. data/lib/doing/plugins/export/dayone_export.rb +1 -1
  76. data/lib/doing/plugins/export/markdown_export.rb +1 -1
  77. data/lib/doing/string.rb +11 -0
  78. data/lib/doing/string_chronify.rb +55 -17
  79. data/lib/doing/types.rb +19 -0
  80. data/lib/doing/version.rb +1 -1
  81. data/lib/doing/wwid.rb +69 -42
  82. data/lib/examples/commands/later.rb +32 -0
  83. data/lib/helpers/threaded_tests.rb +250 -0
  84. metadata +9 -6
data/docs/doc/String.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: String
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -543,6 +543,28 @@
543
543
 
544
544
 
545
545
 
546
+ <span class="summary_desc"><div class='inline'></div></span>
547
+
548
+ </li>
549
+
550
+
551
+ <li class="public ">
552
+ <span class="summary_signature">
553
+
554
+ <a href="#is_range%3F-instance_method" title="#is_range? (instance method)">#<strong>is_range?</strong> &#x21d2; Boolean </a>
555
+
556
+
557
+
558
+ </span>
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
546
568
  <span class="summary_desc"><div class='inline'></div></span>
547
569
 
548
570
  </li>
@@ -1089,6 +1111,28 @@
1089
1111
  <span class="summary_desc"><div class='inline'><p>Convert DD:HH:MM to a natural language string.</p>
1090
1112
  </div></span>
1091
1113
 
1114
+ </li>
1115
+
1116
+
1117
+ <li class="public ">
1118
+ <span class="summary_signature">
1119
+
1120
+ <a href="#to_bool-instance_method" title="#to_bool (instance method)">#<strong>to_bool</strong> &#x21d2; Object </a>
1121
+
1122
+
1123
+
1124
+ </span>
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+ <span class="summary_desc"><div class='inline'></div></span>
1135
+
1092
1136
  </li>
1093
1137
 
1094
1138
 
@@ -1737,7 +1781,7 @@ arbitrary time range</p>
1737
1781
  <li>
1738
1782
 
1739
1783
 
1740
- <span class='type'>(<tt>InvalidTimeExpression</tt>)</span>
1784
+ <span class='type'>(<tt>Errors::InvalidTimeExpression</tt>)</span>
1741
1785
 
1742
1786
 
1743
1787
 
@@ -2135,6 +2179,40 @@ consider date_tags</p>
2135
2179
 
2136
2180
 
2137
2181
  </h3>
2182
+ </div>
2183
+
2184
+ <div class="method_details ">
2185
+ <h3 class="signature " id="is_range?-instance_method">
2186
+
2187
+ #<strong>is_range?</strong> &#x21d2; <tt>Boolean</tt>
2188
+
2189
+
2190
+
2191
+
2192
+
2193
+ </h3><div class="docstring">
2194
+ <div class="discussion">
2195
+
2196
+
2197
+ </div>
2198
+ </div>
2199
+ <div class="tags">
2200
+
2201
+ <p class="tag_title">Returns:</p>
2202
+ <ul class="return">
2203
+
2204
+ <li>
2205
+
2206
+
2207
+ <span class='type'>(<tt>Boolean</tt>)</span>
2208
+
2209
+
2210
+
2211
+ </li>
2212
+
2213
+ </ul>
2214
+
2215
+ </div>
2138
2216
  </div>
2139
2217
 
2140
2218
  <div class="method_details ">
@@ -2895,19 +2973,6 @@ given, end time is nil.</p>
2895
2973
  array</p>
2896
2974
  </div>
2897
2975
 
2898
- </li>
2899
-
2900
- </ul>
2901
- <p class="tag_title">Raises:</p>
2902
- <ul class="raise">
2903
-
2904
- <li>
2905
-
2906
-
2907
- <span class='type'>(<tt>InvalidTimeExpression</tt>)</span>
2908
-
2909
-
2910
-
2911
2976
  </li>
2912
2977
 
2913
2978
  </ul>
@@ -3145,6 +3210,18 @@ array</p>
3145
3210
 
3146
3211
 
3147
3212
  </div>
3213
+ </div>
3214
+
3215
+ <div class="method_details ">
3216
+ <h3 class="signature " id="to_bool-instance_method">
3217
+
3218
+ #<strong>to_bool</strong> &#x21d2; <tt>Object</tt>
3219
+
3220
+
3221
+
3222
+
3223
+
3224
+ </h3>
3148
3225
  </div>
3149
3226
 
3150
3227
  <div class="method_details ">
@@ -3765,9 +3842,9 @@ Uses \S (non-whitespace) instead of . (any character)</p>
3765
3842
  </div>
3766
3843
 
3767
3844
  <div id="footer">
3768
- Generated on Tue Jan 18 08:53:02 2022 by
3845
+ Generated on Thu Jan 20 12:10:33 2022 by
3769
3846
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3770
- 0.9.26 (ruby-3.0.1).
3847
+ 0.9.27 (ruby-3.0.1).
3771
3848
  </div>
3772
3849
 
3773
3850
  </div>
data/docs/doc/Symbol.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Symbol
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -308,9 +308,9 @@
308
308
  </div>
309
309
 
310
310
  <div id="footer">
311
- Generated on Tue Jan 18 08:53:02 2022 by
311
+ Generated on Thu Jan 20 12:10:33 2022 by
312
312
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
313
- 0.9.26 (ruby-3.0.1).
313
+ 0.9.27 (ruby-3.0.1).
314
314
  </div>
315
315
 
316
316
  </div>
data/docs/doc/Time.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Time
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -240,9 +240,9 @@
240
240
  </div>
241
241
 
242
242
  <div id="footer">
243
- Generated on Tue Jan 18 08:53:02 2022 by
243
+ Generated on Thu Jan 20 12:10:33 2022 by
244
244
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
245
- 0.9.26 (ruby-3.0.1).
245
+ 0.9.27 (ruby-3.0.1).
246
246
  </div>
247
247
 
248
248
  </div>
data/docs/doc/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.26
7
+ Documentation by YARD 0.9.27
8
8
 
9
9
  </title>
10
10
 
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.26</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.27</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -555,9 +555,9 @@
555
555
  </div>
556
556
 
557
557
  <div id="footer">
558
- Generated on Tue Jan 18 08:53:02 2022 by
558
+ Generated on Thu Jan 20 12:10:33 2022 by
559
559
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
560
- 0.9.26 (ruby-3.0.1).
560
+ 0.9.27 (ruby-3.0.1).
561
561
  </div>
562
562
 
563
563
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -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.18&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.20&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,9 +149,9 @@ 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 Tue Jan 18 08:53:02 2022 by
152
+ Generated on Thu Jan 20 12:10:33 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
- 0.9.26 (ruby-3.0.1).
154
+ 0.9.27 (ruby-3.0.1).
155
155
  </div>
156
156
 
157
157
  </div>
data/docs/doc/frames.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.26</title>
5
+ <title>Documentation by YARD 0.9.27</title>
6
6
  </head>
7
7
  <script type="text/javascript">
8
8
  var match = unescape(window.location.hash).match(/^#!(.+)/);
data/docs/doc/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -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.18&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.20&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,9 +149,9 @@ 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 Tue Jan 18 08:53:02 2022 by
152
+ Generated on Thu Jan 20 12:10:33 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
- 0.9.26 (ruby-3.0.1).
154
+ 0.9.27 (ruby-3.0.1).
155
155
  </div>
156
156
 
157
157
  </div>