doing 2.1.58 → 2.1.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -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/update.rb +37 -0
  7. data/bin/commands/view.rb +1 -1
  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 +6 -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 +3 -3
  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 +1 -1
  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 +65 -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 +554 -546
  115. data/docs/doc/top-level-namespace.html +1 -1
  116. data/doing.rdoc +11 -1
  117. data/lib/completion/_doing.zsh +4 -0
  118. data/lib/completion/doing.bash +11 -0
  119. data/lib/completion/doing.fish +2 -0
  120. data/lib/completion/doing.ts +14 -0
  121. data/lib/doing/colors.rb +57 -0
  122. data/lib/doing/completion/completion_string.rb +11 -0
  123. data/lib/doing/string/highlight.rb +6 -7
  124. data/lib/doing/string/query.rb +10 -0
  125. data/lib/doing/version.rb +1 -1
  126. data/lib/doing/wwid/modify.rb +0 -1
  127. data/lib/doing/wwid/timers.rb +1 -156
  128. data/lib/templates/doing.css +2 -2
  129. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7849d8a44c01636b150912f0ec06f29b1e13384ddb1676437035d89b7b541025
4
- data.tar.gz: 353fe6cfdbd5635afe2b9d905a2cf22a186027dae0bfe40b80b93957b23352b0
3
+ metadata.gz: d216704d24647230098a38635ed0787695d3445733c95b519f72a23e0df3dd1b
4
+ data.tar.gz: 42b7eb2ffed126385c421294be2d30ddb905af21e21d0da4332e472e9b9b2c3e
5
5
  SHA512:
6
- metadata.gz: 7d63c60e583e16f01fb1ae6e21540eca3c63d8e3c74640a1d8a7785fc281ca1a806072dcf71e97d819421f4eb48322a2c313684e1156dc41c45ce026ab83e60f
7
- data.tar.gz: c16ca168b77f1a3dfd36f5c5b113133dbd99e2483604c455be167108e67e77f8ecb4c4b2da6175ca268ee97c2bfeb09ea73cc21841e820e55eef2f44b5c4850c
6
+ metadata.gz: adedd8cc8be31017509e50e0d267d753d44952471ab1724e1dbe8c8c5a60e5c1d8fe0cf1dd565440b1172ab1aac34c49c3b65b0ca2310d97b65f03c536d1ea29
7
+ data.tar.gz: 02e7620e54683d0d572aee00f0176e4dd2b20121a52c49594059325a4759d8465ecf7d0144d0abef17ab0b8daba13604cfa15bd693042955e7d621282bedd44f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,48 @@
1
+ ### 2.1.62
2
+
3
+ 2022-07-01 10:02
4
+
5
+ #### IMPROVED
6
+
7
+ - Better way to insert a colored string into a another string and return the the previous color at the end of the inserted string. Whew, that was a weird way to say it.
8
+
9
+ #### FIXED
10
+
11
+ - `doing view` not respecting search.highlight config
12
+
13
+ ### 2.1.61
14
+
15
+ 2022-06-29 05:54
16
+
17
+ #### IMPROVED
18
+
19
+ - Remove @meanwhile from tag totals
20
+ - Less spacing between items in default HTML export CSS
21
+
22
+ #### FIXED
23
+
24
+ - Code duplication in timers.rb
25
+
26
+ ### 2.1.60
27
+
28
+ 2022-06-29 02:06
29
+
30
+ #### FIXED
31
+
32
+ - Failed to include update command in release
33
+
34
+ ### 2.1.59
35
+
36
+ 2022-06-29 01:59
37
+
38
+ #### NEW
39
+
40
+ - `doing update` will update doing to the latest available version
41
+
42
+ #### FIXED
43
+
44
+ - `doing done ...` wasn't autotagging the new entry
45
+
1
46
  ### 2.1.58
2
47
 
3
48
  2022-06-01 10:20
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.58)
4
+ doing (2.1.62)
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.57<!--END VER-->.
11
+ The current version of `doing` is <!--VER-->2.1.61<!--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?
@@ -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/commands/view.rb CHANGED
@@ -32,7 +32,7 @@ command :view do |c|
32
32
  c.switch [:color], negatable: true
33
33
 
34
34
  c.desc "Highlight search matches in output. Only affects command line output"
35
- c.switch %i[h hilite], default_value: false, negatable: true
35
+ c.switch %i[h hilite], default_value: Doing.settings.dig('search', 'highlight'), negatable: true
36
36
 
37
37
  c.desc 'Sort tags by (name|time)'
38
38
  c.arg_name 'KEY'
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 Wed Jun 1 10:40:46 2022 by
291
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:47 2022 by
286
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
165
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
410
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
128
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
117
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:46 2022 by
108
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:46 2022 by
309
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:46 2022 by
191
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:46 2022 by
417
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:47 2022 by
259
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
225
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
681
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
461
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:46 2022 by
340
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:46 2022 by
264
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:46 2022 by
675
+ Generated on Fri Jul 1 10:30:16 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>
@@ -112,6 +112,11 @@
112
112
 
113
113
  <dl class="constants">
114
114
 
115
+ <dt id="ESCAPE_REGEX-constant" class="">ESCAPE_REGEX =
116
+
117
+ </dt>
118
+ <dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(?&lt;=\[)(?:(?:(?:[349]|10)[0-9]|[0-9])?;?)+(?=m)</span><span class='regexp_end'>/</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
119
+
115
120
  <dt id="ATTRIBUTES-constant" class="">ATTRIBUTES =
116
121
  <div class="docstring">
117
122
  <div class="discussion">
@@ -698,7 +703,7 @@ ANSI-sequences are stripped from the string.</p>
698
703
  </div>
699
704
 
700
705
  <div id="footer">
701
- Generated on Wed Jun 1 10:40:46 2022 by
706
+ Generated on Fri Jul 1 10:30:16 2022 by
702
707
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
703
708
  0.9.27 (ruby-3.0.1).
704
709
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Wed Jun 1 10:40:47 2022 by
438
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
438
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
438
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:46 2022 by
280
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:47 2022 by
438
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:46 2022 by
543
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:46 2022 by
1222
+ Generated on Fri Jul 1 10:30:16 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 Wed Jun 1 10:40:47 2022 by
376
+ Generated on Fri Jul 1 10:30:17 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 Wed Jun 1 10:40:47 2022 by
283
+ Generated on Fri Jul 1 10:30:17 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>
@@ -196,7 +196,7 @@
196
196
  </div>
197
197
 
198
198
  <div id="footer">
199
- Generated on Wed Jun 1 10:40:47 2022 by
199
+ Generated on Fri Jul 1 10:30:17 2022 by
200
200
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
201
201
  0.9.27 (ruby-3.0.1).
202
202
  </div>
@@ -381,7 +381,7 @@
381
381
  </div>
382
382
 
383
383
  <div id="footer">
384
- Generated on Wed Jun 1 10:40:47 2022 by
384
+ Generated on Fri Jul 1 10:30:17 2022 by
385
385
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
386
386
  0.9.27 (ruby-3.0.1).
387
387
  </div>
@@ -476,7 +476,7 @@
476
476
  </div>
477
477
 
478
478
  <div id="footer">
479
- Generated on Wed Jun 1 10:40:46 2022 by
479
+ Generated on Fri Jul 1 10:30:17 2022 by
480
480
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
481
481
  0.9.27 (ruby-3.0.1).
482
482
  </div>
@@ -180,7 +180,7 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Wed Jun 1 10:40:46 2022 by
183
+ Generated on Fri Jul 1 10:30:16 2022 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.9.27 (ruby-3.0.1).
186
186
  </div>
@@ -180,7 +180,7 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Wed Jun 1 10:40:46 2022 by
183
+ Generated on Fri Jul 1 10:30:16 2022 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.9.27 (ruby-3.0.1).
186
186
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Wed Jun 1 10:40:46 2022 by
179
+ Generated on Fri Jul 1 10:30:16 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>