doing 2.1.6pre → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +3 -3
  3. data/.yardoc/objects/root.dat +0 -0
  4. data/CHANGELOG.md +17 -28
  5. data/Gemfile.lock +1 -1
  6. data/docs/doc/Array.html +1 -1
  7. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  8. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  9. data/docs/doc/BooleanTermParser/Query.html +1 -1
  10. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  11. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  12. data/docs/doc/BooleanTermParser.html +1 -1
  13. data/docs/doc/Doing/Color.html +1 -1
  14. data/docs/doc/Doing/Completion.html +1 -1
  15. data/docs/doc/Doing/Configuration.html +2 -1
  16. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  17. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  18. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  19. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  20. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  21. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  22. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  23. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  24. data/docs/doc/Doing/Errors.html +1 -1
  25. data/docs/doc/Doing/Hooks.html +1 -1
  26. data/docs/doc/Doing/Item.html +1 -1
  27. data/docs/doc/Doing/Items.html +1 -1
  28. data/docs/doc/Doing/LogAdapter.html +1 -1
  29. data/docs/doc/Doing/Note.html +1 -1
  30. data/docs/doc/Doing/Pager.html +1 -1
  31. data/docs/doc/Doing/Plugins.html +1 -1
  32. data/docs/doc/Doing/Prompt.html +1 -1
  33. data/docs/doc/Doing/Section.html +1 -1
  34. data/docs/doc/Doing/TemplateString.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/GLI/Commands/MarkdownDocumentListener.html +1 -1
  40. data/docs/doc/GLI/Commands.html +1 -1
  41. data/docs/doc/GLI.html +1 -1
  42. data/docs/doc/Hash.html +1 -1
  43. data/docs/doc/PhraseParser/Operator.html +1 -1
  44. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  45. data/docs/doc/PhraseParser/Query.html +1 -1
  46. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  47. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  48. data/docs/doc/PhraseParser/TermClause.html +1 -1
  49. data/docs/doc/PhraseParser.html +1 -1
  50. data/docs/doc/Status.html +1 -1
  51. data/docs/doc/String.html +1 -1
  52. data/docs/doc/Symbol.html +1 -1
  53. data/docs/doc/Time.html +1 -1
  54. data/docs/doc/_index.html +1 -1
  55. data/docs/doc/file.README.html +1 -1
  56. data/docs/doc/index.html +1 -1
  57. data/docs/doc/top-level-namespace.html +1 -1
  58. data/doing.rdoc +1 -1
  59. data/lib/doing/configuration.rb +1 -0
  60. data/lib/doing/util_backup.rb +1 -1
  61. data/lib/doing/version.rb +1 -1
  62. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8a14370ab8e66fdd3fe54a696dfab912d59e9e2ea750dc9d521f4b5ad801adb
4
- data.tar.gz: 5972acb83a872eb997c607c9d4e3804a74ec91868b7d41767ee6c130fb41a569
3
+ metadata.gz: 0cdb47e229ab21b2fa5d48a8d52b8c029a23a155e8f98a7a6ade80a952122996
4
+ data.tar.gz: 15a5ab6945438d3d90ded06a4609452e82a1017760087bc8305c48e1f8bc85ab
5
5
  SHA512:
6
- metadata.gz: e429e785f8c3991e288f7ebfc31162545ea8937437a5ee56ddd45f5fc9b7e770828d1f7232e4ae7cf0445826da33c968d0a98fefe9eb2011e5342054d32292dd
7
- data.tar.gz: 448be91ef6a0d21ef9d56b32f5647b54a85bbd54e654e8b8f3702ae6a3fee3be385499abb4dd0f1cca6f955ecac8bd246381d4ba5a04e3966a127af0ee797393
6
+ metadata.gz: b26137c1ce511eef117cc6f95ddd1984f16e203f95aa4fd0b04fa075a47f5dcafdef3e6b61158f65d41f07d771be706bc219dab5bdbf418a6f65e3243cdfe09d
7
+ data.tar.gz: aa42589ba1e0bc2fd321406277561efa429c9bea72c651225753a67a81b0b22576477be386fc146f7b6b1cc8c80d3c7a05ad96c1149d40b6408f2897bb3befb6
data/.yardoc/checksums CHANGED
@@ -14,12 +14,12 @@ lib/doing/prompt.rb df41a7e4328cc38b5c170af3de6ef2b0bf1fcc49
14
14
  lib/doing/string.rb 8f6d1f8ba765bedf72f1af23be3617ce03aebb03
15
15
  lib/doing/symbol.rb f18605aac49be688c9641de9564e48055a0f3757
16
16
  lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
17
- lib/doing/version.rb 523d519cce7e8211cb69aef8f516cd5023aeb6ee
17
+ lib/doing/version.rb 6c040521331849e2344941c3af7c61b4908eaa83
18
18
  lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
19
19
  lib/doing/completion.rb 3b291eb38e651ea993d04db592a5e743057626e6
20
20
  lib/doing/log_adapter.rb 9f2060c4f4c77b4facd94fc63aa9304c091c34d4
21
- lib/doing/util_backup.rb 3c206b96327d345ead2ea51e399180c590812490
22
- lib/doing/configuration.rb 5c38d6b99f4ab2ae67462886e0459217f8fc8ea7
21
+ lib/doing/util_backup.rb 458352e8442c47a0d2f023b371b4ea1aea6cce96
22
+ lib/doing/configuration.rb b00ede3bfc4a6e16a957fabf2b03114e0008e42d
23
23
  lib/doing/phrase_parser.rb 8f1789d7cf8326d8cc231b4a21505a93f8de20d2
24
24
  lib/doing/plugin_manager.rb cb16a82c3182ef7008359670ab96ff6b39270ccc
25
25
  lib/doing/string_chronify.rb ccbb08389d2139c7121203f8585864e3026d1526
Binary file
data/CHANGELOG.md CHANGED
@@ -1,23 +1,26 @@
1
- ### 2.1.6pre
2
-
3
- #### NEW
4
-
5
- - Hidden command `doing commands_accepting` which shows all commands that accept a given option, e.g. `doing commands_accepting search` shows all commands that take a search filter
6
-
7
- #### IMPROVED
8
-
9
- - The output of `doing template --list` now shows the file type of each template
10
- - Output templates can now be saved to a default location/filename using `doing template html --save`
11
-
12
- ### 2.1.5pre
1
+ ### 2.1.6
13
2
 
14
3
  #### NEW
15
4
 
5
+ - `doing redo` undoes a redo
6
+ - `doing undo -i` offers a list of available versions for selection
7
+ - Multiple undo. Every time a command modifies the doing file, a backup is written. Running `doing undo` repeatedly steps back through history, `doing undo 5` jumps back 5 versions
8
+ - When resetting via `doing select`, prompt for a date string
9
+ - `doing reset` accepts a date string argument to use as start date instead of current time if provided
10
+ - `doing tags` lists tags used in any/all sections, sortable, with or without frequency counts
11
+ - `doing show --menu` offers an interactive menu for selecting section and tag filters
12
+ - All commands that accept a `--tag` filter can now handle wildcards in the tag names. * to match any number of characters, ? to match a single character.
13
+ - New boolean type for tag searches, PATTERN (which is now the default). Combine tags using symbols to create more complex boolean searches, e.g. "doing +coding -work"
14
+ - You can now define `date_tags` in config, an array of tags/patterns that will be recognized when parsing for natural language dates which are converted when saving new entries
15
+ - `--search` strings can contain quoted phrases and use +/- to require or ban terms, e.g. `--search 'doing +coding -writing'
16
16
  - Interactive option for redo command
17
17
  - Plugins for Day One export
18
18
 
19
19
  #### IMPROVED
20
20
 
21
+ - Better diff output for fzf preview of `doing undo` history
22
+ - Fall back to good ol' sed for colorizing diffs when no good tool is available
23
+ - `doing redo` (a.k.a. `doing undo --redo`) can be run multiple times, stepping forward through undo history. Can also take a count to jump
21
24
  - Matching algorithm can be configured in settings
22
25
  - All template placeholders can now use the "printf" formatting that %title and %note have, allowing for padding, prefixes, etc.
23
26
  - Move default locations for doing file and backups to ~/.local/share/doing
@@ -26,26 +29,12 @@
26
29
 
27
30
  #### FIXED
28
31
 
32
+ - `doing reset` without filter not automatically affecting most recent entry
33
+ - `config set` now preserves value type (string, array, mapping) of previous value, coercing new value if needed
29
34
  - Preserve colors when wrapping text to new lines
30
35
  - Tag highlighting errors
31
36
  - Template options specified in views were being overriden by options in templates. View config now has precedence, but will fall back to template config for missing keys
32
37
 
33
- ### 2.1.4pre
34
-
35
- #### NEW
36
-
37
- - `doing redo` undoes a redo
38
- - `doing undo -i` offers a list of available versions for selection
39
- - Multiple undo. Every time a command modifies the doing file, a backup is written. Running `doing undo` repeatedly steps back through history, `doing undo 5` jumps back 5 versions
40
- - When resetting via `doing select`, prompt for a date string
41
- - `doing reset` accepts a date string argument to use as start date instead of current time if provided
42
- - `doing tags` lists tags used in any/all sections, sortable, with or without frequency counts
43
- - `doing show --menu` offers an interactive menu for selecting section and tag filters
44
- - All commands that accept a `--tag` filter can now handle wildcards in the tag names. * to match any number of characters, ? to match a single character.
45
- - New boolean type for tag searches, PATTERN (which is now the default). Combine tags using symbols to create more complex boolean searches, e.g. "doing +coding -work"
46
- - You can now define `date_tags` in config, an array of tags/patterns that will be recognized when parsing for natural language dates which are converted when saving new entries
47
- - `--search` strings can contain quoted phrases and use +/- to require or ban terms, e.g. `--search 'doing +coding -writing'
48
-
49
38
  #### IMPROVED
50
39
 
51
40
  - Better diff output for fzf preview of `doing undo` history
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.6pre)
4
+ doing (2.1.6)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  deep_merge (~> 1.2, >= 1.2.1)
7
7
  gli (~> 2.19, >= 2.19.2)
data/docs/doc/Array.html CHANGED
@@ -540,7 +540,7 @@ with</p>
540
540
  </div>
541
541
 
542
542
  <div id="footer">
543
- Generated on Mon Dec 20 15:39:46 2021 by
543
+ Generated on Mon Dec 20 15:47:11 2021 by
544
544
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
545
545
  0.9.26 (ruby-3.0.1).
546
546
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Mon Dec 20 15:39:46 2021 by
286
+ Generated on Mon Dec 20 15:47:11 2021 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.26 (ruby-3.0.1).
289
289
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Mon Dec 20 15:39:46 2021 by
165
+ Generated on Mon Dec 20 15:47:11 2021 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.26 (ruby-3.0.1).
168
168
  </div>
@@ -407,7 +407,7 @@
407
407
  </div>
408
408
 
409
409
  <div id="footer">
410
- Generated on Mon Dec 20 15:39:46 2021 by
410
+ Generated on Mon Dec 20 15:47:11 2021 by
411
411
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
412
412
  0.9.26 (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 Mon Dec 20 15:39:46 2021 by
128
+ Generated on Mon Dec 20 15:47:11 2021 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.26 (ruby-3.0.1).
131
131
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Mon Dec 20 15:39:46 2021 by
117
+ Generated on Mon Dec 20 15:47:11 2021 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.26 (ruby-3.0.1).
120
120
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Dec 20 15:39:45 2021 by
108
+ Generated on Mon Dec 20 15:47:11 2021 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.26 (ruby-3.0.1).
111
111
  </div>
@@ -508,7 +508,7 @@ ANSI-sequences are stripped from the string.</p>
508
508
  </div>
509
509
 
510
510
  <div id="footer">
511
- Generated on Mon Dec 20 15:39:45 2021 by
511
+ Generated on Mon Dec 20 15:47:11 2021 by
512
512
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
513
513
  0.9.26 (ruby-3.0.1).
514
514
  </div>
@@ -206,7 +206,7 @@ stdout</p>
206
206
  </div>
207
207
 
208
208
  <div id="footer">
209
- Generated on Mon Dec 20 15:39:45 2021 by
209
+ Generated on Mon Dec 20 15:47:11 2021 by
210
210
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
211
211
  0.9.26 (ruby-3.0.1).
212
212
  </div>
@@ -143,6 +143,7 @@
143
143
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>doing_file</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>~/.local/share/doing/what_was_i_doing.md</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
144
144
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backup_dir</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>~/.local/share/doing/doing_backup</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
145
145
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>current_section</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Currently</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
146
+ <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>history_size</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='int'>15</span><span class='comma'>,</span>
146
147
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>paginate</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='kw'>false</span><span class='comma'>,</span>
147
148
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>never_time</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
148
149
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>never_finish</span><span class='tstring_end'>&#39;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
@@ -1100,7 +1101,7 @@ matched, first match wins)</p>
1100
1101
  </div>
1101
1102
 
1102
1103
  <div id="footer">
1103
- Generated on Mon Dec 20 15:39:46 2021 by
1104
+ Generated on Mon Dec 20 15:47:11 2021 by
1104
1105
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1105
1106
  0.9.26 (ruby-3.0.1).
1106
1107
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Mon Dec 20 15:39:46 2021 by
241
+ Generated on Mon Dec 20 15:47:11 2021 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.9.26 (ruby-3.0.1).
244
244
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Dec 20 15:39:46 2021 by
179
+ Generated on Mon Dec 20 15:47:11 2021 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.26 (ruby-3.0.1).
182
182
  </div>
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
 
183
183
  <div id="footer">
184
- Generated on Mon Dec 20 15:39:45 2021 by
184
+ Generated on Mon Dec 20 15:47:11 2021 by
185
185
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
186
186
  0.9.26 (ruby-3.0.1).
187
187
  </div>
@@ -354,7 +354,7 @@
354
354
  </div>
355
355
 
356
356
  <div id="footer">
357
- Generated on Mon Dec 20 15:39:45 2021 by
357
+ Generated on Mon Dec 20 15:47:11 2021 by
358
358
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
359
359
  0.9.26 (ruby-3.0.1).
360
360
  </div>
@@ -1754,7 +1754,7 @@ type (:sensitive,
1754
1754
  </div>
1755
1755
 
1756
1756
  <div id="footer">
1757
- Generated on Mon Dec 20 15:39:46 2021 by
1757
+ Generated on Mon Dec 20 15:47:11 2021 by
1758
1758
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1759
1759
  0.9.26 (ruby-3.0.1).
1760
1760
  </div>
@@ -826,7 +826,7 @@ specified section</p>
826
826
  </div>
827
827
 
828
828
  <div id="footer">
829
- Generated on Mon Dec 20 15:39:46 2021 by
829
+ Generated on Mon Dec 20 15:47:11 2021 by
830
830
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
831
831
  0.9.26 (ruby-3.0.1).
832
832
  </div>
@@ -1797,7 +1797,7 @@ message (optional)</p>
1797
1797
  </div>
1798
1798
 
1799
1799
  <div id="footer">
1800
- Generated on Mon Dec 20 15:39:46 2021 by
1800
+ Generated on Mon Dec 20 15:47:11 2021 by
1801
1801
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1802
1802
  0.9.26 (ruby-3.0.1).
1803
1803
  </div>
@@ -627,7 +627,7 @@ content</p>
627
627
  </div>
628
628
 
629
629
  <div id="footer">
630
- Generated on Mon Dec 20 15:39:46 2021 by
630
+ Generated on Mon Dec 20 15:47:11 2021 by
631
631
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
632
632
  0.9.26 (ruby-3.0.1).
633
633
  </div>
@@ -296,7 +296,7 @@ STDOUT</p>
296
296
  </div>
297
297
 
298
298
  <div id="footer">
299
- Generated on Mon Dec 20 15:39:45 2021 by
299
+ Generated on Mon Dec 20 15:47:11 2021 by
300
300
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
301
301
  0.9.26 (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 Mon Dec 20 15:39:45 2021 by
1238
+ Generated on Mon Dec 20 15:47:11 2021 by
1239
1239
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1240
1240
  0.9.26 (ruby-3.0.1).
1241
1241
  </div>
@@ -716,7 +716,7 @@ response if no input</p>
716
716
  </div>
717
717
 
718
718
  <div id="footer">
719
- Generated on Mon Dec 20 15:39:45 2021 by
719
+ Generated on Mon Dec 20 15:47:11 2021 by
720
720
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
721
721
  0.9.26 (ruby-3.0.1).
722
722
  </div>
@@ -344,7 +344,7 @@
344
344
  </div>
345
345
 
346
346
  <div id="footer">
347
- Generated on Mon Dec 20 15:39:46 2021 by
347
+ Generated on Mon Dec 20 15:47:11 2021 by
348
348
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
349
349
  0.9.26 (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 Mon Dec 20 15:39:46 2021 by
706
+ Generated on Mon Dec 20 15:47:11 2021 by
707
707
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
708
708
  0.9.26 (ruby-3.0.1).
709
709
  </div>
@@ -676,7 +676,7 @@ in a hidden directory</p>
676
676
  </div>
677
677
 
678
678
  <div id="footer">
679
- Generated on Mon Dec 20 15:39:45 2021 by
679
+ Generated on Mon Dec 20 15:47:11 2021 by
680
680
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
681
681
  0.9.26 (ruby-3.0.1).
682
682
  </div>
@@ -928,7 +928,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
928
928
  </div>
929
929
 
930
930
  <div id="footer">
931
- Generated on Mon Dec 20 15:39:45 2021 by
931
+ Generated on Mon Dec 20 15:47:11 2021 by
932
932
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
933
933
  0.9.26 (ruby-3.0.1).
934
934
  </div>
@@ -4504,7 +4504,7 @@ json, or text)</p>
4504
4504
  </div>
4505
4505
 
4506
4506
  <div id="footer">
4507
- Generated on Mon Dec 20 15:39:46 2021 by
4507
+ Generated on Mon Dec 20 15:47:11 2021 by
4508
4508
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
4509
4509
  0.9.26 (ruby-3.0.1).
4510
4510
  </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.6pre</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.6</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 Mon Dec 20 15:39:45 2021 by
138
+ Generated on Mon Dec 20 15:47:11 2021 by
139
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
140
  0.9.26 (ruby-3.0.1).
141
141
  </div>
@@ -753,7 +753,7 @@
753
753
  </div>
754
754
 
755
755
  <div id="footer">
756
- Generated on Mon Dec 20 15:39:46 2021 by
756
+ Generated on Mon Dec 20 15:47:11 2021 by
757
757
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
758
758
  0.9.26 (ruby-3.0.1).
759
759
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Dec 20 15:39:45 2021 by
108
+ Generated on Mon Dec 20 15:47:11 2021 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.26 (ruby-3.0.1).
111
111
  </div>
data/docs/doc/GLI.html CHANGED
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Dec 20 15:39:45 2021 by
108
+ Generated on Mon Dec 20 15:47:11 2021 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.26 (ruby-3.0.1).
111
111
  </div>
data/docs/doc/Hash.html CHANGED
@@ -418,7 +418,7 @@
418
418
  </div>
419
419
 
420
420
  <div id="footer">
421
- Generated on Mon Dec 20 15:39:45 2021 by
421
+ Generated on Mon Dec 20 15:47:11 2021 by
422
422
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
423
423
  0.9.26 (ruby-3.0.1).
424
424
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Mon Dec 20 15:39:46 2021 by
165
+ Generated on Mon Dec 20 15:47:11 2021 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.26 (ruby-3.0.1).
168
168
  </div>
@@ -293,7 +293,7 @@
293
293
  </div>
294
294
 
295
295
  <div id="footer">
296
- Generated on Mon Dec 20 15:39:46 2021 by
296
+ Generated on Mon Dec 20 15:47:11 2021 by
297
297
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
298
  0.9.26 (ruby-3.0.1).
299
299
  </div>
@@ -485,7 +485,7 @@
485
485
  </div>
486
486
 
487
487
  <div id="footer">
488
- Generated on Mon Dec 20 15:39:46 2021 by
488
+ Generated on Mon Dec 20 15:47:11 2021 by
489
489
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
490
490
  0.9.26 (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 Mon Dec 20 15:39:46 2021 by
129
+ Generated on Mon Dec 20 15:47:11 2021 by
130
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
131
  0.9.26 (ruby-3.0.1).
132
132
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Mon Dec 20 15:39:46 2021 by
117
+ Generated on Mon Dec 20 15:47:11 2021 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.26 (ruby-3.0.1).
120
120
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Mon Dec 20 15:39:46 2021 by
286
+ Generated on Mon Dec 20 15:47:11 2021 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.26 (ruby-3.0.1).
289
289
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Dec 20 15:39:45 2021 by
108
+ Generated on Mon Dec 20 15:47:11 2021 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.26 (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 Mon Dec 20 15:39:45 2021 by
319
+ Generated on Mon Dec 20 15:47:11 2021 by
320
320
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
321
  0.9.26 (ruby-3.0.1).
322
322
  </div>
data/docs/doc/String.html CHANGED
@@ -2790,7 +2790,7 @@ be recognized, e.g. %greensomething still finds
2790
2790
  </div>
2791
2791
 
2792
2792
  <div id="footer">
2793
- Generated on Mon Dec 20 15:39:46 2021 by
2793
+ Generated on Mon Dec 20 15:47:11 2021 by
2794
2794
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2795
2795
  0.9.26 (ruby-3.0.1).
2796
2796
  </div>
data/docs/doc/Symbol.html CHANGED
@@ -274,7 +274,7 @@
274
274
  </div>
275
275
 
276
276
  <div id="footer">
277
- Generated on Mon Dec 20 15:39:46 2021 by
277
+ Generated on Mon Dec 20 15:47:11 2021 by
278
278
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
279
279
  0.9.26 (ruby-3.0.1).
280
280
  </div>
data/docs/doc/Time.html CHANGED
@@ -240,7 +240,7 @@
240
240
  </div>
241
241
 
242
242
  <div id="footer">
243
- Generated on Mon Dec 20 15:39:46 2021 by
243
+ Generated on Mon Dec 20 15:47:11 2021 by
244
244
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
245
245
  0.9.26 (ruby-3.0.1).
246
246
  </div>
data/docs/doc/_index.html CHANGED
@@ -550,7 +550,7 @@
550
550
  </div>
551
551
 
552
552
  <div id="footer">
553
- Generated on Mon Dec 20 15:39:45 2021 by
553
+ Generated on Mon Dec 20 15:47:11 2021 by
554
554
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
555
555
  0.9.26 (ruby-3.0.1).
556
556
  </div>
@@ -123,7 +123,7 @@ download 117 %
123
123
  </div></div>
124
124
 
125
125
  <div id="footer">
126
- Generated on Mon Dec 20 15:39:45 2021 by
126
+ Generated on Mon Dec 20 15:47:11 2021 by
127
127
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
128
128
  0.9.26 (ruby-3.0.1).
129
129
  </div>
data/docs/doc/index.html CHANGED
@@ -123,7 +123,7 @@ download 117 %
123
123
  </div></div>
124
124
 
125
125
  <div id="footer">
126
- Generated on Mon Dec 20 15:39:45 2021 by
126
+ Generated on Mon Dec 20 15:47:11 2021 by
127
127
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
128
128
  0.9.26 (ruby-3.0.1).
129
129
  </div>
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Mon Dec 20 15:39:45 2021 by
105
+ Generated on Mon Dec 20 15:47:11 2021 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.26 (ruby-3.0.1).
108
108
  </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.6pre
8
+ v2.1.6
9
9
 
10
10
  === Global Options
11
11
  === --config_file arg
@@ -32,6 +32,7 @@ module Doing
32
32
  'doing_file' => '~/.local/share/doing/what_was_i_doing.md',
33
33
  'backup_dir' => '~/.local/share/doing/doing_backup',
34
34
  'current_section' => 'Currently',
35
+ 'history_size' => 15,
35
36
  'paginate' => false,
36
37
  'never_time' => [],
37
38
  'never_finish' => [],
@@ -204,7 +204,7 @@ module Doing
204
204
 
205
205
  FileUtils.cp(filename, backup_file)
206
206
 
207
- prune_backups(filename, 15)
207
+ prune_backups(filename, Doing.config.settings['history_size'].to_i)
208
208
  clear_undone(filename)
209
209
  Doing.logger.benchmark(:_write_backup, :finish)
210
210
  end
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '2.1.6pre'
2
+ VERSION = '2.1.6'
3
3
  end
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.6pre
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
@@ -666,9 +666,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
666
666
  version: '0'
667
667
  required_rubygems_version: !ruby/object:Gem::Requirement
668
668
  requirements:
669
- - - ">"
669
+ - - ">="
670
670
  - !ruby/object:Gem::Version
671
- version: 1.3.1
671
+ version: '0'
672
672
  requirements: []
673
673
  rubygems_version: 3.2.16
674
674
  signing_key: