doing 2.1.2pre → 2.1.6pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +19 -15
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +62 -14
- data/Gemfile.lock +25 -1
- data/README.md +5 -1
- data/Rakefile +2 -0
- data/bin/doing +429 -142
- data/docs/_config.yml +1 -0
- data/{doc → docs/doc}/Array.html +63 -1
- data/docs/doc/BooleanTermParser/Clause.html +293 -0
- data/docs/doc/BooleanTermParser/Operator.html +172 -0
- data/docs/doc/BooleanTermParser/Query.html +417 -0
- data/docs/doc/BooleanTermParser/QueryParser.html +135 -0
- data/docs/doc/BooleanTermParser/QueryTransformer.html +124 -0
- data/docs/doc/BooleanTermParser.html +115 -0
- data/docs/doc/Doing/CLIFormat.html +131 -0
- data/{doc → docs/doc}/Doing/Color.html +2 -2
- data/{doc → docs/doc}/Doing/Completion.html +1 -1
- data/{doc → docs/doc}/Doing/Configuration.html +163 -69
- data/{doc → docs/doc}/Doing/Content.html +0 -0
- data/{doc → docs/doc}/Doing/Errors/DoingNoTraceError.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/DoingRuntimeError.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/DoingStandardError.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/EmptyInput.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/NoResults.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/PluginException.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/UserCancelled.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/WrongCommand.html +1 -1
- data/{doc → docs/doc}/Doing/Errors.html +1 -1
- data/{doc → docs/doc}/Doing/Hooks.html +1 -1
- data/{doc → docs/doc}/Doing/Item.html +135 -89
- data/{doc → docs/doc}/Doing/Items.html +36 -2
- data/{doc → docs/doc}/Doing/LogAdapter.html +70 -1
- data/{doc → docs/doc}/Doing/Note.html +5 -134
- data/{doc → docs/doc}/Doing/Pager.html +1 -1
- data/{doc → docs/doc}/Doing/Plugins.html +431 -35
- data/{doc → docs/doc}/Doing/Prompt.html +70 -18
- data/{doc → docs/doc}/Doing/Section.html +1 -1
- data/docs/doc/Doing/TemplateString.html +713 -0
- data/docs/doc/Doing/Util/Backup.html +686 -0
- data/{doc → docs/doc}/Doing/Util.html +16 -4
- data/{doc → docs/doc}/Doing/WWID.html +133 -73
- data/{doc → docs/doc}/Doing/WWIDFile.html +0 -0
- data/{doc → docs/doc}/Doing.html +4 -4
- data/{doc → docs/doc}/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/{doc → docs/doc}/GLI/Commands.html +1 -1
- data/{doc → docs/doc}/GLI.html +1 -1
- data/{doc → docs/doc}/Hash.html +1 -1
- data/docs/doc/PhraseParser/Operator.html +172 -0
- data/docs/doc/PhraseParser/PhraseClause.html +303 -0
- data/docs/doc/PhraseParser/Query.html +495 -0
- data/docs/doc/PhraseParser/QueryParser.html +136 -0
- data/docs/doc/PhraseParser/QueryTransformer.html +124 -0
- data/docs/doc/PhraseParser/TermClause.html +293 -0
- data/docs/doc/PhraseParser.html +115 -0
- data/{doc → docs/doc}/Status.html +1 -1
- data/{doc → docs/doc}/String.html +319 -13
- data/{doc → docs/doc}/Symbol.html +35 -1
- data/{doc → docs/doc}/Time.html +70 -2
- data/{doc → docs/doc}/_index.html +132 -4
- data/docs/doc/class_list.html +51 -0
- data/{doc → docs/doc}/css/common.css +0 -0
- data/{doc → docs/doc}/css/full_list.css +0 -0
- data/{doc → docs/doc}/css/style.css +0 -0
- data/{doc → docs/doc}/file.README.html +6 -2
- data/{doc → docs/doc}/file_list.html +0 -0
- data/{doc → docs/doc}/frames.html +0 -0
- data/{doc → docs/doc}/index.html +6 -2
- data/{doc → docs/doc}/js/app.js +0 -0
- data/{doc → docs/doc}/js/full_list.js +0 -0
- data/{doc → docs/doc}/js/jquery.js +0 -0
- data/{doc → docs/doc}/method_list.html +684 -196
- data/{doc → docs/doc}/top-level-namespace.html +2 -2
- data/docs/index.md +60 -0
- data/doing.gemspec +3 -0
- data/doing.rdoc +222 -74
- data/example_plugin.rb +3 -1
- data/lib/completion/_doing.zsh +53 -41
- data/lib/completion/doing.bash +17 -6
- data/lib/completion/doing.fish +321 -2
- data/lib/doing/array.rb +9 -0
- data/lib/doing/boolean_term_parser.rb +86 -0
- data/lib/doing/completion/fish_completion.rb +46 -3
- data/lib/doing/completion/zsh_completion.rb +1 -1
- data/lib/doing/configuration.rb +48 -21
- data/lib/doing/item.rb +105 -10
- data/lib/doing/items.rb +6 -0
- data/lib/doing/log_adapter.rb +28 -0
- data/lib/doing/note.rb +31 -30
- data/lib/doing/phrase_parser.rb +124 -0
- data/lib/doing/plugin_manager.rb +84 -21
- data/lib/doing/plugins/export/dayone_export.rb +209 -0
- data/lib/doing/plugins/export/html_export.rb +2 -2
- data/lib/doing/plugins/export/json_export.rb +1 -0
- data/lib/doing/plugins/export/markdown_export.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +94 -86
- data/lib/doing/prompt.rb +26 -15
- data/lib/doing/string.rb +114 -29
- data/lib/doing/string_chronify.rb +5 -1
- data/lib/doing/symbol.rb +4 -0
- data/lib/doing/template_string.rb +197 -0
- data/lib/doing/time.rb +32 -0
- data/lib/doing/util.rb +6 -7
- data/lib/doing/util_backup.rb +287 -0
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +105 -41
- data/lib/doing.rb +9 -0
- data/lib/examples/plugins/say_export.rb +1 -1
- data/lib/examples/plugins/wiki_export/wiki_export.rb +3 -3
- data/lib/templates/doing-dayone-entry.erb +6 -0
- data/lib/templates/doing-dayone.erb +5 -0
- metadata +136 -51
- data/doc/class_list.html +0 -51
@@ -217,6 +217,28 @@
|
|
217
217
|
<span class="summary_desc"><div class='inline'><p>Create an interactive menu to select from a set of Items.</p>
|
218
218
|
</div></span>
|
219
219
|
|
220
|
+
</li>
|
221
|
+
|
222
|
+
|
223
|
+
<li class="public ">
|
224
|
+
<span class="summary_signature">
|
225
|
+
|
226
|
+
<a href="#enter_text-class_method" title="enter_text (class method)">.<strong>enter_text</strong>(prompt, default_response: '') ⇒ Object </a>
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
</span>
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
241
|
+
|
220
242
|
</li>
|
221
243
|
|
222
244
|
|
@@ -419,27 +441,12 @@
|
|
419
441
|
<span class='name'>opt</span>
|
420
442
|
|
421
443
|
|
422
|
-
<span class='type'
|
444
|
+
<span class='type'></span>
|
423
445
|
|
424
446
|
|
425
447
|
|
426
448
|
—
|
427
|
-
<div class='inline'><p>options</p>
|
428
|
-
</div>
|
429
|
-
|
430
|
-
</li>
|
431
|
-
|
432
|
-
<li>
|
433
|
-
|
434
|
-
<span class='name'>include_section</span>
|
435
|
-
|
436
|
-
|
437
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
—
|
442
|
-
<div class='inline'><p>include section</p>
|
449
|
+
<div class='inline'><p>Additional options</p>
|
443
450
|
</div>
|
444
451
|
|
445
452
|
</li>
|
@@ -454,6 +461,18 @@
|
|
454
461
|
<p class="tag_title">Options Hash (<tt>**opt</tt>):</p>
|
455
462
|
<ul class="option">
|
456
463
|
|
464
|
+
<li>
|
465
|
+
<span class="name">:include_section</span>
|
466
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
467
|
+
<span class="default">
|
468
|
+
|
469
|
+
</span>
|
470
|
+
|
471
|
+
— <div class='inline'><p>Include section name for each item in menu</p>
|
472
|
+
</div>
|
473
|
+
|
474
|
+
</li>
|
475
|
+
|
457
476
|
<li>
|
458
477
|
<span class="name">:header</span>
|
459
478
|
<span class="type">(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
@@ -461,6 +480,9 @@
|
|
461
480
|
|
462
481
|
</span>
|
463
482
|
|
483
|
+
— <div class='inline'><p>A custom header string</p>
|
484
|
+
</div>
|
485
|
+
|
464
486
|
</li>
|
465
487
|
|
466
488
|
<li>
|
@@ -470,6 +492,9 @@
|
|
470
492
|
|
471
493
|
</span>
|
472
494
|
|
495
|
+
— <div class='inline'><p>A custom prompt string</p>
|
496
|
+
</div>
|
497
|
+
|
473
498
|
</li>
|
474
499
|
|
475
500
|
<li>
|
@@ -479,6 +504,9 @@
|
|
479
504
|
|
480
505
|
</span>
|
481
506
|
|
507
|
+
— <div class='inline'><p>Initial query</p>
|
508
|
+
</div>
|
509
|
+
|
482
510
|
</li>
|
483
511
|
|
484
512
|
<li>
|
@@ -488,6 +516,9 @@
|
|
488
516
|
|
489
517
|
</span>
|
490
518
|
|
519
|
+
— <div class='inline'><p>Show menu even if there's only one option</p>
|
520
|
+
</div>
|
521
|
+
|
491
522
|
</li>
|
492
523
|
|
493
524
|
<li>
|
@@ -497,6 +528,9 @@
|
|
497
528
|
|
498
529
|
</span>
|
499
530
|
|
531
|
+
— <div class='inline'><p>Show menu</p>
|
532
|
+
</div>
|
533
|
+
|
500
534
|
</li>
|
501
535
|
|
502
536
|
<li>
|
@@ -506,6 +540,9 @@
|
|
506
540
|
|
507
541
|
</span>
|
508
542
|
|
543
|
+
— <div class='inline'><p>Sort options</p>
|
544
|
+
</div>
|
545
|
+
|
509
546
|
</li>
|
510
547
|
|
511
548
|
<li>
|
@@ -515,6 +552,9 @@
|
|
515
552
|
|
516
553
|
</span>
|
517
554
|
|
555
|
+
— <div class='inline'><p>Allow multiple selections</p>
|
556
|
+
</div>
|
557
|
+
|
518
558
|
</li>
|
519
559
|
|
520
560
|
<li>
|
@@ -534,6 +574,18 @@
|
|
534
574
|
|
535
575
|
|
536
576
|
</div>
|
577
|
+
</div>
|
578
|
+
|
579
|
+
<div class="method_details ">
|
580
|
+
<h3 class="signature " id="enter_text-class_method">
|
581
|
+
|
582
|
+
.<strong>enter_text</strong>(prompt, default_response: '') ⇒ <tt>Object</tt>
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
</h3>
|
537
589
|
</div>
|
538
590
|
|
539
591
|
<div class="method_details ">
|
@@ -664,7 +716,7 @@ response if no input</p>
|
|
664
716
|
</div>
|
665
717
|
|
666
718
|
<div id="footer">
|
667
|
-
Generated on
|
719
|
+
Generated on Mon Dec 20 15:39:45 2021 by
|
668
720
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
669
721
|
0.9.26 (ruby-3.0.1).
|
670
722
|
</div>
|
@@ -344,7 +344,7 @@
|
|
344
344
|
</div>
|
345
345
|
|
346
346
|
<div id="footer">
|
347
|
-
Generated on
|
347
|
+
Generated on Mon Dec 20 15:39:46 2021 by
|
348
348
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
349
349
|
0.9.26 (ruby-3.0.1).
|
350
350
|
</div>
|