doing 2.1.37 → 2.1.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +1 -1
  5. data/Rakefile +7 -1
  6. data/bin/commands/config.rb +43 -34
  7. data/bin/commands/done.rb +1 -18
  8. data/bin/commands/finish.rb +30 -25
  9. data/bin/commands/grep.rb +3 -14
  10. data/bin/commands/last.rb +2 -8
  11. data/bin/commands/meanwhile.rb +13 -6
  12. data/bin/commands/now.rb +2 -4
  13. data/bin/commands/on.rb +4 -15
  14. data/bin/commands/recent.rb +2 -8
  15. data/bin/commands/reset.rb +24 -1
  16. data/bin/commands/select.rb +1 -1
  17. data/bin/commands/show.rb +8 -16
  18. data/bin/commands/since.rb +1 -12
  19. data/bin/commands/today.rb +2 -13
  20. data/bin/commands/view.rb +1 -1
  21. data/bin/commands/yesterday.rb +2 -13
  22. data/bin/doing +41 -36
  23. data/docs/doc/Array.html +1 -1
  24. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  25. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  26. data/docs/doc/BooleanTermParser/Query.html +1 -1
  27. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  28. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  29. data/docs/doc/BooleanTermParser.html +1 -1
  30. data/docs/doc/Doing/Color.html +166 -20
  31. data/docs/doc/Doing/Completion.html +1 -1
  32. data/docs/doc/Doing/Configuration.html +1 -1
  33. data/docs/doc/Doing/Errors/DoingNoTraceError.html +7 -3
  34. data/docs/doc/Doing/Errors/DoingRuntimeError.html +7 -3
  35. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  36. data/docs/doc/Doing/Errors/EmptyInput.html +10 -2
  37. data/docs/doc/Doing/Errors/HistoryLimitError.html +194 -0
  38. data/docs/doc/Doing/Errors/InvalidPlugin.html +194 -0
  39. data/docs/doc/Doing/Errors/MissingBackupFile.html +194 -0
  40. data/docs/doc/Doing/Errors/NoResults.html +10 -2
  41. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  42. data/docs/doc/Doing/Errors/UserCancelled.html +10 -2
  43. data/docs/doc/Doing/Errors/WrongCommand.html +10 -2
  44. data/docs/doc/Doing/Errors.html +9 -9
  45. data/docs/doc/Doing/Hooks.html +1 -1
  46. data/docs/doc/Doing/Item.html +114 -1576
  47. data/docs/doc/Doing/Items.html +121 -5
  48. data/docs/doc/Doing/Logger.html +1 -1
  49. data/docs/doc/Doing/Note.html +1 -1
  50. data/docs/doc/Doing/Pager.html +1 -1
  51. data/docs/doc/Doing/Plugins.html +1 -1
  52. data/docs/doc/Doing/Prompt.html +2 -2
  53. data/docs/doc/Doing/Section.html +1 -1
  54. data/docs/doc/Doing/TemplateString.html +2 -2
  55. data/docs/doc/Doing/Types.html +1 -1
  56. data/docs/doc/Doing/Util/Backup.html +5 -5
  57. data/docs/doc/Doing/Util.html +1 -1
  58. data/docs/doc/Doing/WWID.html +197 -4033
  59. data/docs/doc/Doing.html +2 -2
  60. data/docs/doc/FalseClass.html +1 -1
  61. data/docs/doc/GLI/Commands/Help.html +1 -1
  62. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  63. data/docs/doc/GLI/Commands.html +1 -1
  64. data/docs/doc/GLI.html +1 -1
  65. data/docs/doc/Hash.html +1 -1
  66. data/docs/doc/Object.html +1 -1
  67. data/docs/doc/PhraseParser/Operator.html +1 -1
  68. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  69. data/docs/doc/PhraseParser/Query.html +1 -1
  70. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  71. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  72. data/docs/doc/PhraseParser/TermClause.html +1 -1
  73. data/docs/doc/PhraseParser.html +1 -1
  74. data/docs/doc/Status.html +1 -1
  75. data/docs/doc/String.html +1 -1
  76. data/docs/doc/Symbol.html +1 -1
  77. data/docs/doc/Time.html +1 -1
  78. data/docs/doc/TrueClass.html +1 -1
  79. data/docs/doc/_index.html +26 -5
  80. data/docs/doc/class_list.html +1 -1
  81. data/docs/doc/file.README.html +2 -2
  82. data/docs/doc/index.html +2 -2
  83. data/docs/doc/method_list.html +237 -709
  84. data/docs/doc/top-level-namespace.html +3 -3
  85. data/docs/index.md +1 -1
  86. data/doing.rdoc +54 -7
  87. data/lib/completion/_doing.zsh +6 -6
  88. data/lib/completion/doing.bash +10 -10
  89. data/lib/completion/doing.fish +8 -2
  90. data/lib/doing/add_options.rb +31 -1
  91. data/lib/doing/chronify/array.rb +68 -18
  92. data/lib/doing/chronify/string.rb +3 -1
  93. data/lib/doing/colors.rb +77 -30
  94. data/lib/doing/completion.rb +4 -5
  95. data/lib/doing/errors.rb +51 -35
  96. data/lib/doing/hooks.rb +3 -3
  97. data/lib/doing/item/dates.rb +112 -0
  98. data/lib/doing/item/query.rb +433 -0
  99. data/lib/doing/item/state.rb +59 -0
  100. data/lib/doing/item/tags.rb +87 -0
  101. data/lib/doing/item.rb +6 -537
  102. data/lib/doing/items.rb +39 -14
  103. data/lib/doing/plugin_manager.rb +3 -3
  104. data/lib/doing/plugins/export/template_export.rb +4 -4
  105. data/lib/doing/plugins/import/cal_to_json.scpt +0 -0
  106. data/lib/doing/prompt.rb +6 -8
  107. data/lib/doing/string/tags.rb +8 -2
  108. data/lib/doing/util_backup.rb +6 -8
  109. data/lib/doing/version.rb +1 -1
  110. data/lib/doing/wwid/display.rb +399 -0
  111. data/lib/doing/wwid/editor.rb +214 -0
  112. data/lib/doing/wwid/filetools.rb +186 -0
  113. data/lib/doing/wwid/filter.rb +218 -0
  114. data/lib/doing/wwid/guess.rb +87 -0
  115. data/lib/doing/wwid/interactive.rb +385 -0
  116. data/lib/doing/wwid/modify.rb +618 -0
  117. data/lib/doing/wwid/tags.rb +54 -0
  118. data/lib/doing/wwid/timers.rb +345 -0
  119. data/lib/doing/wwid/wwidutil.rb +104 -0
  120. data/lib/doing/wwid.rb +31 -2308
  121. metadata +19 -2
@@ -69,13 +69,15 @@
69
69
  <dl>
70
70
  <dt>Inherits:</dt>
71
71
  <dd>
72
- <span class="inheritName">StandardError</span>
72
+ <span class="inheritName"><span class='object_link'><a href="DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span>
73
73
 
74
74
  <ul class="fullTree">
75
75
  <li><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></li>
76
76
 
77
77
  <li class="next">StandardError</li>
78
78
 
79
+ <li class="next"><span class='object_link'><a href="DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></li>
80
+
79
81
  <li class="next">Doing::Errors::WrongCommand</li>
80
82
 
81
83
  </ul>
@@ -145,6 +147,12 @@
145
147
 
146
148
 
147
149
 
150
+
151
+
152
+
153
+
154
+
155
+
148
156
  <div id="constructor_details" class="method_details_list">
149
157
  <h2>Constructor Details</h2>
150
158
 
@@ -176,7 +184,7 @@
176
184
  </div>
177
185
 
178
186
  <div id="footer">
179
- Generated on Sat Mar 12 11:56:35 2022 by
187
+ Generated on Tue Mar 15 11:14:29 2022 by
180
188
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
189
  0.9.27 (ruby-3.0.1).
182
190
  </div>
@@ -89,7 +89,7 @@
89
89
 
90
90
 
91
91
 
92
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span>, <span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span>, <span class='object_link'><a href="Errors/DoingStandardError.html" title="Doing::Errors::DoingStandardError (class)">DoingStandardError</a></span>, <span class='object_link'><a href="Errors/EmptyInput.html" title="Doing::Errors::EmptyInput (class)">EmptyInput</a></span>, <span class='object_link'><a href="Errors/NoResults.html" title="Doing::Errors::NoResults (class)">NoResults</a></span>, <span class='object_link'><a href="Errors/PluginException.html" title="Doing::Errors::PluginException (class)">PluginException</a></span>, <span class='object_link'><a href="Errors/UserCancelled.html" title="Doing::Errors::UserCancelled (class)">UserCancelled</a></span>, <span class='object_link'><a href="Errors/WrongCommand.html" title="Doing::Errors::WrongCommand (class)">WrongCommand</a></span>
92
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span>, <span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span>, <span class='object_link'><a href="Errors/DoingStandardError.html" title="Doing::Errors::DoingStandardError (class)">DoingStandardError</a></span>, <span class='object_link'><a href="Errors/EmptyInput.html" title="Doing::Errors::EmptyInput (class)">EmptyInput</a></span>, <span class='object_link'><a href="Errors/HistoryLimitError.html" title="Doing::Errors::HistoryLimitError (class)">HistoryLimitError</a></span>, <span class='object_link'><a href="Errors/InvalidPlugin.html" title="Doing::Errors::InvalidPlugin (class)">InvalidPlugin</a></span>, <span class='object_link'><a href="Errors/MissingBackupFile.html" title="Doing::Errors::MissingBackupFile (class)">MissingBackupFile</a></span>, <span class='object_link'><a href="Errors/NoResults.html" title="Doing::Errors::NoResults (class)">NoResults</a></span>, <span class='object_link'><a href="Errors/PluginException.html" title="Doing::Errors::PluginException (class)">PluginException</a></span>, <span class='object_link'><a href="Errors/UserCancelled.html" title="Doing::Errors::UserCancelled (class)">UserCancelled</a></span>, <span class='object_link'><a href="Errors/WrongCommand.html" title="Doing::Errors::WrongCommand (class)">WrongCommand</a></span>
93
93
 
94
94
 
95
95
  </p>
@@ -120,22 +120,22 @@
120
120
  <dt id="InvalidArgument-constant" class="">InvalidArgument =
121
121
 
122
122
  </dt>
123
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
123
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
124
124
 
125
125
  <dt id="MissingArgument-constant" class="">MissingArgument =
126
126
 
127
127
  </dt>
128
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
128
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
129
129
 
130
130
  <dt id="MissingFile-constant" class="">MissingFile =
131
131
 
132
132
  </dt>
133
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
133
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
134
134
 
135
135
  <dt id="MissingEditor-constant" class="">MissingEditor =
136
136
 
137
137
  </dt>
138
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
138
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
139
139
 
140
140
  <dt id="NonInteractive-constant" class="">NonInteractive =
141
141
 
@@ -145,7 +145,7 @@
145
145
  <dt id="NoEntryError-constant" class="">NoEntryError =
146
146
 
147
147
  </dt>
148
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
148
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
149
149
 
150
150
  <dt id="InvalidTimeExpression-constant" class="">InvalidTimeExpression =
151
151
 
@@ -155,12 +155,12 @@
155
155
  <dt id="InvalidSection-constant" class="">InvalidSection =
156
156
 
157
157
  </dt>
158
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
158
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
159
159
 
160
160
  <dt id="InvalidView-constant" class="">InvalidView =
161
161
 
162
162
  </dt>
163
- <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingRuntimeError.html" title="Doing::Errors::DoingRuntimeError (class)">DoingRuntimeError</a></span></span><span class='rparen'>)</span></pre></dd>
163
+ <dd><pre class="code"><span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Errors/DoingNoTraceError.html" title="Doing::Errors::DoingNoTraceError (class)">DoingNoTraceError</a></span></span><span class='rparen'>)</span></pre></dd>
164
164
 
165
165
  <dt id="ItemNotFound-constant" class="">ItemNotFound =
166
166
 
@@ -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 Tue Mar 15 11:14:29 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 Tue Mar 15 11:14:29 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>