doing 2.1.57 → 2.1.61
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +46 -0
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/bin/commands/done.rb +13 -4
- data/bin/commands/show.rb +13 -4
- data/bin/commands/update.rb +37 -0
- data/bin/doing +1 -1
- data/docs/doc/Array.html +1 -1
- data/docs/doc/BooleanTermParser/Clause.html +1 -1
- data/docs/doc/BooleanTermParser/Operator.html +1 -1
- data/docs/doc/BooleanTermParser/Query.html +1 -1
- data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
- data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/ArrayCleanup.html +1 -1
- data/docs/doc/Doing/ArrayNestedHash.html +1 -1
- data/docs/doc/Doing/ArrayTags.html +1 -1
- data/docs/doc/Doing/CSVExport.html +1 -1
- data/docs/doc/Doing/CalendarImport.html +1 -1
- data/docs/doc/Doing/Change.html +1 -1
- data/docs/doc/Doing/Changes.html +1 -1
- data/docs/doc/Doing/ChronifyArray.html +1 -1
- data/docs/doc/Doing/ChronifyNumeric.html +1 -1
- data/docs/doc/Doing/ChronifyString.html +1 -1
- data/docs/doc/Doing/Color.html +35 -1
- data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
- data/docs/doc/Doing/Completion/FigCompletions.html +1 -1
- data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
- data/docs/doc/Doing/Completion/StringUtils.html +65 -7
- data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +1 -1
- data/docs/doc/Doing/DayOneRenderer.html +1 -1
- data/docs/doc/Doing/DayoneExport.html +1 -1
- data/docs/doc/Doing/DoingExport.html +1 -1
- data/docs/doc/Doing/DoingImport.html +1 -1
- data/docs/doc/Doing/Entry.html +1 -1
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
- data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
- data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
- data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
- data/docs/doc/Doing/Errors/NoResults.html +1 -1
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
- data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/HTMLExport.html +1 -1
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +2 -2
- data/docs/doc/Doing/ItemDates.html +1 -1
- data/docs/doc/Doing/ItemQuery.html +1 -1
- data/docs/doc/Doing/ItemState.html +1 -1
- data/docs/doc/Doing/ItemTags.html +1 -1
- data/docs/doc/Doing/Items.html +1 -1
- data/docs/doc/Doing/JSONExport.html +1 -1
- data/docs/doc/Doing/JSONImport.html +1 -1
- data/docs/doc/Doing/Logger.html +1 -1
- data/docs/doc/Doing/MarkdownExport.html +1 -1
- data/docs/doc/Doing/Note.html +1 -1
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +1 -1
- data/docs/doc/Doing/Prompt.html +2 -2
- data/docs/doc/Doing/PromptChoose.html +1 -1
- data/docs/doc/Doing/PromptFZF.html +1 -1
- data/docs/doc/Doing/PromptInput.html +1 -1
- data/docs/doc/Doing/PromptSTD.html +1 -1
- data/docs/doc/Doing/PromptYN.html +1 -1
- data/docs/doc/Doing/Section.html +1 -1
- data/docs/doc/Doing/StringHighlight.html +1 -1
- data/docs/doc/Doing/StringNormalize.html +1 -1
- data/docs/doc/Doing/StringQuery.html +61 -5
- data/docs/doc/Doing/StringTags.html +1 -1
- data/docs/doc/Doing/StringTransform.html +1 -1
- data/docs/doc/Doing/StringTruncate.html +1 -1
- data/docs/doc/Doing/StringURL.html +1 -1
- data/docs/doc/Doing/SymbolNormalize.html +1 -1
- data/docs/doc/Doing/TaskPaperExport.html +1 -1
- data/docs/doc/Doing/TemplateExport.html +2 -2
- data/docs/doc/Doing/TemplateString.html +2 -2
- data/docs/doc/Doing/TimingImport.html +1 -1
- data/docs/doc/Doing/Types.html +1 -1
- data/docs/doc/Doing/Util/Backup.html +1 -1
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/Version.html +1 -1
- data/docs/doc/Doing/WWID.html +2 -2
- data/docs/doc/Doing.html +2 -2
- data/docs/doc/FalseClass.html +1 -1
- data/docs/doc/GLI/Commands/Help.html +1 -1
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +34 -5
- data/docs/doc/Numeric.html +1 -1
- data/docs/doc/Object.html +1 -1
- data/docs/doc/PhraseParser/Operator.html +1 -1
- data/docs/doc/PhraseParser/PhraseClause.html +1 -1
- data/docs/doc/PhraseParser/Query.html +1 -1
- data/docs/doc/PhraseParser/QueryParser.html +1 -1
- data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
- data/docs/doc/PhraseParser/TermClause.html +1 -1
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +1 -1
- data/docs/doc/String.html +2 -2
- data/docs/doc/Symbol.html +1 -1
- data/docs/doc/Time.html +1 -1
- data/docs/doc/TrueClass.html +1 -1
- data/docs/doc/_index.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +364 -356
- data/docs/doc/top-level-namespace.html +1 -1
- data/doing.rdoc +22 -5
- data/lib/completion/_doing.zsh +5 -1
- data/lib/completion/doing.bash +13 -2
- data/lib/completion/doing.fish +5 -2
- data/lib/completion/doing.ts +28 -4
- data/lib/doing/colors.rb +14 -1
- data/lib/doing/completion/completion_string.rb +11 -0
- data/lib/doing/hash.rb +6 -0
- data/lib/doing/logger.rb +3 -4
- data/lib/doing/string/query.rb +10 -0
- data/lib/doing/template_string.rb +3 -2
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid/modify.rb +1 -1
- data/lib/doing/wwid/timers.rb +1 -156
- data/lib/templates/doing.css +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b58db84af49f131d6596db6796706ddef6e0840b030c943c6acfd2b6970fc060
|
4
|
+
data.tar.gz: 43ba799d1ce45f0a5a34bd9e9d343888930a166cf108aa76991f76a9ec22feb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c57641df47066d9d4970cd58aa3b1c596b77a3d1eac31d99714717fa93b7c212ff202bb8b8700dae5e6d5c1c6ab21a773353e3d738c77bae97cb8e1954a5523e
|
7
|
+
data.tar.gz: 5ec11bd59a0ea37ead3280922a265a9d97611c55a13e7678762b757ad2cea515d9f5b0ee55888cf1ae5a3bddccf6fbd5d3b8bd2a371367e9111ce66b5f704daf
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,49 @@
|
|
1
|
+
### 2.1.61
|
2
|
+
|
3
|
+
2022-06-29 05:54
|
4
|
+
|
5
|
+
#### IMPROVED
|
6
|
+
|
7
|
+
- Remove @meanwhile from tag totals
|
8
|
+
- Less spacing between items in default HTML export CSS
|
9
|
+
|
10
|
+
#### FIXED
|
11
|
+
|
12
|
+
- Code duplication in timers.rb
|
13
|
+
|
14
|
+
### 2.1.60
|
15
|
+
|
16
|
+
2022-06-29 02:06
|
17
|
+
|
18
|
+
#### FIXED
|
19
|
+
|
20
|
+
- Failed to include update command in release
|
21
|
+
|
22
|
+
### 2.1.59
|
23
|
+
|
24
|
+
2022-06-29 01:59
|
25
|
+
|
26
|
+
#### NEW
|
27
|
+
|
28
|
+
- `doing update` will update doing to the latest available version
|
29
|
+
|
30
|
+
#### FIXED
|
31
|
+
|
32
|
+
- `doing done ...` wasn't autotagging the new entry
|
33
|
+
|
34
|
+
### 2.1.58
|
35
|
+
|
36
|
+
2022-06-01 10:20
|
37
|
+
|
38
|
+
#### CHANGED
|
39
|
+
|
40
|
+
- BREAKING: The `-s` flag on `doing show` now means section instead of search. Use `--search` for the search flag.
|
41
|
+
|
42
|
+
#### NEW
|
43
|
+
|
44
|
+
- 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
|
45
|
+
- `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)
|
46
|
+
|
1
47
|
### 2.1.57
|
2
48
|
|
3
49
|
2022-05-26 11:20
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
doing (2.1.
|
4
|
+
doing (2.1.61)
|
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.
|
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.
|
11
|
+
The current version of `doing` is <!--VER-->2.1.60<!--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[
|
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(
|
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
|
-
|
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
|
291
|
+
Generated on Wed Jun 29 05:57:09 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
|
286
|
+
Generated on Wed Jun 29 05:57:09 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
|
165
|
+
Generated on Wed Jun 29 05:57:09 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
|
410
|
+
Generated on Wed Jun 29 05:57:09 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 "clause" node is added to the parse
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Wed Jun 29 05:57:09 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
|
117
|
+
Generated on Wed Jun 29 05:57:09 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
|
108
|
+
Generated on Wed Jun 29 05:57:09 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
|
309
|
+
Generated on Wed Jun 29 05:57:08 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
|
191
|
+
Generated on Wed Jun 29 05:57:09 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
|
417
|
+
Generated on Wed Jun 29 05:57:08 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
|
259
|
+
Generated on Wed Jun 29 05:57:09 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
|
225
|
+
Generated on Wed Jun 29 05:57:09 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>
|
data/docs/doc/Doing/Change.html
CHANGED
@@ -678,7 +678,7 @@
|
|
678
678
|
</div>
|
679
679
|
|
680
680
|
<div id="footer">
|
681
|
-
Generated on
|
681
|
+
Generated on Wed Jun 29 05:57:09 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>
|
data/docs/doc/Doing/Changes.html
CHANGED
@@ -458,7 +458,7 @@
|
|
458
458
|
</div>
|
459
459
|
|
460
460
|
<div id="footer">
|
461
|
-
Generated on
|
461
|
+
Generated on Wed Jun 29 05:57:09 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
|
340
|
+
Generated on Wed Jun 29 05:57:08 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
|
264
|
+
Generated on Wed Jun 29 05:57:08 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
|
675
|
+
Generated on Wed Jun 29 05:57:08 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>
|
data/docs/doc/Doing/Color.html
CHANGED
@@ -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) ⇒ 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) ⇒ <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
|
701
|
+
Generated on Wed Jun 29 05:57:08 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
|
438
|
+
Generated on Wed Jun 29 05:57:09 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
|
438
|
+
Generated on Wed Jun 29 05:57:09 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
|
438
|
+
Generated on Wed Jun 29 05:57:09 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'
|
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> ⇒
|
154
|
+
<a href="#short_desc-instance_method" title="#short_desc (instance method)">#<strong>short_desc</strong> ⇒ 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'
|
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
|
+
—
|
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> ⇒ <tt><span class='object_link'><a href="../../
|
239
|
+
#<strong>short_desc</strong> ⇒ <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
|
+
—
|
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
|
280
|
+
Generated on Wed Jun 29 05:57:09 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
|
438
|
+
Generated on Wed Jun 29 05:57:09 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
|
543
|
+
Generated on Wed Jun 29 05:57:08 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
|
1222
|
+
Generated on Wed Jun 29 05:57:09 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
|
376
|
+
Generated on Wed Jun 29 05:57:09 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
|
283
|
+
Generated on Wed Jun 29 05:57:09 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>
|