doing 2.1.23 → 2.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +17 -21
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +329 -102
- data/Dockerfile +5 -5
- data/Dockerfile-2.6 +5 -5
- data/Dockerfile-2.7 +5 -4
- data/Dockerfile-3.0 +5 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +3 -3
- data/bin/commands/add_section.rb +15 -0
- data/bin/commands/again.rb +57 -0
- data/bin/commands/archive.rb +55 -0
- data/bin/commands/cancel.rb +60 -0
- data/bin/commands/changes.rb +69 -0
- data/bin/commands/choose.rb +9 -0
- data/bin/commands/colors.rb +21 -0
- data/bin/commands/commands.rb +89 -0
- data/bin/commands/commands_accepting.rb +76 -0
- data/bin/commands/completion.rb +27 -0
- data/bin/commands/config.rb +245 -0
- data/bin/commands/done.rb +235 -0
- data/bin/commands/finish.rb +126 -0
- data/bin/commands/flag.rb +90 -0
- data/bin/commands/grep.rb +108 -0
- data/bin/commands/import.rb +71 -0
- data/bin/commands/install_fzf.rb +17 -0
- data/bin/commands/last.rb +81 -0
- data/bin/commands/meanwhile.rb +76 -0
- data/bin/commands/note.rb +91 -0
- data/bin/commands/now.rb +145 -0
- data/bin/commands/on.rb +65 -0
- data/bin/commands/open.rb +53 -0
- data/bin/commands/plugins.rb +23 -0
- data/bin/commands/recent.rb +77 -0
- data/bin/commands/redo.rb +26 -0
- data/bin/commands/reset.rb +73 -0
- data/bin/commands/rotate.rb +42 -0
- data/bin/commands/sections.rb +11 -0
- data/bin/commands/select.rb +105 -0
- data/bin/commands/show.rb +185 -0
- data/bin/commands/since.rb +63 -0
- data/bin/commands/tag.rb +149 -0
- data/bin/commands/tag_dir.rb +29 -0
- data/bin/commands/tags.rb +66 -0
- data/bin/commands/template.rb +61 -0
- data/bin/commands/today.rb +64 -0
- data/bin/commands/undo.rb +49 -0
- data/bin/commands/view.rb +201 -0
- data/bin/commands/views.rb +11 -0
- data/bin/commands/yesterday.rb +72 -0
- data/bin/doing +241 -3662
- data/docs/doc/Array.html +13 -449
- data/docs/doc/BooleanTermParser/Clause.html +5 -5
- data/docs/doc/BooleanTermParser/Operator.html +4 -4
- data/docs/doc/BooleanTermParser/Query.html +8 -8
- data/docs/doc/BooleanTermParser/QueryParser.html +2 -2
- data/docs/doc/BooleanTermParser/QueryTransformer.html +2 -2
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/Color.html +65 -59
- data/docs/doc/Doing/Completion.html +2 -2
- data/docs/doc/Doing/Configuration.html +49 -16
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +2 -2
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +2 -2
- data/docs/doc/Doing/Errors/DoingStandardError.html +2 -2
- data/docs/doc/Doing/Errors/EmptyInput.html +2 -2
- data/docs/doc/Doing/Errors/NoResults.html +2 -2
- data/docs/doc/Doing/Errors/PluginException.html +3 -3
- data/docs/doc/Doing/Errors/UserCancelled.html +2 -2
- data/docs/doc/Doing/Errors/WrongCommand.html +2 -2
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/Hooks.html +6 -6
- data/docs/doc/Doing/Item.html +50 -16
- data/docs/doc/Doing/Items.html +10 -10
- data/docs/doc/Doing/LogAdapter.html +24 -24
- data/docs/doc/Doing/Note.html +7 -7
- data/docs/doc/Doing/Pager.html +4 -4
- data/docs/doc/Doing/Plugins.html +7 -7
- data/docs/doc/Doing/Prompt.html +59 -14
- data/docs/doc/Doing/Section.html +6 -6
- data/docs/doc/Doing/TemplateString.html +8 -8
- data/docs/doc/Doing/Types.html +46 -1
- data/docs/doc/Doing/Util/Backup.html +10 -10
- data/docs/doc/Doing/Util.html +15 -15
- data/docs/doc/Doing/WWID.html +73 -61
- data/docs/doc/Doing.html +3 -3
- data/docs/doc/FalseClass.html +235 -0
- data/docs/doc/GLI/Commands/Help.html +3 -3
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +17 -17
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +45 -11
- data/docs/doc/Numeric.html +5 -5
- data/docs/doc/Object.html +203 -0
- data/docs/doc/PhraseParser/Operator.html +4 -4
- data/docs/doc/PhraseParser/PhraseClause.html +5 -5
- data/docs/doc/PhraseParser/Query.html +10 -10
- data/docs/doc/PhraseParser/QueryParser.html +2 -2
- data/docs/doc/PhraseParser/QueryTransformer.html +2 -2
- data/docs/doc/PhraseParser/TermClause.html +5 -5
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +7 -7
- data/docs/doc/String.html +306 -3111
- data/docs/doc/Symbol.html +45 -11
- data/docs/doc/Time.html +6 -6
- data/docs/doc/TrueClass.html +235 -0
- data/docs/doc/_index.html +37 -19
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +2 -2
- data/docs/doc/index.html +2 -2
- data/docs/doc/method_list.html +240 -576
- data/docs/doc/top-level-namespace.html +2 -2
- data/doing.rdoc +289 -169
- data/example_plugin.rb +2 -2
- data/lib/completion/_doing.zsh +35 -31
- data/lib/completion/doing.bash +30 -19
- data/lib/completion/doing.fish +81 -67
- data/lib/doing/array/array.rb +4 -0
- data/lib/doing/array/nested_hash.rb +17 -0
- data/lib/doing/{array.rb → array/tags.rb} +7 -25
- data/lib/doing/changelog/change.rb +26 -11
- data/lib/doing/changelog/changes.rb +14 -4
- data/lib/doing/{array_chronify.rb → chronify/array.rb} +0 -0
- data/lib/doing/chronify/chronify.rb +5 -0
- data/lib/doing/{numeric_chronify.rb → chronify/numeric.rb} +0 -0
- data/lib/doing/{string_chronify.rb → chronify/string.rb} +0 -0
- data/lib/doing/colors.rb +115 -54
- data/lib/doing/completion/fish_completion.rb +2 -1
- data/lib/doing/configuration.rb +9 -6
- data/lib/doing/good.rb +72 -0
- data/lib/doing/hash.rb +4 -0
- data/lib/doing/help_monkey_patch.rb +6 -5
- data/lib/doing/hooks.rb +3 -3
- data/lib/doing/item.rb +19 -15
- data/lib/doing/items.rb +2 -2
- data/lib/doing/log_adapter.rb +35 -2
- data/lib/doing/normalize.rb +188 -0
- data/lib/doing/pager.rb +1 -0
- data/lib/doing/plugins/export/dayone_export.rb +1 -1
- data/lib/doing/plugins/export/html_export.rb +1 -1
- data/lib/doing/plugins/export/json_export.rb +1 -1
- data/lib/doing/plugins/export/markdown_export.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +3 -1
- data/lib/doing/plugins/import/calendar_import.rb +1 -1
- data/lib/doing/plugins/import/doing_import.rb +1 -1
- data/lib/doing/plugins/import/timing_import.rb +1 -1
- data/lib/doing/prompt.rb +9 -3
- data/lib/doing/string/highlight.rb +95 -0
- data/lib/doing/string/query.rb +129 -0
- data/lib/doing/string/string.rb +12 -0
- data/lib/doing/string/tags.rb +164 -0
- data/lib/doing/string/transform.rb +168 -0
- data/lib/doing/string/truncate.rb +75 -0
- data/lib/doing/string/url.rb +82 -0
- data/lib/doing/template_string.rb +2 -24
- data/lib/doing/types.rb +9 -0
- data/lib/doing/util.rb +20 -16
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +91 -51
- data/lib/doing.rb +5 -6
- data/lib/examples/commands/wiki.rb +6 -7
- data/lib/examples/plugins/wiki_export/wiki_export.rb +1 -1
- data/lib/helpers/threaded_tests.rb +69 -79
- data/lib/helpers/threaded_tests_string.rb +50 -0
- data/scripts/deploy.rb +107 -0
- data/scripts/runtests.sh +4 -0
- metadata +65 -8
- data/lib/doing/string.rb +0 -765
- data/lib/doing/symbol.rb +0 -28
@@ -374,7 +374,7 @@
|
|
374
374
|
<div class="method_details first">
|
375
375
|
<h3 class="signature first" id="clear_redo-instance_method">
|
376
376
|
|
377
|
-
#<strong>clear_redo</strong>(filename) ⇒ <tt>Object</tt>
|
377
|
+
#<strong>clear_redo</strong>(filename) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
378
378
|
|
379
379
|
|
380
380
|
|
@@ -415,7 +415,7 @@
|
|
415
415
|
<div class="method_details ">
|
416
416
|
<h3 class="signature " id="clear_undone-instance_method">
|
417
417
|
|
418
|
-
#<strong>clear_undone</strong>(filename = nil) ⇒ <tt>Object</tt>
|
418
|
+
#<strong>clear_undone</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
419
419
|
|
420
420
|
|
421
421
|
|
@@ -487,7 +487,7 @@
|
|
487
487
|
<div class="method_details ">
|
488
488
|
<h3 class="signature " id="prune_backups-instance_method">
|
489
489
|
|
490
|
-
#<strong>prune_backups</strong>(filename, limit = 10) ⇒ <tt>Object</tt>
|
490
|
+
#<strong>prune_backups</strong>(filename, limit = 10) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
491
491
|
|
492
492
|
|
493
493
|
|
@@ -530,7 +530,7 @@
|
|
530
530
|
<div class="method_details ">
|
531
531
|
<h3 class="signature " id="redo_backup-instance_method">
|
532
532
|
|
533
|
-
#<strong>redo_backup</strong>(filename = nil, count: 1) ⇒ <tt>Object</tt>
|
533
|
+
#<strong>redo_backup</strong>(filename = nil, count: 1) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
534
534
|
|
535
535
|
|
536
536
|
|
@@ -586,7 +586,7 @@
|
|
586
586
|
<div class="method_details ">
|
587
587
|
<h3 class="signature " id="restore_last_backup-instance_method">
|
588
588
|
|
589
|
-
#<strong>restore_last_backup</strong>(filename = nil, count: 1) ⇒ <tt>Object</tt>
|
589
|
+
#<strong>restore_last_backup</strong>(filename = nil, count: 1) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
590
590
|
|
591
591
|
|
592
592
|
|
@@ -644,7 +644,7 @@ different from default</p>
|
|
644
644
|
<div class="method_details ">
|
645
645
|
<h3 class="signature " id="select_backup-instance_method">
|
646
646
|
|
647
|
-
#<strong>select_backup</strong>(filename = nil) ⇒ <tt>Object</tt>
|
647
|
+
#<strong>select_backup</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
648
648
|
|
649
649
|
|
650
650
|
|
@@ -701,7 +701,7 @@ provided, only backups of that filename will be used.</p>
|
|
701
701
|
<div class="method_details ">
|
702
702
|
<h3 class="signature " id="select_redo-instance_method">
|
703
703
|
|
704
|
-
#<strong>select_redo</strong>(filename = nil) ⇒ <tt>Object</tt>
|
704
|
+
#<strong>select_redo</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
705
705
|
|
706
706
|
|
707
707
|
|
@@ -758,7 +758,7 @@ provided, only backups of that filename will be used.</p>
|
|
758
758
|
<div class="method_details ">
|
759
759
|
<h3 class="signature " id="show_menu-instance_method">
|
760
760
|
|
761
|
-
#<strong>show_menu</strong>(options, filename) ⇒ <tt>Object</tt>
|
761
|
+
#<strong>show_menu</strong>(options, filename) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
762
762
|
|
763
763
|
|
764
764
|
|
@@ -792,7 +792,7 @@ provided, only backups of that filename will be used.</p>
|
|
792
792
|
<div class="method_details ">
|
793
793
|
<h3 class="signature " id="write_backup-instance_method">
|
794
794
|
|
795
|
-
#<strong>write_backup</strong>(filename = nil) ⇒ <tt>Object</tt>
|
795
|
+
#<strong>write_backup</strong>(filename = nil) ⇒ <tt><span class='object_link'><a href="../../Object.html" title="Object (class)">Object</a></span></tt>
|
796
796
|
|
797
797
|
|
798
798
|
|
@@ -836,7 +836,7 @@ in a hidden directory</p>
|
|
836
836
|
</div>
|
837
837
|
|
838
838
|
<div id="footer">
|
839
|
-
Generated on
|
839
|
+
Generated on Mon Feb 14 10:46:50 2022 by
|
840
840
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
841
841
|
0.9.27 (ruby-3.0.1).
|
842
842
|
</div>
|
data/docs/doc/Doing/Util.html
CHANGED
@@ -499,7 +499,7 @@
|
|
499
499
|
<div class="method_details first">
|
500
500
|
<h3 class="signature first" id="args_for_editor-instance_method">
|
501
501
|
|
502
|
-
#<strong>args_for_editor</strong>(editor) ⇒ <tt>Object</tt>
|
502
|
+
#<strong>args_for_editor</strong>(editor) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
503
503
|
|
504
504
|
|
505
505
|
|
@@ -511,7 +511,7 @@
|
|
511
511
|
<div class="method_details ">
|
512
512
|
<h3 class="signature " id="deep_merge_hashes-instance_method">
|
513
513
|
|
514
|
-
#<strong>deep_merge_hashes</strong>(master_hash, other_hash) ⇒ <tt>Object</tt>
|
514
|
+
#<strong>deep_merge_hashes</strong>(master_hash, other_hash) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
515
515
|
|
516
516
|
|
517
517
|
|
@@ -585,7 +585,7 @@ method.</p>
|
|
585
585
|
<div class="method_details ">
|
586
586
|
<h3 class="signature " id="deep_merge_hashes!-instance_method">
|
587
587
|
|
588
|
-
#<strong>deep_merge_hashes!</strong>(target, overwrite) ⇒ <tt>Object</tt>
|
588
|
+
#<strong>deep_merge_hashes!</strong>(target, overwrite) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
589
589
|
|
590
590
|
|
591
591
|
|
@@ -615,7 +615,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
615
615
|
<div class="method_details ">
|
616
616
|
<h3 class="signature " id="default_editor-instance_method">
|
617
617
|
|
618
|
-
#<strong>default_editor</strong> ⇒ <tt>Object</tt>
|
618
|
+
#<strong>default_editor</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
619
619
|
|
620
620
|
|
621
621
|
|
@@ -661,7 +661,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
661
661
|
<div class="method_details ">
|
662
662
|
<h3 class="signature " id="duplicate_frozen_values-instance_method">
|
663
663
|
|
664
|
-
#<strong>duplicate_frozen_values</strong>(target) ⇒ <tt>Object</tt>
|
664
|
+
#<strong>duplicate_frozen_values</strong>(target) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
665
665
|
|
666
666
|
|
667
667
|
|
@@ -673,7 +673,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
673
673
|
<div class="method_details ">
|
674
674
|
<h3 class="signature " id="editor_with_args-instance_method">
|
675
675
|
|
676
|
-
#<strong>editor_with_args</strong> ⇒ <tt>Object</tt>
|
676
|
+
#<strong>editor_with_args</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
677
677
|
|
678
678
|
|
679
679
|
|
@@ -685,7 +685,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
685
685
|
<div class="method_details ">
|
686
686
|
<h3 class="signature " id="exec_available-instance_method">
|
687
687
|
|
688
|
-
#<strong>exec_available</strong>(cli) ⇒ <tt>Object</tt>
|
688
|
+
#<strong>exec_available</strong>(cli) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
689
689
|
|
690
690
|
|
691
691
|
|
@@ -726,7 +726,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
726
726
|
<div class="method_details ">
|
727
727
|
<h3 class="signature " id="find_default_editor-instance_method">
|
728
728
|
|
729
|
-
#<strong>find_default_editor</strong>(editor_for = 'default') ⇒ <tt>Object</tt>
|
729
|
+
#<strong>find_default_editor</strong>(editor_for = 'default') ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
730
730
|
|
731
731
|
|
732
732
|
|
@@ -738,7 +738,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
738
738
|
<div class="method_details ">
|
739
739
|
<h3 class="signature " id="first_available_exec-instance_method">
|
740
740
|
|
741
|
-
#<strong>first_available_exec</strong>(*commands) ⇒ <tt>Object</tt>
|
741
|
+
#<strong>first_available_exec</strong>(*commands) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
742
742
|
|
743
743
|
|
744
744
|
|
@@ -802,7 +802,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
802
802
|
<div class="method_details ">
|
803
803
|
<h3 class="signature " id="merge_default_proc-instance_method">
|
804
804
|
|
805
|
-
#<strong>merge_default_proc</strong>(target, overwrite) ⇒ <tt>Object</tt>
|
805
|
+
#<strong>merge_default_proc</strong>(target, overwrite) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
806
806
|
|
807
807
|
|
808
808
|
|
@@ -814,7 +814,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
814
814
|
<div class="method_details ">
|
815
815
|
<h3 class="signature " id="merge_values-instance_method">
|
816
816
|
|
817
|
-
#<strong>merge_values</strong>(target, overwrite) ⇒ <tt>Object</tt>
|
817
|
+
#<strong>merge_values</strong>(target, overwrite) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
818
818
|
|
819
819
|
|
820
820
|
|
@@ -826,7 +826,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
826
826
|
<div class="method_details ">
|
827
827
|
<h3 class="signature " id="safe_load_file-instance_method">
|
828
828
|
|
829
|
-
#<strong>safe_load_file</strong>(filename) ⇒ <tt>Object</tt>
|
829
|
+
#<strong>safe_load_file</strong>(filename) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
830
830
|
|
831
831
|
|
832
832
|
|
@@ -838,7 +838,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
838
838
|
<div class="method_details ">
|
839
839
|
<h3 class="signature " id="user_home-instance_method">
|
840
840
|
|
841
|
-
#<strong>user_home</strong> ⇒ <tt>Object</tt>
|
841
|
+
#<strong>user_home</strong> ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
842
842
|
|
843
843
|
|
844
844
|
|
@@ -850,7 +850,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
850
850
|
<div class="method_details ">
|
851
851
|
<h3 class="signature " id="write_to_file-instance_method">
|
852
852
|
|
853
|
-
#<strong>write_to_file</strong>(file, content, backup: true) ⇒ <tt>Object</tt>
|
853
|
+
#<strong>write_to_file</strong>(file, content, backup: true) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Object (class)">Object</a></span></tt>
|
854
854
|
|
855
855
|
|
856
856
|
|
@@ -925,7 +925,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
|
|
925
925
|
</div>
|
926
926
|
|
927
927
|
<div id="footer">
|
928
|
-
Generated on
|
928
|
+
Generated on Mon Feb 14 10:46:50 2022 by
|
929
929
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
930
930
|
0.9.27 (ruby-3.0.1).
|
931
931
|
</div>
|