doing 2.1.56 → 2.1.60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +1 -1
  5. data/bin/commands/done.rb +13 -4
  6. data/bin/commands/show.rb +13 -4
  7. data/bin/commands/update.rb +37 -0
  8. data/bin/doing +1 -1
  9. data/docs/doc/Array.html +1 -1
  10. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  11. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  12. data/docs/doc/BooleanTermParser/Query.html +1 -1
  13. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  14. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  15. data/docs/doc/BooleanTermParser.html +1 -1
  16. data/docs/doc/Doing/ArrayCleanup.html +1 -1
  17. data/docs/doc/Doing/ArrayNestedHash.html +1 -1
  18. data/docs/doc/Doing/ArrayTags.html +1 -1
  19. data/docs/doc/Doing/CSVExport.html +1 -1
  20. data/docs/doc/Doing/CalendarImport.html +1 -1
  21. data/docs/doc/Doing/Change.html +1 -1
  22. data/docs/doc/Doing/Changes.html +1 -1
  23. data/docs/doc/Doing/ChronifyArray.html +1 -1
  24. data/docs/doc/Doing/ChronifyNumeric.html +1 -1
  25. data/docs/doc/Doing/ChronifyString.html +1 -1
  26. data/docs/doc/Doing/Color.html +35 -1
  27. data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
  28. data/docs/doc/Doing/Completion/FigCompletions.html +1 -1
  29. data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
  30. data/docs/doc/Doing/Completion/StringUtils.html +65 -7
  31. data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
  32. data/docs/doc/Doing/Completion.html +1 -1
  33. data/docs/doc/Doing/Configuration.html +1 -1
  34. data/docs/doc/Doing/DayOneRenderer.html +1 -1
  35. data/docs/doc/Doing/DayoneExport.html +1 -1
  36. data/docs/doc/Doing/DoingExport.html +1 -1
  37. data/docs/doc/Doing/DoingImport.html +1 -1
  38. data/docs/doc/Doing/Entry.html +1 -1
  39. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  40. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  41. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  42. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  43. data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
  44. data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
  45. data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
  46. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  47. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  48. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  49. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  50. data/docs/doc/Doing/Errors.html +1 -1
  51. data/docs/doc/Doing/HTMLExport.html +1 -1
  52. data/docs/doc/Doing/Hooks.html +1 -1
  53. data/docs/doc/Doing/Item.html +2 -2
  54. data/docs/doc/Doing/ItemDates.html +1 -1
  55. data/docs/doc/Doing/ItemQuery.html +1 -1
  56. data/docs/doc/Doing/ItemState.html +1 -1
  57. data/docs/doc/Doing/ItemTags.html +1 -1
  58. data/docs/doc/Doing/Items.html +1 -1
  59. data/docs/doc/Doing/JSONExport.html +1 -1
  60. data/docs/doc/Doing/JSONImport.html +1 -1
  61. data/docs/doc/Doing/Logger.html +1 -1
  62. data/docs/doc/Doing/MarkdownExport.html +1 -1
  63. data/docs/doc/Doing/Note.html +1 -1
  64. data/docs/doc/Doing/Pager.html +1 -1
  65. data/docs/doc/Doing/Plugins.html +1 -1
  66. data/docs/doc/Doing/Prompt.html +2 -2
  67. data/docs/doc/Doing/PromptChoose.html +1 -1
  68. data/docs/doc/Doing/PromptFZF.html +1 -1
  69. data/docs/doc/Doing/PromptInput.html +1 -1
  70. data/docs/doc/Doing/PromptSTD.html +1 -1
  71. data/docs/doc/Doing/PromptYN.html +1 -1
  72. data/docs/doc/Doing/Section.html +1 -1
  73. data/docs/doc/Doing/StringHighlight.html +1 -1
  74. data/docs/doc/Doing/StringNormalize.html +1 -1
  75. data/docs/doc/Doing/StringQuery.html +61 -5
  76. data/docs/doc/Doing/StringTags.html +1 -1
  77. data/docs/doc/Doing/StringTransform.html +1 -1
  78. data/docs/doc/Doing/StringTruncate.html +1 -1
  79. data/docs/doc/Doing/StringURL.html +1 -1
  80. data/docs/doc/Doing/SymbolNormalize.html +1 -1
  81. data/docs/doc/Doing/TaskPaperExport.html +1 -1
  82. data/docs/doc/Doing/TemplateExport.html +2 -2
  83. data/docs/doc/Doing/TemplateString.html +2 -2
  84. data/docs/doc/Doing/TimingImport.html +1 -1
  85. data/docs/doc/Doing/Types.html +1 -1
  86. data/docs/doc/Doing/Util/Backup.html +1 -1
  87. data/docs/doc/Doing/Util.html +1 -1
  88. data/docs/doc/Doing/Version.html +1 -1
  89. data/docs/doc/Doing/WWID.html +2 -2
  90. data/docs/doc/Doing.html +2 -2
  91. data/docs/doc/FalseClass.html +1 -1
  92. data/docs/doc/GLI/Commands/Help.html +1 -1
  93. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  94. data/docs/doc/GLI/Commands.html +1 -1
  95. data/docs/doc/GLI.html +1 -1
  96. data/docs/doc/Hash.html +34 -5
  97. data/docs/doc/Numeric.html +1 -1
  98. data/docs/doc/Object.html +1 -1
  99. data/docs/doc/PhraseParser/Operator.html +1 -1
  100. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  101. data/docs/doc/PhraseParser/Query.html +1 -1
  102. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  103. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  104. data/docs/doc/PhraseParser/TermClause.html +1 -1
  105. data/docs/doc/PhraseParser.html +1 -1
  106. data/docs/doc/Status.html +1 -1
  107. data/docs/doc/String.html +2 -2
  108. data/docs/doc/Symbol.html +1 -1
  109. data/docs/doc/Time.html +1 -1
  110. data/docs/doc/TrueClass.html +1 -1
  111. data/docs/doc/_index.html +1 -1
  112. data/docs/doc/file.README.html +2 -2
  113. data/docs/doc/index.html +2 -2
  114. data/docs/doc/method_list.html +364 -356
  115. data/docs/doc/top-level-namespace.html +1 -1
  116. data/doing.rdoc +23 -6
  117. data/lib/completion/_doing.zsh +5 -1
  118. data/lib/completion/doing.bash +13 -2
  119. data/lib/completion/doing.fish +5 -2
  120. data/lib/completion/doing.ts +28 -4
  121. data/lib/doing/colors.rb +14 -1
  122. data/lib/doing/completion/completion_string.rb +11 -0
  123. data/lib/doing/hash.rb +6 -0
  124. data/lib/doing/logger.rb +3 -4
  125. data/lib/doing/plugins/export/markdown_export.rb +3 -1
  126. data/lib/doing/string/query.rb +10 -0
  127. data/lib/doing/template_string.rb +3 -2
  128. data/lib/doing/version.rb +1 -1
  129. data/lib/doing/wwid/modify.rb +1 -1
  130. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df6c8c621e1d1dccec006b933d77b07af18b79b4f01521e741de6e14c79836ad
4
- data.tar.gz: acdf8b3895966b0aaa7c5cc821f8dbae5fccd4599bc92e61b914e1d7fdc90c6b
3
+ metadata.gz: 5b9a221731c7674fce1eb67f778aab580ba4ca6a294005285347ea3c1f7d070c
4
+ data.tar.gz: 06d1481f9472fee624fac0d115fba26a30143022eb1a3e36fdde55b998c73431
5
5
  SHA512:
6
- metadata.gz: f3f510cf82cd90860704e7dd616dd51414d161f0a0f5bbbf2d05d3be4e8cae2478e0eb93a17b5fbbb454c4853ab82c6f22caf73a64d0874cf445afad297ae483
7
- data.tar.gz: 46b5884032d2abd51ce867ab8edcdf163c8ee731a55eb23432b8d573da67ffa5d539f55f84c96ae28786e098739e3d965c3e4edd4918af155aae9eb8f26da686
6
+ metadata.gz: 0c9525906e85f89bfbd43cdb1fce4eb75434d7ad18715c78aaa07dce581370497f2546d86f073c8f87d3c8a25dab0c3b1d04f46d427276968f4ecfcebdc0f09d
7
+ data.tar.gz: a37fcdd8a4ca2fa21fbde9c78d47dcbcd19b7439f2aaafd383a9c8a7baa6dbd822cf63c44c656e22c029aad0b923265bc1c1a229a63d4bdbcfb6f63f199fa3d4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,44 @@
1
+ ### 2.1.60
2
+
3
+ 2022-06-29 02:06
4
+
5
+ #### FIXED
6
+
7
+ - Failed to include update command in release
8
+
9
+ ### 2.1.59
10
+
11
+ 2022-06-29 01:59
12
+
13
+ #### NEW
14
+
15
+ - `doing update` will update doing to the latest available version
16
+
17
+ #### FIXED
18
+
19
+ - `doing done ...` wasn't autotagging the new entry
20
+
21
+ ### 2.1.58
22
+
23
+ 2022-06-01 10:20
24
+
25
+ #### CHANGED
26
+
27
+ - BREAKING: The `-s` flag on `doing show` now means section instead of search. Use `--search` for the search flag.
28
+
29
+ #### NEW
30
+
31
+ - You can now use %#FFFFFF style hex strings to set colors in templates. Use %bg#FFFFFF to set a background color. Colors must be 6-digit hex codes
32
+ - `doing show --section NAME` allows limiting tag results to a section (same as running `doing show SECTION_NAME @TAG` but added for compatibility with other commands)
33
+
34
+ ### 2.1.57
35
+
36
+ 2022-05-26 11:20
37
+
38
+ #### IMPROVED
39
+
40
+ - Add `i[:finished]` as a boolean in Markdown export template (tests for @done tag and provides true/false)
41
+
1
42
  ### 2.1.56
2
43
 
3
44
  2022-05-26 10:20
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.56)
4
+ doing (2.1.60)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  deep_merge (~> 1.2, >= 1.2.1)
7
7
  gli (~> 2.20, >= 2.20.1)
@@ -40,7 +40,7 @@ GEM
40
40
  rdoc (6.3.3)
41
41
  redcarpet (3.5.1)
42
42
  rexml (3.2.5)
43
- rouge (3.28.0)
43
+ rouge (3.29.0)
44
44
  safe_yaml (1.0.5)
45
45
  strings (0.2.1)
46
46
  strings-ansi (~> 0.2)
data/README.md CHANGED
@@ -8,7 +8,7 @@ _If you're one of the rare people like me who find this useful, feel free to
8
8
 
9
9
  <!--README-->
10
10
 
11
- The current version of `doing` is <!--VER-->2.1.55<!--END VER-->.
11
+ The current version of `doing` is <!--VER-->2.1.58<!--END VER-->.
12
12
 
13
13
  Find all of the documentation in the [doing wiki][wiki].
14
14
 
data/bin/commands/done.rb CHANGED
@@ -84,16 +84,14 @@ command %i[done did] do |c|
84
84
  section = Doing.setting('current_section')
85
85
  end
86
86
 
87
-
88
87
  note = Doing::Note.new
89
88
  note.add(options[:note]) if options[:note]
90
89
 
91
- if options[:ask] && !options[:editor]
92
- note.add(Doing::Prompt.read_lines(prompt: 'Add a note'))
93
- end
90
+ note.add(Doing::Prompt.read_lines(prompt: 'Add a note')) if options[:ask] && !options[:editor]
94
91
 
95
92
  if options[:editor]
96
93
  raise MissingEditor, 'No EDITOR variable defined in environment' if Doing::Util.default_editor.nil?
94
+
97
95
  is_new = false
98
96
 
99
97
  if args.empty?
@@ -122,6 +120,11 @@ command %i[done did] do |c|
122
120
  note.add(ask_note) if ask_note.good?
123
121
  end
124
122
 
123
+ if Doing.auto_tag
124
+ title = @wwid.autotag(title)
125
+ title.add_tags!(Doing.setting('default_tags')) if Doing.setting('default_tags').good?
126
+ end
127
+
125
128
  date = d.nil? ? date : d
126
129
  new_entry = Doing::Item.new(date, title, section, note)
127
130
  if new_entry.should_finish?
@@ -171,6 +174,12 @@ command %i[done did] do |c|
171
174
  new_note.add(options[:note])
172
175
  title.chomp!
173
176
  section = 'Archive' if options[:archive]
177
+
178
+ if Doing.auto_tag
179
+ title = @wwid.autotag(title)
180
+ title.add_tags!(Doing.setting('default_tags')) if Doing.setting('default_tags').good?
181
+ end
182
+
174
183
  new_entry = Doing::Item.new(date, title, section, new_note)
175
184
 
176
185
  if new_entry.should_finish?
data/bin/commands/show.rb CHANGED
@@ -34,7 +34,11 @@ command :show do |c|
34
34
 
35
35
  c.desc 'Sort order (asc/desc)'
36
36
  c.arg_name 'ORDER'
37
- c.flag %i[s sort], must_match: REGEX_SORT_ORDER, default_value: :asc, type: OrderSymbol
37
+ c.flag %i[sort], must_match: REGEX_SORT_ORDER, default_value: :asc, type: OrderSymbol
38
+
39
+ c.desc 'Only show entries within section'
40
+ c.arg_name 'NAME'
41
+ c.flag %i[s section]
38
42
 
39
43
  c.desc 'Select section or tag to display from a menu'
40
44
  c.switch %i[m menu], negatable: false, default_value: false
@@ -69,10 +73,11 @@ command :show do |c|
69
73
 
70
74
  args.shift
71
75
  when /^[@+-]/
72
- section = 'All'
76
+ section = options[:section] ? @wwid.guess_section(options[:section]) : 'All'
73
77
  else
78
+ sect = options[:section] ? options[:section] : args[0]
74
79
  begin
75
- section = @wwid.guess_section(args[0])
80
+ section = @wwid.guess_section(sect)
76
81
  rescue WrongCommand
77
82
  cmd = commands[:view]
78
83
  action = cmd.send(:get_action, nil)
@@ -91,7 +96,11 @@ command :show do |c|
91
96
  end
92
97
  end
93
98
  else
94
- section = options[:menu] ? @wwid.choose_section(include_all: true) : Doing.setting('current_section')
99
+ if options[:section]
100
+ section = @wwid.guess_section(options[:section]) || 'All'
101
+ else
102
+ section = options[:menu] ? @wwid.choose_section(include_all: true) : Doing.setting('current_section')
103
+ end
95
104
  section ||= 'All'
96
105
  end
97
106
 
@@ -0,0 +1,37 @@
1
+ # @@update
2
+
3
+ desc 'Update doing to the latest version'
4
+ long_desc 'Checks for the latest available version of doing and updates your local install if needed.'
5
+ command %i[update] do |c|
6
+ c.example 'doing update', desc: 'Update to the latest version'
7
+
8
+ c.desc 'Check for pre-release version'
9
+ c.switch %i[p pre beta], negatable: false, default_value: false
10
+
11
+ c.action do |global_options, options, args|
12
+ my_version = `doing -v`.match(/doing version (?<v>[\d.]+)(?:\.?pre[,)])?/)['v']
13
+ if options[:beta]
14
+ latest_version = `gem search doing --pre`.match(/^doing \((?<v>[\d.]+)\.?pre[,)]/)['v']
15
+ else
16
+ latest_version = `gem search doing`.match(/^doing \((?<v>[\d.]+)\)/)['v']
17
+ end
18
+ my_version = Doing::Version.new(my_version)
19
+ latest_version = Doing::Version.new(latest_version)
20
+
21
+ outdated = my_version.compare(latest_version, :older)
22
+
23
+ if outdated
24
+ pre = options[:beta] ? '--pre' : ''
25
+ res = `gem install doing #{pre} 2> /dev/null`
26
+ res = `sudo gem install doing #{pre}` unless res
27
+ ver = res.match(/doing-(?<v>[\d.]+)\n/)['v']
28
+ if ver
29
+ Doing.logger.info("Version #{ver} installed")
30
+ else
31
+ Doing.logger.error('Error installing latest version')
32
+ end
33
+ else
34
+ Doing.logger.info("You have the latest version (#{my_version}) installed")
35
+ end
36
+ end
37
+ end
data/bin/doing CHANGED
@@ -232,7 +232,7 @@ add_commands(%w[archive import rotate])
232
232
  ## History commands
233
233
  add_commands(%w[undo redo])
234
234
  ## Hidden commands
235
- add_commands(%w[commands_accepting install_fzf])
235
+ add_commands(%w[commands_accepting install_fzf update])
236
236
  ## Optional commands
237
237
  add_commands(%w[again cancel flag meanwhile reset tags today yesterday since])
238
238
  add_commands(%w[tag_dir colors completion plugins sections template views changes])
data/docs/doc/Array.html CHANGED
@@ -288,7 +288,7 @@ has content</p>
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Thu May 26 10:22:39 2022 by
291
+ Generated on Wed Jun 29 02:09:36 2022 by
292
292
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
293
293
  0.9.27 (ruby-3.0.1).
294
294
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Thu May 26 10:22:39 2022 by
286
+ Generated on Wed Jun 29 02:09:36 2022 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.27 (ruby-3.0.1).
289
289
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Thu May 26 10:22:39 2022 by
165
+ Generated on Wed Jun 29 02:09:36 2022 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.27 (ruby-3.0.1).
168
168
  </div>
@@ -407,7 +407,7 @@
407
407
  </div>
408
408
 
409
409
  <div id="footer">
410
- Generated on Thu May 26 10:22:39 2022 by
410
+ Generated on Wed Jun 29 02:09:36 2022 by
411
411
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
412
412
  0.9.27 (ruby-3.0.1).
413
413
  </div>
@@ -125,7 +125,7 @@ parser. In order to do that, a new &quot;clause&quot; node is added to the parse
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Thu May 26 10:22:39 2022 by
128
+ Generated on Wed Jun 29 02:09:36 2022 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.27 (ruby-3.0.1).
131
131
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu May 26 10:22:39 2022 by
117
+ Generated on Wed Jun 29 02:09:36 2022 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.27 (ruby-3.0.1).
120
120
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Thu May 26 10:22:39 2022 by
108
+ Generated on Wed Jun 29 02:09:36 2022 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.27 (ruby-3.0.1).
111
111
  </div>
@@ -306,7 +306,7 @@ removes empty elements</p>
306
306
  </div>
307
307
 
308
308
  <div id="footer">
309
- Generated on Thu May 26 10:22:39 2022 by
309
+ Generated on Wed Jun 29 02:09:35 2022 by
310
310
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
311
311
  0.9.27 (ruby-3.0.1).
312
312
  </div>
@@ -188,7 +188,7 @@
188
188
  </div>
189
189
 
190
190
  <div id="footer">
191
- Generated on Thu May 26 10:22:39 2022 by
191
+ Generated on Wed Jun 29 02:09:36 2022 by
192
192
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
193
193
  0.9.27 (ruby-3.0.1).
194
194
  </div>
@@ -414,7 +414,7 @@ with</p>
414
414
  </div>
415
415
 
416
416
  <div id="footer">
417
- Generated on Thu May 26 10:22:39 2022 by
417
+ Generated on Wed Jun 29 02:09:35 2022 by
418
418
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
419
419
  0.9.27 (ruby-3.0.1).
420
420
  </div>
@@ -256,7 +256,7 @@
256
256
  </div>
257
257
 
258
258
  <div id="footer">
259
- Generated on Thu May 26 10:22:39 2022 by
259
+ Generated on Wed Jun 29 02:09:36 2022 by
260
260
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
261
261
  0.9.27 (ruby-3.0.1).
262
262
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Thu May 26 10:22:40 2022 by
225
+ Generated on Wed Jun 29 02:09:36 2022 by
226
226
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.27 (ruby-3.0.1).
228
228
  </div>
@@ -678,7 +678,7 @@
678
678
  </div>
679
679
 
680
680
  <div id="footer">
681
- Generated on Thu May 26 10:22:39 2022 by
681
+ Generated on Wed Jun 29 02:09:36 2022 by
682
682
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
683
683
  0.9.27 (ruby-3.0.1).
684
684
  </div>
@@ -458,7 +458,7 @@
458
458
  </div>
459
459
 
460
460
  <div id="footer">
461
- Generated on Thu May 26 10:22:39 2022 by
461
+ Generated on Wed Jun 29 02:09:36 2022 by
462
462
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
463
463
  0.9.27 (ruby-3.0.1).
464
464
  </div>
@@ -337,7 +337,7 @@
337
337
  </div>
338
338
 
339
339
  <div id="footer">
340
- Generated on Thu May 26 10:22:39 2022 by
340
+ Generated on Wed Jun 29 02:09:36 2022 by
341
341
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
342
342
  0.9.27 (ruby-3.0.1).
343
343
  </div>
@@ -261,7 +261,7 @@ hours into days</p>
261
261
  </div>
262
262
 
263
263
  <div id="footer">
264
- Generated on Thu May 26 10:22:39 2022 by
264
+ Generated on Wed Jun 29 02:09:36 2022 by
265
265
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
266
266
  0.9.27 (ruby-3.0.1).
267
267
  </div>
@@ -672,7 +672,7 @@ array</p>
672
672
  </div>
673
673
 
674
674
  <div id="footer">
675
- Generated on Thu May 26 10:22:39 2022 by
675
+ Generated on Wed Jun 29 02:09:36 2022 by
676
676
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
677
677
  0.9.27 (ruby-3.0.1).
678
678
  </div>
@@ -356,6 +356,28 @@ uncoloring strings.</p>
356
356
  <span class="summary_desc"><div class='inline'><p>Returns an array of all Doing::Color attributes as symbols.</p>
357
357
  </div></span>
358
358
 
359
+ </li>
360
+
361
+
362
+ <li class="public ">
363
+ <span class="summary_signature">
364
+
365
+ <a href="#rgb-instance_method" title="#rgb (instance method)">#<strong>rgb</strong>(hex) &#x21d2; Object </a>
366
+
367
+
368
+
369
+ </span>
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <span class="summary_desc"><div class='inline'></div></span>
380
+
359
381
  </li>
360
382
 
361
383
 
@@ -594,6 +616,18 @@ space.</p>
594
616
 
595
617
 
596
618
  </div>
619
+ </div>
620
+
621
+ <div class="method_details ">
622
+ <h3 class="signature " id="rgb-instance_method">
623
+
624
+ #<strong>rgb</strong>(hex) &#x21d2; <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
625
+
626
+
627
+
628
+
629
+
630
+ </h3>
597
631
  </div>
598
632
 
599
633
  <div class="method_details ">
@@ -664,7 +698,7 @@ ANSI-sequences are stripped from the string.</p>
664
698
  </div>
665
699
 
666
700
  <div id="footer">
667
- Generated on Thu May 26 10:22:39 2022 by
701
+ Generated on Wed Jun 29 02:09:35 2022 by
668
702
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
669
703
  0.9.27 (ruby-3.0.1).
670
704
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Thu May 26 10:22:39 2022 by
438
+ Generated on Wed Jun 29 02:09:36 2022 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.27 (ruby-3.0.1).
441
441
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Thu May 26 10:22:39 2022 by
438
+ Generated on Wed Jun 29 02:09:36 2022 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.27 (ruby-3.0.1).
441
441
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Thu May 26 10:22:39 2022 by
438
+ Generated on Wed Jun 29 02:09:36 2022 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.27 (ruby-3.0.1).
441
441
  </div>
@@ -120,7 +120,8 @@
120
120
 
121
121
 
122
122
 
123
- <span class="summary_desc"><div class='inline'></div></span>
123
+ <span class="summary_desc"><div class='inline'><p>Truncate string from left.</p>
124
+ </div></span>
124
125
 
125
126
  </li>
126
127
 
@@ -150,7 +151,7 @@
150
151
  <li class="public ">
151
152
  <span class="summary_signature">
152
153
 
153
- <a href="#short_desc-instance_method" title="#short_desc (instance method)">#<strong>short_desc</strong> &#x21d2; Object </a>
154
+ <a href="#short_desc-instance_method" title="#short_desc (instance method)">#<strong>short_desc</strong> &#x21d2; String </a>
154
155
 
155
156
 
156
157
 
@@ -164,7 +165,8 @@
164
165
 
165
166
 
166
167
 
167
- <span class="summary_desc"><div class='inline'></div></span>
168
+ <span class="summary_desc"><div class='inline'><p>Get short description for command completion.</p>
169
+ </div></span>
168
170
 
169
171
  </li>
170
172
 
@@ -187,7 +189,36 @@
187
189
 
188
190
 
189
191
 
190
- </h3>
192
+ </h3><div class="docstring">
193
+ <div class="discussion">
194
+ <p>Truncate string from left</p>
195
+
196
+
197
+ </div>
198
+ </div>
199
+ <div class="tags">
200
+ <p class="tag_title">Parameters:</p>
201
+ <ul class="param">
202
+
203
+ <li>
204
+
205
+ <span class='name'>max</span>
206
+
207
+
208
+ <span class='type'></span>
209
+
210
+
211
+
212
+ &mdash;
213
+ <div class='inline'><p>The maximum number of characters</p>
214
+ </div>
215
+
216
+ </li>
217
+
218
+ </ul>
219
+
220
+
221
+ </div>
191
222
  </div>
192
223
 
193
224
  <div class="method_details ">
@@ -205,13 +236,40 @@
205
236
  <div class="method_details ">
206
237
  <h3 class="signature " id="short_desc-instance_method">
207
238
 
208
- #<strong>short_desc</strong> &#x21d2; <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
239
+ #<strong>short_desc</strong> &#x21d2; <tt><span class='object_link'><a href="../../String.html" title="String (class)">String</a></span></tt>
209
240
 
210
241
 
211
242
 
212
243
 
213
244
 
214
- </h3>
245
+ </h3><div class="docstring">
246
+ <div class="discussion">
247
+ <p>Get short description for command completion</p>
248
+
249
+
250
+ </div>
251
+ </div>
252
+ <div class="tags">
253
+
254
+ <p class="tag_title">Returns:</p>
255
+ <ul class="return">
256
+
257
+ <li>
258
+
259
+
260
+ <span class='type'>(<tt><span class='object_link'><a href="../../String.html" title="String (class)">String</a></span></tt>)</span>
261
+
262
+
263
+
264
+ &mdash;
265
+ <div class='inline'><p>Short description</p>
266
+ </div>
267
+
268
+ </li>
269
+
270
+ </ul>
271
+
272
+ </div>
215
273
  </div>
216
274
 
217
275
  </div>
@@ -219,7 +277,7 @@
219
277
  </div>
220
278
 
221
279
  <div id="footer">
222
- Generated on Thu May 26 10:22:39 2022 by
280
+ Generated on Wed Jun 29 02:09:36 2022 by
223
281
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
224
282
  0.9.27 (ruby-3.0.1).
225
283
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Thu May 26 10:22:39 2022 by
438
+ Generated on Wed Jun 29 02:09:36 2022 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.27 (ruby-3.0.1).
441
441
  </div>
@@ -540,7 +540,7 @@ stdout</p>
540
540
  </div>
541
541
 
542
542
  <div id="footer">
543
- Generated on Thu May 26 10:22:39 2022 by
543
+ Generated on Wed Jun 29 02:09:35 2022 by
544
544
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
545
545
  0.9.27 (ruby-3.0.1).
546
546
  </div>
@@ -1219,7 +1219,7 @@ matched, first match wins)</p>
1219
1219
  </div>
1220
1220
 
1221
1221
  <div id="footer">
1222
- Generated on Thu May 26 10:22:39 2022 by
1222
+ Generated on Wed Jun 29 02:09:36 2022 by
1223
1223
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1224
1224
  0.9.27 (ruby-3.0.1).
1225
1225
  </div>
@@ -373,7 +373,7 @@
373
373
  </div>
374
374
 
375
375
  <div id="footer">
376
- Generated on Thu May 26 10:22:40 2022 by
376
+ Generated on Wed Jun 29 02:09:36 2022 by
377
377
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
378
378
  0.9.27 (ruby-3.0.1).
379
379
  </div>
@@ -280,7 +280,7 @@
280
280
  </div>
281
281
 
282
282
  <div id="footer">
283
- Generated on Thu May 26 10:22:40 2022 by
283
+ Generated on Wed Jun 29 02:09:36 2022 by
284
284
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
285
285
  0.9.27 (ruby-3.0.1).
286
286
  </div>