doing 2.1.36 → 2.1.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -4912
  3. data/Gemfile.lock +1 -1
  4. data/README.md +1 -1
  5. data/Rakefile +7 -1
  6. data/bin/commands/done.rb +4 -4
  7. data/bin/commands/meanwhile.rb +3 -3
  8. data/bin/commands/note.rb +2 -2
  9. data/bin/commands/now.rb +5 -7
  10. data/bin/commands/on.rb +5 -2
  11. data/bin/commands/show.rb +3 -0
  12. data/bin/doing +35 -30
  13. data/docs/doc/Array.html +1 -1
  14. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  15. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  16. data/docs/doc/BooleanTermParser/Query.html +1 -1
  17. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  18. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  19. data/docs/doc/BooleanTermParser.html +1 -1
  20. data/docs/doc/Doing/Color.html +1 -1
  21. data/docs/doc/Doing/Completion.html +1 -1
  22. data/docs/doc/Doing/Configuration.html +1 -1
  23. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  24. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  25. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  26. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  27. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  28. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  29. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  30. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  31. data/docs/doc/Doing/Errors.html +1 -1
  32. data/docs/doc/Doing/Hooks.html +1 -1
  33. data/docs/doc/Doing/Item.html +64 -1
  34. data/docs/doc/Doing/Items.html +1 -1
  35. data/docs/doc/Doing/Logger.html +1 -1
  36. data/docs/doc/Doing/Note.html +1 -1
  37. data/docs/doc/Doing/Pager.html +1 -1
  38. data/docs/doc/Doing/Plugins.html +1 -1
  39. data/docs/doc/Doing/Prompt.html +1 -1
  40. data/docs/doc/Doing/Section.html +1 -1
  41. data/docs/doc/Doing/TemplateString.html +1 -1
  42. data/docs/doc/Doing/Types.html +1 -1
  43. data/docs/doc/Doing/Util/Backup.html +1 -1
  44. data/docs/doc/Doing/Util.html +1 -1
  45. data/docs/doc/Doing/WWID.html +1 -1
  46. data/docs/doc/Doing.html +2 -2
  47. data/docs/doc/FalseClass.html +1 -1
  48. data/docs/doc/GLI/Commands/Help.html +1 -1
  49. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  50. data/docs/doc/GLI/Commands.html +1 -1
  51. data/docs/doc/GLI.html +1 -1
  52. data/docs/doc/Hash.html +1 -1
  53. data/docs/doc/Object.html +1 -1
  54. data/docs/doc/PhraseParser/Operator.html +1 -1
  55. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  56. data/docs/doc/PhraseParser/Query.html +1 -1
  57. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  58. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  59. data/docs/doc/PhraseParser/TermClause.html +1 -1
  60. data/docs/doc/PhraseParser.html +1 -1
  61. data/docs/doc/Status.html +1 -1
  62. data/docs/doc/String.html +1 -1
  63. data/docs/doc/Symbol.html +1 -1
  64. data/docs/doc/Time.html +1 -1
  65. data/docs/doc/TrueClass.html +1 -1
  66. data/docs/doc/_index.html +1 -1
  67. data/docs/doc/file.README.html +2 -2
  68. data/docs/doc/index.html +2 -2
  69. data/docs/doc/method_list.html +159 -151
  70. data/docs/doc/top-level-namespace.html +1 -1
  71. data/doing.rdoc +6 -1
  72. data/lib/completion/_doing.zsh +1 -1
  73. data/lib/completion/doing.bash +2 -2
  74. data/lib/completion/doing.fish +1 -0
  75. data/lib/doing/chronify/array.rb +8 -0
  76. data/lib/doing/chronify/string.rb +8 -5
  77. data/lib/doing/item.rb +166 -36
  78. data/lib/doing/items.rb +1 -1
  79. data/lib/doing/prompt.rb +6 -6
  80. data/lib/doing/string/tags.rb +8 -2
  81. data/lib/doing/version.rb +1 -1
  82. data/lib/doing/wwid.rb +11 -2
  83. data/lib/doing.rb +1 -0
  84. metadata +2 -2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.36)
4
+ doing (2.1.39)
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)
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.35<!--END VER-->.
11
+ The current version of `doing` is <!--VER-->2.1.38<!--END VER-->.
12
12
 
13
13
  Find all of the documentation in the [doing wiki][wiki].
14
14
 
data/Rakefile CHANGED
@@ -61,8 +61,14 @@ end
61
61
 
62
62
  desc 'Run tests in Docker'
63
63
  task :dockertest, :version, :login do |_, args|
64
- args.with_defaults(version: '2.7', login: false)
64
+ args.with_defaults(version: 'all', login: false)
65
65
  case args[:version]
66
+ when /^a/
67
+ %w[6 7 3].each do |v|
68
+ Rake::Task['dockertest'].reenable
69
+ Rake::Task['dockertest'].invoke(v, false)
70
+ end
71
+ Process.exit 0
66
72
  when /^3/
67
73
  img = 'doingtest3'
68
74
  file = 'Dockerfile-3.0'
data/bin/commands/done.rb CHANGED
@@ -46,7 +46,7 @@ command %i[done did] do |c|
46
46
 
47
47
  add_options(:add_entry, c)
48
48
 
49
- c.action do |_global_options, options, args|
49
+ c.action do |global_options, options, args|
50
50
  Doing.auto_tag = !options[:noauto]
51
51
 
52
52
  took = 0
@@ -165,7 +165,7 @@ command %i[done did] do |c|
165
165
  end
166
166
 
167
167
  @wwid.write(@wwid.doing_file)
168
- elsif args.empty? && $stdin.stat.size.zero?
168
+ elsif args.empty? && global_options[:stdin].nil?
169
169
  if options[:remove]
170
170
  @wwid.tag_last({ tags: ['done'], count: 1, section: section, remove: true })
171
171
  else
@@ -203,9 +203,9 @@ command %i[done did] do |c|
203
203
  Doing::Hooks.trigger :post_entry_added, @wwid, new_entry
204
204
  @wwid.write(@wwid.doing_file)
205
205
  Doing.logger.info('New entry:', %(added "#{new_entry.date.relative_date}: #{new_entry.title}" to #{section}))
206
- elsif $stdin.stat.size.positive?
206
+ elsif !global_options[:stdin].nil?
207
207
  note = Doing::Note.new(options[:note])
208
- d, title, note = @wwid.format_input($stdin.read.strip)
208
+ d, title, note = @wwid.format_input(global_options[:stdin])
209
209
  unless d.nil?
210
210
  Doing.logger.debug('Parser:', 'Date detected in input, overriding command line values')
211
211
  date = d
@@ -20,7 +20,7 @@ command :meanwhile do |c|
20
20
 
21
21
  add_options(:add_entry, c)
22
22
 
23
- c.action do |_global_options, options, args|
23
+ c.action do |global_options, options, args|
24
24
  Doing.auto_tag = !options[:noauto]
25
25
 
26
26
  if options[:back]
@@ -50,8 +50,8 @@ command :meanwhile do |c|
50
50
  input = @wwid.fork_editor(input).strip
51
51
  elsif !args.empty?
52
52
  input = args.join(' ')
53
- elsif $stdin.stat.size.positive?
54
- input = $stdin.read.strip
53
+ elsif global_options[:stdin]
54
+ input = global_options[:stdin]
55
55
  end
56
56
 
57
57
  if input.good?
data/bin/commands/note.rb CHANGED
@@ -33,7 +33,7 @@ command :note do |c|
33
33
  add_options(:search, c)
34
34
  add_options(:tag_filter, c)
35
35
 
36
- c.action do |_global_options, options, args|
36
+ c.action do |global_options, options, args|
37
37
  options[:fuzzy] = false
38
38
  options[:section] = @wwid.guess_section(options[:section]) || options[:section].cap_first if options[:section]
39
39
  options[:tag_bool] = options[:bool]
@@ -52,7 +52,7 @@ command :note do |c|
52
52
  last_note = last_entry.note || Doing::Note.new
53
53
  new_note = Doing::Note.new
54
54
 
55
- new_note.add($stdin.read.strip) if $stdin.stat.size.positive?
55
+ new_note.add(global_options[:stdin]) if global_options[:stdin]
56
56
  new_note.add(args.join(' ')) unless args.empty?
57
57
 
58
58
  if options[:editor]
data/bin/commands/now.rb CHANGED
@@ -36,7 +36,7 @@ command %i[now next] do |c|
36
36
  # c.arg_name 'editor_app'
37
37
  # # c.flag [:a, :app]
38
38
 
39
- c.action do |_global_options, options, args|
39
+ c.action do |global_options, options, args|
40
40
  Doing.auto_tag = !options[:noauto]
41
41
 
42
42
  raise InvalidArgument, '--back and --from cannot be used together' if options[:back] && options[:from]
@@ -83,7 +83,6 @@ command %i[now next] do |c|
83
83
 
84
84
  date = d.nil? ? date : d
85
85
  @wwid.add_item(title.cap_first, section, { note: note, back: date, timed: options[:finish_last] })
86
- @wwid.write(@wwid.doing_file)
87
86
  elsif args.length.positive?
88
87
  d, title, note = @wwid.format_input(args.join(' '))
89
88
  date = d.nil? ? date : d
@@ -97,9 +96,8 @@ command %i[now next] do |c|
97
96
  entry.tag('done')
98
97
  end
99
98
  end
100
- @wwid.write(@wwid.doing_file)
101
- elsif $stdin.stat.size.positive?
102
- input = $stdin.read.strip
99
+ elsif global_options[:stdin]
100
+ input = global_options[:stdin]
103
101
  d, title, note = @wwid.format_input(input)
104
102
  unless d.nil?
105
103
  Doing.logger.debug('Parser:', 'Date detected in input, overriding command line values')
@@ -118,7 +116,6 @@ command %i[now next] do |c|
118
116
  entry.tag('done')
119
117
  end
120
118
  end
121
- @wwid.write(@wwid.doing_file)
122
119
  else
123
120
  tags = @wwid.all_tags(@wwid.content)
124
121
  $stderr.puts Doing::Color.boldgreen("Add a new entry. Tab will autocomplete known tags. Ctrl-c to cancel.")
@@ -139,7 +136,8 @@ command %i[now next] do |c|
139
136
  entry.tag('done')
140
137
  end
141
138
  end
142
- @wwid.write(@wwid.doing_file)
143
139
  end
140
+
141
+ @wwid.write(@wwid.doing_file)
144
142
  end
145
143
  end
data/bin/commands/on.rb CHANGED
@@ -37,11 +37,14 @@ command :on do |c|
37
37
 
38
38
  date_string = args.join(' ').strip
39
39
  if date_string =~ /^tod(?:ay)?/i
40
- date_string = 'today to tomorrow 12am'
40
+ date_string = 'today 01:00 to today 23:59'
41
41
  end
42
+
43
+ puts date_string
44
+
42
45
  start, finish = date_string.split_date_range
43
46
 
44
- raise InvalidTimeExpression, 'Unrecognized date string' unless start
47
+ raise InvalidTimeExpression, "Unrecognized date string (#{date_string})" unless start
45
48
 
46
49
  message = "date interpreted as #{start}"
47
50
  message += " to #{finish}" if finish
data/bin/commands/show.rb CHANGED
@@ -29,6 +29,9 @@ command :show do |c|
29
29
  c.desc "Highlight search matches in output. Only affects command line output"
30
30
  c.switch %i[h hilite], default_value: Doing.settings.dig('search', 'highlight')
31
31
 
32
+ c.desc "Edit matching entries with #{Doing::Util.default_editor}"
33
+ c.switch %i[e editor], negatable: false, default_value: false
34
+
32
35
  c.desc 'Sort order (asc/desc)'
33
36
  c.arg_name 'ORDER'
34
37
  c.flag %i[s sort], must_match: REGEX_SORT_ORDER, default_value: :asc, type: OrderSymbol
data/bin/doing CHANGED
@@ -96,22 +96,22 @@ accept TemplateName do |value|
96
96
  end
97
97
 
98
98
  accept DateBeginString do |value|
99
- if value =~ REGEX_TIME
100
- res = value
101
- else
102
- res = value.chronify(guess: :begin, future: false)
103
- end
99
+ res = if value =~ REGEX_TIME
100
+ value
101
+ else
102
+ value.chronify(guess: :begin, future: false)
103
+ end
104
104
  raise InvalidTimeExpression, 'Invalid start date' unless res
105
105
 
106
106
  res
107
107
  end
108
108
 
109
109
  accept DateEndString do |value|
110
- if value =~ REGEX_TIME
111
- res = value
112
- else
113
- res = value.chronify(guess: :end, future: false)
114
- end
110
+ res = if value =~ REGEX_TIME
111
+ value
112
+ else
113
+ value.chronify(guess: :end, future: false)
114
+ end
115
115
  raise InvalidTimeExpression, 'Invalid end date' unless res
116
116
 
117
117
  res
@@ -211,18 +211,19 @@ add_commands(%w[undo redo])
211
211
  ## Hidden commands
212
212
  add_commands(%w[commands_accepting install_fzf])
213
213
  ## Optional commands
214
- add_commands(%w[again cancel flag meanwhile reset tags today yesterday since tag_dir colors completion plugins sections template views changes])
214
+ add_commands(%w[again cancel flag meanwhile reset tags today yesterday since])
215
+ add_commands(%w[tag_dir colors completion plugins sections template views changes])
215
216
 
216
217
  pre do |global, _command, _options, _args|
217
218
  # global[:pager] ||= Doing.setting('paginate')
218
219
  Doing::Pager.paginate = global[:pager]
219
220
 
220
221
  $stdout.puts "doing v#{Doing::VERSION}" if global[:version]
221
- unless $stdout.isatty
222
- Doing::Color.coloring = global[:pager] ? global[:color] : false
223
- else
224
- Doing::Color.coloring = global[:color]
225
- end
222
+ Doing::Color.coloring = if $stdout.isatty
223
+ global[:color]
224
+ else
225
+ global[:pager] ? global[:color] : false
226
+ end
226
227
 
227
228
  # Return true to proceed; false to abort and not call the
228
229
  # chosen command
@@ -232,9 +233,9 @@ pre do |global, _command, _options, _args|
232
233
  end
233
234
 
234
235
  on_error do |exception|
235
- if exception.kind_of?(GLI::UnknownCommand) && ARGV.count > 1
236
+ if exception.is_a?(GLI::UnknownCommand) && ARGV.count > 1
236
237
  exit run(['now'].concat(ARGV.unshift(@command)))
237
- elsif exception.kind_of?(SystemExit)
238
+ elsif exception.is_a?(SystemExit)
238
239
  false
239
240
  else
240
241
  # Doing.logger.error('Fatal:', exception)
@@ -243,7 +244,7 @@ on_error do |exception|
243
244
  end
244
245
  end
245
246
 
246
- post do |global, _command, _options, _args|
247
+ post do |_global, _command, _options, _args|
247
248
  # Use skips_post before a command to skip this
248
249
  # block on that command only
249
250
  Doing.logger.output_results
@@ -251,16 +252,16 @@ post do |global, _command, _options, _args|
251
252
  Doing.logger.log_benchmarks
252
253
  end
253
254
 
254
- around do |global, command, options, arguments, code|
255
+ around do |global, command, _options, _arguments, code|
255
256
  Doing.logger.benchmark("command_#{command.name}".to_sym, :start)
256
- # Doing.logger.debug('Pager:', "Global: #{global[:pager]}, Config: #{Doing.setting('paginate')}, Pager: #{Doing::Pager.paginate}")
257
- if env_log_level.nil?
258
- Doing.logger.adjust_verbosity(global)
259
- end
257
+ # pager_msg = "Global: #{global[:pager]}, Config: #{Doing.setting('paginate')}, Pager: #{Doing::Pager.paginate}"
258
+ # Doing.logger.debug('Pager:', pager_msg)
259
+ Doing.logger.adjust_verbosity(global) if env_log_level.nil?
260
260
 
261
- if global[:stdout]
262
- Doing.logger.logdev = $stdout
263
- end
261
+ global[:stdin] = $stdin.read.strip if $stdin.stat.size.positive? || $stdin.fcntl(Fcntl::F_GETFL, 0).zero?
262
+ global[:stdin] = nil unless global[:stdin].good?
263
+
264
+ Doing.logger.logdev = $stdout if global[:stdout]
264
265
 
265
266
  if global[:yes]
266
267
  Doing::Prompt.force_answer = :yes
@@ -279,8 +280,12 @@ around do |global, command, options, arguments, code|
279
280
  end
280
281
 
281
282
  if global[:config_file] && global[:config_file] != Doing.config.config_file
282
- Doing.logger.warn(format('%sWARNING:%s %sThe use of --config_file is deprecated, please set the environment variable DOING_CONFIG instead.', @colors.flamingo, @colors.default, @colors.boldred))
283
- Doing.logger.warn(format('%sTo set it just for the current command, use: %sDOING_CONFIG=/path/to/doingrc doing [command]%s', @colors.red, @colors.boldwhite, @colors.default))
283
+ Doing.logger.warn(format(['%<promptcolor>sWARNING: %<textcolor>sThe use of --config_file is deprecated,',
284
+ 'please set the environment variable DOING_CONFIG instead.'].join(' '),
285
+ { promptcolor: @colors.flamingo, textcolor: @colors.boldred }))
286
+ Doing.logger.warn(format(['%<promptcolor>sTo set it just for the current command,',
287
+ 'use: %<highlight>sDOING_CONFIG=/path/to/doingrc doing [command]%<reset>s'].join(' '),
288
+ { promptcolor: @colors.red, highlight: @colors.boldwhite, reset: @colors.default }))
284
289
 
285
290
  cf = File.expand_path(global[:config_file])
286
291
  raise MissingConfigFile, "Config file not found (#{global[:config_file]})" unless File.exist?(cf)
@@ -303,7 +308,7 @@ around do |global, command, options, arguments, code|
303
308
 
304
309
  code.call
305
310
 
306
- Doing.logger.benchmark("command_#{command.name.to_s}".to_sym, :finish)
311
+ Doing.logger.benchmark("command_#{command.name}".to_sym, :finish)
307
312
  end
308
313
 
309
314
  commands_from File.expand_path(Doing.setting('plugins.command_path')) if Doing.setting('plugins.command_path')
data/docs/doc/Array.html CHANGED
@@ -195,7 +195,7 @@ has content</p>
195
195
  </div>
196
196
 
197
197
  <div id="footer">
198
- Generated on Fri Feb 25 09:00:49 2022 by
198
+ Generated on Sun Mar 13 05:08:08 2022 by
199
199
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
200
200
  0.9.27 (ruby-3.0.1).
201
201
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Fri Feb 25 09:00:49 2022 by
286
+ Generated on Sun Mar 13 05:08:08 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 Fri Feb 25 09:00:49 2022 by
165
+ Generated on Sun Mar 13 05:08:08 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 Fri Feb 25 09:00:49 2022 by
410
+ Generated on Sun Mar 13 05:08:08 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 Fri Feb 25 09:00:49 2022 by
128
+ Generated on Sun Mar 13 05:08:08 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 Fri Feb 25 09:00:49 2022 by
117
+ Generated on Sun Mar 13 05:08:08 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 Fri Feb 25 09:00:49 2022 by
108
+ Generated on Sun Mar 13 05:08:08 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>
@@ -518,7 +518,7 @@ ANSI-sequences are stripped from the string.</p>
518
518
  </div>
519
519
 
520
520
  <div id="footer">
521
- Generated on Fri Feb 25 09:00:49 2022 by
521
+ Generated on Sun Mar 13 05:08:08 2022 by
522
522
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
523
523
  0.9.27 (ruby-3.0.1).
524
524
  </div>
@@ -526,7 +526,7 @@ stdout</p>
526
526
  </div>
527
527
 
528
528
  <div id="footer">
529
- Generated on Fri Feb 25 09:00:49 2022 by
529
+ Generated on Sun Mar 13 05:08:08 2022 by
530
530
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
531
531
  0.9.27 (ruby-3.0.1).
532
532
  </div>
@@ -1139,7 +1139,7 @@ matched, first match wins)</p>
1139
1139
  </div>
1140
1140
 
1141
1141
  <div id="footer">
1142
- Generated on Fri Feb 25 09:00:49 2022 by
1142
+ Generated on Sun Mar 13 05:08:08 2022 by
1143
1143
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1144
1144
  0.9.27 (ruby-3.0.1).
1145
1145
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Fri Feb 25 09:00:49 2022 by
241
+ Generated on Sun Mar 13 05:08:08 2022 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.9.27 (ruby-3.0.1).
244
244
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Fri Feb 25 09:00:49 2022 by
179
+ Generated on Sun Mar 13 05:08:08 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>
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
 
183
183
  <div id="footer">
184
- Generated on Fri Feb 25 09:00:49 2022 by
184
+ Generated on Sun Mar 13 05:08:08 2022 by
185
185
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
186
186
  0.9.27 (ruby-3.0.1).
187
187
  </div>
@@ -354,7 +354,7 @@
354
354
  </div>
355
355
 
356
356
  <div id="footer">
357
- Generated on Fri Feb 25 09:00:49 2022 by
357
+ Generated on Sun Mar 13 05:08:08 2022 by
358
358
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
359
359
  0.9.27 (ruby-3.0.1).
360
360
  </div>
@@ -769,6 +769,29 @@
769
769
  <span class="summary_desc"><div class='inline'><p>Test if item contains tag(s).</p>
770
770
  </div></span>
771
771
 
772
+ </li>
773
+
774
+
775
+ <li class="public ">
776
+ <span class="summary_signature">
777
+
778
+ <a href="#tags_with_values-instance_method" title="#tags_with_values (instance method)">#<strong>tags_with_values</strong> &#x21d2; Array&lt;Array&gt; </a>
779
+
780
+
781
+
782
+ </span>
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+ <span class="summary_desc"><div class='inline'><p>Return all tags including parenthetical values.</p>
793
+ </div></span>
794
+
772
795
  </li>
773
796
 
774
797
 
@@ -2262,6 +2285,46 @@ thus should not receive a date on the @done tag</p>
2262
2285
 
2263
2286
  </ul>
2264
2287
 
2288
+ </div>
2289
+ </div>
2290
+
2291
+ <div class="method_details ">
2292
+ <h3 class="signature " id="tags_with_values-instance_method">
2293
+
2294
+ #<strong>tags_with_values</strong> &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&gt;</tt>
2295
+
2296
+
2297
+
2298
+
2299
+
2300
+ </h3><div class="docstring">
2301
+ <div class="discussion">
2302
+ <p>Return all tags including parenthetical values</p>
2303
+
2304
+
2305
+ </div>
2306
+ </div>
2307
+ <div class="tags">
2308
+
2309
+ <p class="tag_title">Returns:</p>
2310
+ <ul class="return">
2311
+
2312
+ <li>
2313
+
2314
+
2315
+ <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&gt;</tt>)</span>
2316
+
2317
+
2318
+
2319
+ &mdash;
2320
+ <div class='inline'><p>Array of array pairs,
2321
+ [[tag1, value], [tag2, value]]</p>
2322
+ </div>
2323
+
2324
+ </li>
2325
+
2326
+ </ul>
2327
+
2265
2328
  </div>
2266
2329
  </div>
2267
2330
 
@@ -2370,7 +2433,7 @@ thus should not receive a date on the @done tag</p>
2370
2433
  </div>
2371
2434
 
2372
2435
  <div id="footer">
2373
- Generated on Fri Feb 25 09:00:49 2022 by
2436
+ Generated on Sun Mar 13 05:08:08 2022 by
2374
2437
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2375
2438
  0.9.27 (ruby-3.0.1).
2376
2439
  </div>
@@ -1098,7 +1098,7 @@ specified section</p>
1098
1098
  </div>
1099
1099
 
1100
1100
  <div id="footer">
1101
- Generated on Fri Feb 25 09:00:49 2022 by
1101
+ Generated on Sun Mar 13 05:08:08 2022 by
1102
1102
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1103
1103
  0.9.27 (ruby-3.0.1).
1104
1104
  </div>
@@ -1797,7 +1797,7 @@ message (optional)</p>
1797
1797
  </div>
1798
1798
 
1799
1799
  <div id="footer">
1800
- Generated on Fri Feb 25 09:00:49 2022 by
1800
+ Generated on Sun Mar 13 05:08:08 2022 by
1801
1801
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1802
1802
  0.9.27 (ruby-3.0.1).
1803
1803
  </div>
@@ -733,7 +733,7 @@ join multiple lines</p>
733
733
  </div>
734
734
 
735
735
  <div id="footer">
736
- Generated on Fri Feb 25 09:00:49 2022 by
736
+ Generated on Sun Mar 13 05:08:08 2022 by
737
737
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
738
738
  0.9.27 (ruby-3.0.1).
739
739
  </div>
@@ -296,7 +296,7 @@ STDOUT</p>
296
296
  </div>
297
297
 
298
298
  <div id="footer">
299
- Generated on Fri Feb 25 09:00:49 2022 by
299
+ Generated on Sun Mar 13 05:08:08 2022 by
300
300
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
301
301
  0.9.27 (ruby-3.0.1).
302
302
  </div>