doing 2.1.58 → 2.1.60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -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/doing +1 -1
  8. data/docs/doc/Array.html +1 -1
  9. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  10. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  11. data/docs/doc/BooleanTermParser/Query.html +1 -1
  12. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  13. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  14. data/docs/doc/BooleanTermParser.html +1 -1
  15. data/docs/doc/Doing/ArrayCleanup.html +1 -1
  16. data/docs/doc/Doing/ArrayNestedHash.html +1 -1
  17. data/docs/doc/Doing/ArrayTags.html +1 -1
  18. data/docs/doc/Doing/CSVExport.html +1 -1
  19. data/docs/doc/Doing/CalendarImport.html +1 -1
  20. data/docs/doc/Doing/Change.html +1 -1
  21. data/docs/doc/Doing/Changes.html +1 -1
  22. data/docs/doc/Doing/ChronifyArray.html +1 -1
  23. data/docs/doc/Doing/ChronifyNumeric.html +1 -1
  24. data/docs/doc/Doing/ChronifyString.html +1 -1
  25. data/docs/doc/Doing/Color.html +1 -1
  26. data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
  27. data/docs/doc/Doing/Completion/FigCompletions.html +1 -1
  28. data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
  29. data/docs/doc/Doing/Completion/StringUtils.html +65 -7
  30. data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
  31. data/docs/doc/Doing/Completion.html +1 -1
  32. data/docs/doc/Doing/Configuration.html +1 -1
  33. data/docs/doc/Doing/DayOneRenderer.html +1 -1
  34. data/docs/doc/Doing/DayoneExport.html +1 -1
  35. data/docs/doc/Doing/DoingExport.html +1 -1
  36. data/docs/doc/Doing/DoingImport.html +1 -1
  37. data/docs/doc/Doing/Entry.html +1 -1
  38. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  39. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  40. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  41. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  42. data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
  43. data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
  44. data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
  45. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  46. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  47. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  48. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  49. data/docs/doc/Doing/Errors.html +1 -1
  50. data/docs/doc/Doing/HTMLExport.html +1 -1
  51. data/docs/doc/Doing/Hooks.html +1 -1
  52. data/docs/doc/Doing/Item.html +1 -1
  53. data/docs/doc/Doing/ItemDates.html +1 -1
  54. data/docs/doc/Doing/ItemQuery.html +1 -1
  55. data/docs/doc/Doing/ItemState.html +1 -1
  56. data/docs/doc/Doing/ItemTags.html +1 -1
  57. data/docs/doc/Doing/Items.html +1 -1
  58. data/docs/doc/Doing/JSONExport.html +1 -1
  59. data/docs/doc/Doing/JSONImport.html +1 -1
  60. data/docs/doc/Doing/Logger.html +1 -1
  61. data/docs/doc/Doing/MarkdownExport.html +1 -1
  62. data/docs/doc/Doing/Note.html +1 -1
  63. data/docs/doc/Doing/Pager.html +1 -1
  64. data/docs/doc/Doing/Plugins.html +1 -1
  65. data/docs/doc/Doing/Prompt.html +1 -1
  66. data/docs/doc/Doing/PromptChoose.html +1 -1
  67. data/docs/doc/Doing/PromptFZF.html +1 -1
  68. data/docs/doc/Doing/PromptInput.html +1 -1
  69. data/docs/doc/Doing/PromptSTD.html +1 -1
  70. data/docs/doc/Doing/PromptYN.html +1 -1
  71. data/docs/doc/Doing/Section.html +1 -1
  72. data/docs/doc/Doing/StringHighlight.html +1 -1
  73. data/docs/doc/Doing/StringNormalize.html +1 -1
  74. data/docs/doc/Doing/StringQuery.html +61 -5
  75. data/docs/doc/Doing/StringTags.html +1 -1
  76. data/docs/doc/Doing/StringTransform.html +1 -1
  77. data/docs/doc/Doing/StringTruncate.html +1 -1
  78. data/docs/doc/Doing/StringURL.html +1 -1
  79. data/docs/doc/Doing/SymbolNormalize.html +1 -1
  80. data/docs/doc/Doing/TaskPaperExport.html +1 -1
  81. data/docs/doc/Doing/TemplateExport.html +1 -1
  82. data/docs/doc/Doing/TemplateString.html +1 -1
  83. data/docs/doc/Doing/TimingImport.html +1 -1
  84. data/docs/doc/Doing/Types.html +1 -1
  85. data/docs/doc/Doing/Util/Backup.html +1 -1
  86. data/docs/doc/Doing/Util.html +1 -1
  87. data/docs/doc/Doing/Version.html +1 -1
  88. data/docs/doc/Doing/WWID.html +1 -1
  89. data/docs/doc/Doing.html +2 -2
  90. data/docs/doc/FalseClass.html +1 -1
  91. data/docs/doc/GLI/Commands/Help.html +1 -1
  92. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  93. data/docs/doc/GLI/Commands.html +1 -1
  94. data/docs/doc/GLI.html +1 -1
  95. data/docs/doc/Hash.html +1 -1
  96. data/docs/doc/Numeric.html +1 -1
  97. data/docs/doc/Object.html +1 -1
  98. data/docs/doc/PhraseParser/Operator.html +1 -1
  99. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  100. data/docs/doc/PhraseParser/Query.html +1 -1
  101. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  102. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  103. data/docs/doc/PhraseParser/TermClause.html +1 -1
  104. data/docs/doc/PhraseParser.html +1 -1
  105. data/docs/doc/Status.html +1 -1
  106. data/docs/doc/String.html +1 -1
  107. data/docs/doc/Symbol.html +1 -1
  108. data/docs/doc/Time.html +1 -1
  109. data/docs/doc/TrueClass.html +1 -1
  110. data/docs/doc/_index.html +1 -1
  111. data/docs/doc/file.README.html +2 -2
  112. data/docs/doc/index.html +2 -2
  113. data/docs/doc/top-level-namespace.html +1 -1
  114. data/doing.rdoc +11 -1
  115. data/lib/completion/_doing.zsh +4 -0
  116. data/lib/completion/doing.bash +11 -0
  117. data/lib/completion/doing.fish +2 -0
  118. data/lib/completion/doing.ts +14 -0
  119. data/lib/doing/completion/completion_string.rb +11 -0
  120. data/lib/doing/string/query.rb +10 -0
  121. data/lib/doing/version.rb +1 -1
  122. data/lib/doing/wwid/modify.rb +0 -1
  123. 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: 5b9a221731c7674fce1eb67f778aab580ba4ca6a294005285347ea3c1f7d070c
4
+ data.tar.gz: 06d1481f9472fee624fac0d115fba26a30143022eb1a3e36fdde55b998c73431
5
5
  SHA512:
6
- metadata.gz: 7d63c60e583e16f01fb1ae6e21540eca3c63d8e3c74640a1d8a7785fc281ca1a806072dcf71e97d819421f4eb48322a2c313684e1156dc41c45ce026ab83e60f
7
- data.tar.gz: c16ca168b77f1a3dfd36f5c5b113133dbd99e2483604c455be167108e67e77f8ecb4c4b2da6175ca268ee97c2bfeb09ea73cc21841e820e55eef2f44b5c4850c
6
+ metadata.gz: 0c9525906e85f89bfbd43cdb1fce4eb75434d7ad18715c78aaa07dce581370497f2546d86f073c8f87d3c8a25dab0c3b1d04f46d427276968f4ecfcebdc0f09d
7
+ data.tar.gz: a37fcdd8a4ca2fa21fbde9c78d47dcbcd19b7439f2aaafd383a9c8a7baa6dbd822cf63c44c656e22c029aad0b923265bc1c1a229a63d4bdbcfb6f63f199fa3d4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
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
+
1
21
  ### 2.1.58
2
22
 
3
23
  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.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.57<!--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?
@@ -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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:46 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>
@@ -698,7 +698,7 @@ ANSI-sequences are stripped from the string.</p>
698
698
  </div>
699
699
 
700
700
  <div id="footer">
701
- Generated on Wed Jun 1 10:40:46 2022 by
701
+ Generated on Wed Jun 29 02:09:35 2022 by
702
702
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
703
703
  0.9.27 (ruby-3.0.1).
704
704
  </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 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:46 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 Wed Jun 1 10:40:47 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 Wed Jun 1 10:40:47 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>
@@ -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 Wed Jun 29 02:09:36 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 Wed Jun 29 02:09:36 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 Wed Jun 29 02:09:36 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 Wed Jun 29 02:09:36 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 Wed Jun 29 02:09:36 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 Wed Jun 29 02:09:36 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>
@@ -184,7 +184,7 @@
184
184
  </div>
185
185
 
186
186
  <div id="footer">
187
- Generated on Wed Jun 1 10:40:46 2022 by
187
+ Generated on Wed Jun 29 02:09:36 2022 by
188
188
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
189
189
  0.9.27 (ruby-3.0.1).
190
190
  </div>
@@ -184,7 +184,7 @@
184
184
  </div>
185
185
 
186
186
  <div id="footer">
187
- Generated on Wed Jun 1 10:40:46 2022 by
187
+ Generated on Wed Jun 29 02:09:36 2022 by
188
188
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
189
189
  0.9.27 (ruby-3.0.1).
190
190
  </div>
@@ -184,7 +184,7 @@
184
184
  </div>
185
185
 
186
186
  <div id="footer">
187
- Generated on Wed Jun 1 10:40:46 2022 by
187
+ Generated on Wed Jun 29 02:09:36 2022 by
188
188
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
189
189
  0.9.27 (ruby-3.0.1).
190
190
  </div>
@@ -184,7 +184,7 @@
184
184
  </div>
185
185
 
186
186
  <div id="footer">
187
- Generated on Wed Jun 1 10:40:46 2022 by
187
+ Generated on Wed Jun 29 02:09:36 2022 by
188
188
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
189
189
  0.9.27 (ruby-3.0.1).
190
190
  </div>