doing 2.1.5pre → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +5 -5
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/.yardopts +1 -1
  6. data/CHANGELOG.md +27 -12
  7. data/Gemfile.lock +1 -1
  8. data/README.md +5 -1
  9. data/bin/doing +43 -4
  10. data/docs/_config.yml +1 -0
  11. data/{doc → docs/doc}/Array.html +1 -1
  12. data/{doc → docs/doc}/BooleanTermParser/Clause.html +1 -1
  13. data/{doc → docs/doc}/BooleanTermParser/Operator.html +1 -1
  14. data/{doc → docs/doc}/BooleanTermParser/Query.html +1 -1
  15. data/{doc → docs/doc}/BooleanTermParser/QueryParser.html +1 -1
  16. data/{doc → docs/doc}/BooleanTermParser/QueryTransformer.html +1 -1
  17. data/{doc → docs/doc}/BooleanTermParser.html +1 -1
  18. data/{doc → docs/doc}/Doing/CLIFormat.html +0 -0
  19. data/{doc → docs/doc}/Doing/Color.html +1 -1
  20. data/{doc → docs/doc}/Doing/Completion.html +1 -1
  21. data/{doc → docs/doc}/Doing/Configuration.html +2 -1
  22. data/{doc → docs/doc}/Doing/Content.html +0 -0
  23. data/{doc → docs/doc}/Doing/Errors/DoingNoTraceError.html +1 -1
  24. data/{doc → docs/doc}/Doing/Errors/DoingRuntimeError.html +1 -1
  25. data/{doc → docs/doc}/Doing/Errors/DoingStandardError.html +1 -1
  26. data/{doc → docs/doc}/Doing/Errors/EmptyInput.html +1 -1
  27. data/{doc → docs/doc}/Doing/Errors/NoResults.html +1 -1
  28. data/{doc → docs/doc}/Doing/Errors/PluginException.html +1 -1
  29. data/{doc → docs/doc}/Doing/Errors/UserCancelled.html +1 -1
  30. data/{doc → docs/doc}/Doing/Errors/WrongCommand.html +1 -1
  31. data/{doc → docs/doc}/Doing/Errors.html +1 -1
  32. data/{doc → docs/doc}/Doing/Hooks.html +1 -1
  33. data/{doc → docs/doc}/Doing/Item.html +1 -1
  34. data/{doc → docs/doc}/Doing/Items.html +1 -1
  35. data/{doc → docs/doc}/Doing/LogAdapter.html +1 -1
  36. data/{doc → docs/doc}/Doing/Note.html +1 -1
  37. data/{doc → docs/doc}/Doing/Pager.html +1 -1
  38. data/{doc → docs/doc}/Doing/Plugins.html +59 -3
  39. data/{doc → docs/doc}/Doing/Prompt.html +1 -1
  40. data/{doc → docs/doc}/Doing/Section.html +1 -1
  41. data/{doc → docs/doc}/Doing/TemplateString.html +1 -1
  42. data/{doc → docs/doc}/Doing/Util/Backup.html +1 -1
  43. data/{doc → docs/doc}/Doing/Util.html +1 -1
  44. data/{doc → docs/doc}/Doing/WWID.html +3 -5
  45. data/{doc → docs/doc}/Doing/WWIDFile.html +0 -0
  46. data/{doc → docs/doc}/Doing.html +2 -2
  47. data/{doc → docs/doc}/GLI/Commands/MarkdownDocumentListener.html +1 -1
  48. data/{doc → docs/doc}/GLI/Commands.html +1 -1
  49. data/{doc → docs/doc}/GLI.html +1 -1
  50. data/{doc → docs/doc}/Hash.html +1 -1
  51. data/{doc → docs/doc}/PhraseParser/Operator.html +1 -1
  52. data/{doc → docs/doc}/PhraseParser/PhraseClause.html +1 -1
  53. data/{doc → docs/doc}/PhraseParser/Query.html +1 -1
  54. data/{doc → docs/doc}/PhraseParser/QueryParser.html +1 -1
  55. data/{doc → docs/doc}/PhraseParser/QueryTransformer.html +1 -1
  56. data/{doc → docs/doc}/PhraseParser/TermClause.html +1 -1
  57. data/{doc → docs/doc}/PhraseParser.html +1 -1
  58. data/{doc → docs/doc}/Status.html +1 -1
  59. data/{doc → docs/doc}/String.html +1 -1
  60. data/{doc → docs/doc}/Symbol.html +1 -1
  61. data/{doc → docs/doc}/Time.html +1 -1
  62. data/{doc → docs/doc}/_index.html +1 -1
  63. data/{doc → docs/doc}/class_list.html +0 -0
  64. data/{doc → docs/doc}/css/common.css +0 -0
  65. data/{doc → docs/doc}/css/full_list.css +0 -0
  66. data/{doc → docs/doc}/css/style.css +0 -0
  67. data/{doc → docs/doc}/file.README.html +6 -2
  68. data/{doc → docs/doc}/file_list.html +0 -0
  69. data/{doc → docs/doc}/frames.html +0 -0
  70. data/{doc → docs/doc}/index.html +6 -2
  71. data/{doc → docs/doc}/js/app.js +0 -0
  72. data/{doc → docs/doc}/js/full_list.js +0 -0
  73. data/{doc → docs/doc}/js/jquery.js +0 -0
  74. data/{doc → docs/doc}/method_list.html +172 -164
  75. data/{doc → docs/doc}/top-level-namespace.html +1 -1
  76. data/docs/index.md +60 -0
  77. data/doing.rdoc +27 -15
  78. data/example_plugin.rb +3 -1
  79. data/lib/completion/_doing.zsh +53 -41
  80. data/lib/completion/doing.bash +17 -6
  81. data/lib/completion/doing.fish +321 -2
  82. data/lib/doing/completion/fish_completion.rb +46 -3
  83. data/lib/doing/completion/zsh_completion.rb +1 -1
  84. data/lib/doing/configuration.rb +3 -3
  85. data/lib/doing/plugin_manager.rb +27 -8
  86. data/lib/doing/plugins/export/dayone_export.rb +2 -2
  87. data/lib/doing/plugins/export/html_export.rb +2 -2
  88. data/lib/doing/plugins/export/json_export.rb +1 -0
  89. data/lib/doing/plugins/export/markdown_export.rb +1 -1
  90. data/lib/doing/util_backup.rb +1 -1
  91. data/lib/doing/version.rb +1 -1
  92. data/lib/doing/wwid.rb +11 -5
  93. data/lib/examples/plugins/say_export.rb +1 -1
  94. data/lib/examples/plugins/wiki_export/wiki_export.rb +3 -3
  95. metadata +71 -69
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bef93c8144270719ece6c22ced0a92e1119932ac6a23052cd3682361211096f3
4
- data.tar.gz: 682f2b0cdd371da6b57357237f2de5b0d76b4c628dee7ad66a6947da73181a7c
3
+ metadata.gz: 2ff9ccb3a15dfbda7ac1aab9c3cef40a4b0930d4631379591c896aeb977ab359
4
+ data.tar.gz: 2466bd65dd2997f0e479f1054622362e923316c5d4062938212c7a6079263c77
5
5
  SHA512:
6
- metadata.gz: aae2879add746cc590b97df8cf3bca47fa6cf06df7140628bba2f7b106356f3540ee1f23a406b53a6ad32cb34c02f89ac3e351da9c36e4b0c5102f1ef39c7839
7
- data.tar.gz: 8c62e0ae340b324ef143fccaf2b1514930cdfb45539a6be4e6ebb87a03d5ef2218a401a660a96882abd3ba42a0eef00b46aed03fa98da9aeb9acb6bf3791ad3a
6
+ metadata.gz: 5cb88801776c8f4fafecd57fe2a09067dc00c9dff98b16a067fe737a5d7d2b5b53bcf7d8406d385efd311be1c63e38818b0cf73997db7c0f52a0a2991f88f655
7
+ data.tar.gz: 054607526f2449881464b8afef562f947a6bdc29fabb62469f92bc49b897be400d2086842e8fc7891fd0ce1a311224e2daec095223d5f93eccdf7d46fcd73dd6
data/.yardoc/checksums CHANGED
@@ -3,7 +3,7 @@ lib/doing/item.rb fcf106fb43a1a979d5213c8ac47161d9f6d8635f
3
3
  lib/doing/note.rb bbadd9e34e6dc43a2af1110a5107f46c39d2547f
4
4
  lib/doing/time.rb 4411af636082d3abf6f6402a7d6c9038d96a9ead
5
5
  lib/doing/util.rb 33ad79455893213a0f2993edec0e158526657f09
6
- lib/doing/wwid.rb ad6f25cd249c973c112665c9966c9f8cd1cb7cb2
6
+ lib/doing/wwid.rb 4ccb92afa253a39c9f296a52b829f3aeb1693402
7
7
  lib/doing/array.rb a17004c4811d239932254f9ed94a6eb10456c8e8
8
8
  lib/doing/hooks.rb 00feacdbf24dc67951c49ca8c1ca9a568441920e
9
9
  lib/doing/items.rb 0860a0ac7269f59de994ae900c980e49359dc8d5
@@ -14,14 +14,14 @@ 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 41fd2e8d15fcf170cff33064d07bdb72cc85b500
17
+ lib/doing/version.rb 733e3fd72bd36aaa88216d08c8f2771657399042
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 f6ef67164ec2e392fee5c510ab8d11cef3bedf52
21
+ lib/doing/util_backup.rb 458352e8442c47a0d2f023b371b4ea1aea6cce96
22
+ lib/doing/configuration.rb b00ede3bfc4a6e16a957fabf2b03114e0008e42d
23
23
  lib/doing/phrase_parser.rb 8f1789d7cf8326d8cc231b4a21505a93f8de20d2
24
- lib/doing/plugin_manager.rb 7fce2b1fa8a8ba6a42dd463f64c964dd37988a87
24
+ lib/doing/plugin_manager.rb cb16a82c3182ef7008359670ab96ff6b39270ccc
25
25
  lib/doing/string_chronify.rb ccbb08389d2139c7121203f8585864e3026d1526
26
26
  lib/doing/template_string.rb 6dfb28b922059189b072e6d9fe1fcba8aad6c6fe
27
27
  lib/doing/boolean_term_parser.rb 075977892ac5c6e3435cb8877d8b8b68eb1962e3
data/.yardoc/object_types CHANGED
Binary file
Binary file
data/.yardopts CHANGED
@@ -1 +1 @@
1
- --markup-provider=redcarpet --markup=markdown --no-private --exclude=README.md lib/doing/*.rb
1
+ --output-dir docs/doc --markup-provider=redcarpet --markup=markdown --no-private --exclude=README.md lib/doing/*.rb
data/CHANGELOG.md CHANGED
@@ -1,25 +1,19 @@
1
- ### 2.1.5pre
1
+ ### 2.1.8
2
2
 
3
3
  #### NEW
4
4
 
5
- - Interactive option for redo command
6
- - Plugins for Day One export
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
7
6
 
8
7
  #### IMPROVED
9
8
 
10
- - Matching algorithm can be configured in settings
11
- - All template placeholders can now use the "printf" formatting that %title and %note have, allowing for padding, prefixes, etc.
12
- - Move default locations for doing file and backups to ~/.local/share/doing
13
- - `doing show --menu` will only offer tags that exist after any tag/search filters have been run
14
- - `doing show @tag` with `--menu` will first filter by the @tag, then do an OR search for tags selected from the menu
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`
15
11
 
16
12
  #### FIXED
17
13
 
18
- - Preserve colors when wrapping text to new lines
19
- - Tag highlighting errors
20
- - 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
14
+ - Error running `doing recent` on certain older ruby versions
21
15
 
22
- ### 2.1.4pre
16
+ ### 2.1.6
23
17
 
24
18
  #### NEW
25
19
 
@@ -34,6 +28,27 @@
34
28
  - 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"
35
29
  - 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
36
30
  - `--search` strings can contain quoted phrases and use +/- to require or ban terms, e.g. `--search 'doing +coding -writing'
31
+ - Interactive option for redo command
32
+ - Plugins for Day One export
33
+
34
+ #### IMPROVED
35
+
36
+ - Better diff output for fzf preview of `doing undo` history
37
+ - Fall back to good ol' sed for colorizing diffs when no good tool is available
38
+ - `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
39
+ - Matching algorithm can be configured in settings
40
+ - All template placeholders can now use the "printf" formatting that %title and %note have, allowing for padding, prefixes, etc.
41
+ - Move default locations for doing file and backups to ~/.local/share/doing
42
+ - `doing show --menu` will only offer tags that exist after any tag/search filters have been run
43
+ - `doing show @tag` with `--menu` will first filter by the @tag, then do an OR search for tags selected from the menu
44
+
45
+ #### FIXED
46
+
47
+ - `doing reset` without filter not automatically affecting most recent entry
48
+ - `config set` now preserves value type (string, array, mapping) of previous value, coercing new value if needed
49
+ - Preserve colors when wrapping text to new lines
50
+ - Tag highlighting errors
51
+ - 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
37
52
 
38
53
  #### IMPROVED
39
54
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.5pre)
4
+ doing (2.1.8)
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/README.md CHANGED
@@ -6,10 +6,14 @@ _If you're one of the rare people like me who find this useful, feel free to [bu
6
6
 
7
7
  <!--README-->
8
8
 
9
- The current version of `doing` is <!--VER-->2.1.4<!--END VER-->.
9
+ The current version of `doing` is <!--VER-->2.1.5<!--END VER-->.
10
10
 
11
11
  Find all of the documentation in the [doing wiki](https://github.com/ttscoff/doing/wiki).
12
12
 
13
+ See [what's new in Doing 2.0](https://brettterpstra.com/2021/11/20/doing-2-dot-0/).
14
+
15
+ Check out some craziness with Doing in the [iTerm status bar](https://brettterpstra.com/2021/10/15/see-what-youre-doing-in-the-iterm-status-bar/) and the [Mac Touch Bar/menu bar](https://brettterpstra.com/2021/07/21/crazy-bettertouchtool-touch-bar-simulator/).
16
+
13
17
  ## What and why
14
18
 
15
19
  `doing` is a basic CLI for adding and listing "what was I doing" reminders in a [TaskPaper-formatted](https://www.taskpaper.com) text file. It allows for multiple sections/categories and flexible output formatting.
data/bin/doing CHANGED
@@ -508,6 +508,13 @@ command :template do |c|
508
508
  c.desc 'List in single column for completion'
509
509
  c.switch %i[c column]
510
510
 
511
+ c.desc 'Save template to file instead of STDOUT'
512
+ c.switch %i[s save], default_value: false, negatable: false
513
+
514
+ c.desc 'Save template to alternate location'
515
+ c.arg_name 'DIRECTORY'
516
+ c.flag %i[p path], default_value: File.join(Doing::Util.user_home, '.config', 'doing', 'templates')
517
+
511
518
  c.action do |_global_options, options, args|
512
519
  if options[:list] || options[:column]
513
520
  if options[:column]
@@ -520,13 +527,19 @@ command :template do |c|
520
527
 
521
528
  if args.empty?
522
529
  type = Doing::Prompt.choose_from(Doing::Plugins.plugin_templates, sorted: false, prompt: 'Select template type > ')
530
+ type.sub!(/ \(.*?\)$/, '').strip!
531
+ options[:save] = Doing::Prompt.yn("Save to #{options[:path]}? (No outputs to STDOUT)", default_response: false)
523
532
  else
524
533
  type = args[0]
525
534
  end
526
535
 
527
536
  raise InvalidPluginType, "No type specified, use `doing template [#{Doing::Plugins.plugin_templates.join('|')}]`" unless type
528
537
 
529
- $stdout.puts Doing::Plugins.template_for_trigger(type)
538
+ if options[:save]
539
+ Doing::Plugins.template_for_trigger(type, save_to: options[:path])
540
+ else
541
+ $stdout.puts Doing::Plugins.template_for_trigger(type, save_to: nil)
542
+ end
530
543
 
531
544
  # case args[0]
532
545
  # when /html|haml/i
@@ -716,7 +729,7 @@ command :later do |c|
716
729
  end
717
730
 
718
731
  desc 'Add a completed item with @done(date). No argument finishes last entry.'
719
- desc 'Use this command to add an entry after you\'ve already finished it. It will be immediately marked as @done.
732
+ long_desc 'Use this command to add an entry after you\'ve already finished it. It will be immediately marked as @done.
720
733
  You can modify the start and end times of the entry using the --back, --took, and --at flags, making it an easy
721
734
  way to add entries in post and maintain accurate (albeit manual) time tracking.'
722
735
  arg_name 'ENTRY'
@@ -2149,7 +2162,7 @@ command :since do |c|
2149
2162
  end
2150
2163
 
2151
2164
  desc 'List entries from yesterday'
2152
- desc 'Show only entries with start times within the previous 24 hour period. Use --before, --after, and --from to limit to
2165
+ long_desc 'Show only entries with start times within the previous 24 hour period. Use --before, --after, and --from to limit to
2153
2166
  time spans within the day.'
2154
2167
  command :yesterday do |c|
2155
2168
  c.example 'doing yesterday', desc: 'List all entries from the previous day'
@@ -2381,7 +2394,7 @@ command :plugins do |c|
2381
2394
  end
2382
2395
 
2383
2396
  desc 'Generate shell completion scripts'
2384
- desc 'Generates the necessary scripts to add command line completion to various shells, so typing \'doing\' and hitting
2397
+ long_desc 'Generates the necessary scripts to add command line completion to various shells, so typing \'doing\' and hitting
2385
2398
  tab will offer completions of subcommands and their options.'
2386
2399
  command :completion do |c|
2387
2400
  c.example 'doing completion', desc: 'Output zsh (default) to STDOUT'
@@ -3177,6 +3190,32 @@ command %i[changelog changes] do |c|
3177
3190
  end
3178
3191
  end
3179
3192
 
3193
+ arg_name 'OPTION'
3194
+ command :commands_accepting do |c|
3195
+ c.desc 'Output in single column for completion'
3196
+ c.switch %i[c column]
3197
+
3198
+ c.action do |g, o, a|
3199
+ a.each do |option|
3200
+ cmds = []
3201
+ commands.each do |cmd, v|
3202
+ v.flags.merge(v.switches).each do |n, flag|
3203
+ if flag.name == option.to_sym || flag.aliases&.include?(option.to_sym)
3204
+ cmds.push(cmd)
3205
+ end
3206
+ end
3207
+ end
3208
+
3209
+ if o[:column]
3210
+ puts cmds
3211
+ else
3212
+ puts "Commands accepting --#{option}: #{cmds.join(', ')}"
3213
+ end
3214
+ end
3215
+ end
3216
+ end
3217
+
3218
+
3180
3219
  desc 'Import entries from an external source'
3181
3220
  long_desc "Imports entries from other sources. Available plugins: #{Doing::Plugins.plugin_names(type: :import, separator: ', ')}"
3182
3221
  arg_name 'PATH'
data/docs/_config.yml ADDED
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-slate
@@ -540,7 +540,7 @@ with</p>
540
540
  </div>
541
541
 
542
542
  <div id="footer">
543
- Generated on Sun Dec 19 12:35:33 2021 by
543
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:33 2021 by
286
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
165
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
410
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
128
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
117
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:32 2021 by
108
+ Generated on Mon Dec 20 16:24:43 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>
File without changes
@@ -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 Sun Dec 19 12:35:32 2021 by
511
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:32 2021 by
209
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:33 2021 by
1104
+ Generated on Mon Dec 20 16:24:44 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>
File without changes
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
241
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
179
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:32 2021 by
184
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:32 2021 by
357
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:33 2021 by
1757
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:33 2021 by
829
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
1800
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
630
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:32 2021 by
299
+ Generated on Mon Dec 20 16:24:43 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>
@@ -317,7 +317,29 @@
317
317
  <li class="public ">
318
318
  <span class="summary_signature">
319
319
 
320
- <a href="#template_for_trigger-class_method" title="template_for_trigger (class method)">.<strong>template_for_trigger</strong>(trigger, type: :export) &#x21d2; String </a>
320
+ <a href="#save_template-class_method" title="save_template (class method)">.<strong>save_template</strong>(tpl, dir, filename) &#x21d2; Object </a>
321
+
322
+
323
+
324
+ </span>
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+ <span class="summary_desc"><div class='inline'></div></span>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="public ">
340
+ <span class="summary_signature">
341
+
342
+ <a href="#template_for_trigger-class_method" title="template_for_trigger (class method)">.<strong>template_for_trigger</strong>(trigger, type: :export, save_to: nil) &#x21d2; String </a>
321
343
 
322
344
 
323
345
 
@@ -918,13 +940,47 @@ plugin (can be an array of names)</p>
918
940
 
919
941
  </ul>
920
942
 
943
+ </div>
944
+ </div>
945
+
946
+ <div class="method_details ">
947
+ <h3 class="signature " id="save_template-class_method">
948
+
949
+ .<strong>save_template</strong>(tpl, dir, filename) &#x21d2; <tt>Object</tt>
950
+
951
+
952
+
953
+
954
+
955
+ </h3><div class="docstring">
956
+ <div class="discussion">
957
+
958
+
959
+ </div>
960
+ </div>
961
+ <div class="tags">
962
+
963
+ <p class="tag_title">Raises:</p>
964
+ <ul class="raise">
965
+
966
+ <li>
967
+
968
+
969
+ <span class='type'>(<tt>DoingRuntimeError</tt>)</span>
970
+
971
+
972
+
973
+ </li>
974
+
975
+ </ul>
976
+
921
977
  </div>
922
978
  </div>
923
979
 
924
980
  <div class="method_details ">
925
981
  <h3 class="signature " id="template_for_trigger-class_method">
926
982
 
927
- .<strong>template_for_trigger</strong>(trigger, type: :export) &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
983
+ .<strong>template_for_trigger</strong>(trigger, type: :export, save_to: nil) &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
928
984
 
929
985
 
930
986
 
@@ -1179,7 +1235,7 @@ e.g. :imp =&gt; :import</p>
1179
1235
  </div>
1180
1236
 
1181
1237
  <div id="footer">
1182
- Generated on Sun Dec 19 12:35:32 2021 by
1238
+ Generated on Mon Dec 20 16:24:43 2021 by
1183
1239
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1184
1240
  0.9.26 (ruby-3.0.1).
1185
1241
  </div>
@@ -716,7 +716,7 @@ response if no input</p>
716
716
  </div>
717
717
 
718
718
  <div id="footer">
719
- Generated on Sun Dec 19 12:35:32 2021 by
719
+ Generated on Mon Dec 20 16:24:43 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 Sun Dec 19 12:35:33 2021 by
347
+ Generated on Mon Dec 20 16:24:44 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 Sun Dec 19 12:35:33 2021 by
706
+ Generated on Mon Dec 20 16:24:44 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>