doing 1.0.93 → 2.0.6.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/AUTHORS +19 -0
 - data/CHANGELOG.md +616 -0
 - data/COMMANDS.md +1181 -0
 - data/Gemfile +2 -0
 - data/Gemfile.lock +110 -0
 - data/LICENSE +23 -0
 - data/README.md +15 -699
 - data/Rakefile +79 -0
 - data/_config.yml +1 -0
 - data/bin/doing +1055 -494
 - data/doing.gemspec +34 -0
 - data/doing.rdoc +1839 -0
 - data/example_plugin.rb +209 -0
 - data/generate_completions.sh +5 -0
 - data/img/doing-colors.jpg +0 -0
 - data/img/doing-printf-wrap-800.jpg +0 -0
 - data/img/doing-show-note-formatting-800.jpg +0 -0
 - data/lib/completion/_doing.zsh +203 -0
 - data/lib/completion/doing.bash +449 -0
 - data/lib/completion/doing.fish +329 -0
 - data/lib/doing/array.rb +8 -0
 - data/lib/doing/cli_status.rb +70 -0
 - data/lib/doing/colors.rb +136 -0
 - data/lib/doing/configuration.rb +312 -0
 - data/lib/doing/errors.rb +109 -0
 - data/lib/doing/hash.rb +31 -0
 - data/lib/doing/hooks.rb +59 -0
 - data/lib/doing/item.rb +155 -0
 - data/lib/doing/log_adapter.rb +344 -0
 - data/lib/doing/markdown_document_listener.rb +174 -0
 - data/lib/doing/note.rb +59 -0
 - data/lib/doing/pager.rb +95 -0
 - data/lib/doing/plugin_manager.rb +208 -0
 - data/lib/doing/plugins/export/csv_export.rb +48 -0
 - data/lib/doing/plugins/export/html_export.rb +83 -0
 - data/lib/doing/plugins/export/json_export.rb +140 -0
 - data/lib/doing/plugins/export/markdown_export.rb +85 -0
 - data/lib/doing/plugins/export/taskpaper_export.rb +34 -0
 - data/lib/doing/plugins/export/template_export.rb +141 -0
 - data/lib/doing/plugins/import/cal_to_json.scpt +0 -0
 - data/lib/doing/plugins/import/calendar_import.rb +76 -0
 - data/lib/doing/plugins/import/doing_import.rb +144 -0
 - data/lib/doing/plugins/import/timing_import.rb +78 -0
 - data/lib/doing/string.rb +348 -0
 - data/lib/doing/symbol.rb +16 -0
 - data/lib/doing/time.rb +18 -0
 - data/lib/doing/util.rb +186 -0
 - data/lib/doing/version.rb +1 -1
 - data/lib/doing/wwid.rb +1868 -2349
 - data/lib/doing/wwidfile.rb +117 -0
 - data/lib/doing.rb +43 -3
 - data/lib/examples/commands/autotag.rb +63 -0
 - data/lib/examples/commands/wiki.rb +81 -0
 - data/lib/examples/plugins/hooks.rb +22 -0
 - data/lib/examples/plugins/say_export.rb +202 -0
 - data/lib/examples/plugins/templates/wiki.css +169 -0
 - data/lib/examples/plugins/templates/wiki.haml +27 -0
 - data/lib/examples/plugins/templates/wiki_index.haml +18 -0
 - data/lib/examples/plugins/wiki_export.rb +87 -0
 - data/lib/templates/doing-markdown.erb +5 -0
 - data/man/doing.1 +964 -0
 - data/man/doing.1.html +711 -0
 - data/man/doing.1.ronn +600 -0
 - data/package-lock.json +3 -0
 - data/rdoc_to_mmd.rb +42 -0
 - data/rdocfixer.rb +13 -0
 - data/scripts/generate_bash_completions.rb +211 -0
 - data/scripts/generate_fish_completions.rb +204 -0
 - data/scripts/generate_zsh_completions.rb +168 -0
 - metadata +82 -7
 - data/lib/doing/helpers.rb +0 -191
 - data/lib/doing/markdown_export.rb +0 -16
 
    
        data/Gemfile
    ADDED
    
    
    
        data/Gemfile.lock
    ADDED
    
    | 
         @@ -0,0 +1,110 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            PATH
         
     | 
| 
      
 2 
     | 
    
         
            +
              remote: .
         
     | 
| 
      
 3 
     | 
    
         
            +
              specs:
         
     | 
| 
      
 4 
     | 
    
         
            +
                doing (2.0.6.pre)
         
     | 
| 
      
 5 
     | 
    
         
            +
                  chronic (~> 0.10, >= 0.10.2)
         
     | 
| 
      
 6 
     | 
    
         
            +
                  deep_merge (~> 1.2, >= 1.2.1)
         
     | 
| 
      
 7 
     | 
    
         
            +
                  gli (~> 2.19, >= 2.19.2)
         
     | 
| 
      
 8 
     | 
    
         
            +
                  haml (~> 5.0.0, >= 5.0.0)
         
     | 
| 
      
 9 
     | 
    
         
            +
                  safe_yaml (~> 1.0)
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            GEM
         
     | 
| 
      
 12 
     | 
    
         
            +
              remote: http://rubygems.org/
         
     | 
| 
      
 13 
     | 
    
         
            +
              specs:
         
     | 
| 
      
 14 
     | 
    
         
            +
                activesupport (6.1.4)
         
     | 
| 
      
 15 
     | 
    
         
            +
                  concurrent-ruby (~> 1.0, >= 1.0.2)
         
     | 
| 
      
 16 
     | 
    
         
            +
                  i18n (>= 1.6, < 2)
         
     | 
| 
      
 17 
     | 
    
         
            +
                  minitest (>= 5.1)
         
     | 
| 
      
 18 
     | 
    
         
            +
                  tzinfo (~> 2.0)
         
     | 
| 
      
 19 
     | 
    
         
            +
                  zeitwerk (~> 2.3)
         
     | 
| 
      
 20 
     | 
    
         
            +
                aruba (1.0.4)
         
     | 
| 
      
 21 
     | 
    
         
            +
                  childprocess (>= 2.0, < 5.0)
         
     | 
| 
      
 22 
     | 
    
         
            +
                  contracts (~> 0.16.0)
         
     | 
| 
      
 23 
     | 
    
         
            +
                  cucumber (>= 2.4, < 6.0)
         
     | 
| 
      
 24 
     | 
    
         
            +
                  rspec-expectations (~> 3.4)
         
     | 
| 
      
 25 
     | 
    
         
            +
                  thor (~> 1.0)
         
     | 
| 
      
 26 
     | 
    
         
            +
                builder (3.2.4)
         
     | 
| 
      
 27 
     | 
    
         
            +
                childprocess (4.1.0)
         
     | 
| 
      
 28 
     | 
    
         
            +
                chronic (0.10.2)
         
     | 
| 
      
 29 
     | 
    
         
            +
                concurrent-ruby (1.1.9)
         
     | 
| 
      
 30 
     | 
    
         
            +
                contracts (0.16.1)
         
     | 
| 
      
 31 
     | 
    
         
            +
                cucumber (5.3.0)
         
     | 
| 
      
 32 
     | 
    
         
            +
                  builder (~> 3.2, >= 3.2.4)
         
     | 
| 
      
 33 
     | 
    
         
            +
                  cucumber-core (~> 8.0, >= 8.0.1)
         
     | 
| 
      
 34 
     | 
    
         
            +
                  cucumber-create-meta (~> 2.0, >= 2.0.2)
         
     | 
| 
      
 35 
     | 
    
         
            +
                  cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
         
     | 
| 
      
 36 
     | 
    
         
            +
                  cucumber-gherkin (~> 15.0, >= 15.0.2)
         
     | 
| 
      
 37 
     | 
    
         
            +
                  cucumber-html-formatter (~> 9.0, >= 9.0.0)
         
     | 
| 
      
 38 
     | 
    
         
            +
                  cucumber-messages (~> 13.1, >= 13.1.0)
         
     | 
| 
      
 39 
     | 
    
         
            +
                  cucumber-wire (~> 4.0, >= 4.0.1)
         
     | 
| 
      
 40 
     | 
    
         
            +
                  diff-lcs (~> 1.4, >= 1.4.4)
         
     | 
| 
      
 41 
     | 
    
         
            +
                  multi_test (~> 0.1, >= 0.1.2)
         
     | 
| 
      
 42 
     | 
    
         
            +
                  sys-uname (~> 1.2, >= 1.2.1)
         
     | 
| 
      
 43 
     | 
    
         
            +
                cucumber-core (8.0.1)
         
     | 
| 
      
 44 
     | 
    
         
            +
                  cucumber-gherkin (~> 15.0, >= 15.0.2)
         
     | 
| 
      
 45 
     | 
    
         
            +
                  cucumber-messages (~> 13.0, >= 13.0.1)
         
     | 
| 
      
 46 
     | 
    
         
            +
                  cucumber-tag-expressions (~> 2.0, >= 2.0.4)
         
     | 
| 
      
 47 
     | 
    
         
            +
                cucumber-create-meta (2.0.4)
         
     | 
| 
      
 48 
     | 
    
         
            +
                  cucumber-messages (~> 13.1, >= 13.1.0)
         
     | 
| 
      
 49 
     | 
    
         
            +
                  sys-uname (~> 1.2, >= 1.2.1)
         
     | 
| 
      
 50 
     | 
    
         
            +
                cucumber-cucumber-expressions (10.3.0)
         
     | 
| 
      
 51 
     | 
    
         
            +
                cucumber-gherkin (15.0.2)
         
     | 
| 
      
 52 
     | 
    
         
            +
                  cucumber-messages (~> 13.0, >= 13.0.1)
         
     | 
| 
      
 53 
     | 
    
         
            +
                cucumber-html-formatter (9.0.0)
         
     | 
| 
      
 54 
     | 
    
         
            +
                  cucumber-messages (~> 13.0, >= 13.0.1)
         
     | 
| 
      
 55 
     | 
    
         
            +
                cucumber-messages (13.2.1)
         
     | 
| 
      
 56 
     | 
    
         
            +
                  protobuf-cucumber (~> 3.10, >= 3.10.8)
         
     | 
| 
      
 57 
     | 
    
         
            +
                cucumber-tag-expressions (2.0.4)
         
     | 
| 
      
 58 
     | 
    
         
            +
                cucumber-wire (4.0.1)
         
     | 
| 
      
 59 
     | 
    
         
            +
                  cucumber-core (~> 8.0, >= 8.0.1)
         
     | 
| 
      
 60 
     | 
    
         
            +
                  cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
         
     | 
| 
      
 61 
     | 
    
         
            +
                  cucumber-messages (~> 13.0, >= 13.0.1)
         
     | 
| 
      
 62 
     | 
    
         
            +
                deep_merge (1.2.1)
         
     | 
| 
      
 63 
     | 
    
         
            +
                diff-lcs (1.4.4)
         
     | 
| 
      
 64 
     | 
    
         
            +
                ffi (1.15.3)
         
     | 
| 
      
 65 
     | 
    
         
            +
                gli (2.20.1)
         
     | 
| 
      
 66 
     | 
    
         
            +
                haml (5.0.4)
         
     | 
| 
      
 67 
     | 
    
         
            +
                  temple (>= 0.8.0)
         
     | 
| 
      
 68 
     | 
    
         
            +
                  tilt
         
     | 
| 
      
 69 
     | 
    
         
            +
                i18n (1.8.10)
         
     | 
| 
      
 70 
     | 
    
         
            +
                  concurrent-ruby (~> 1.0)
         
     | 
| 
      
 71 
     | 
    
         
            +
                middleware (0.1.0)
         
     | 
| 
      
 72 
     | 
    
         
            +
                minitest (5.14.4)
         
     | 
| 
      
 73 
     | 
    
         
            +
                multi_test (0.1.2)
         
     | 
| 
      
 74 
     | 
    
         
            +
                power_assert (2.0.0)
         
     | 
| 
      
 75 
     | 
    
         
            +
                protobuf-cucumber (3.10.8)
         
     | 
| 
      
 76 
     | 
    
         
            +
                  activesupport (>= 3.2)
         
     | 
| 
      
 77 
     | 
    
         
            +
                  middleware
         
     | 
| 
      
 78 
     | 
    
         
            +
                  thor
         
     | 
| 
      
 79 
     | 
    
         
            +
                  thread_safe
         
     | 
| 
      
 80 
     | 
    
         
            +
                rake (13.0.3)
         
     | 
| 
      
 81 
     | 
    
         
            +
                rdoc (6.3.2)
         
     | 
| 
      
 82 
     | 
    
         
            +
                rspec-expectations (3.10.1)
         
     | 
| 
      
 83 
     | 
    
         
            +
                  diff-lcs (>= 1.2.0, < 2.0)
         
     | 
| 
      
 84 
     | 
    
         
            +
                  rspec-support (~> 3.10.0)
         
     | 
| 
      
 85 
     | 
    
         
            +
                rspec-support (3.10.2)
         
     | 
| 
      
 86 
     | 
    
         
            +
                safe_yaml (1.0.5)
         
     | 
| 
      
 87 
     | 
    
         
            +
                sys-uname (1.2.2)
         
     | 
| 
      
 88 
     | 
    
         
            +
                  ffi (~> 1.1)
         
     | 
| 
      
 89 
     | 
    
         
            +
                temple (0.8.2)
         
     | 
| 
      
 90 
     | 
    
         
            +
                test-unit (3.4.4)
         
     | 
| 
      
 91 
     | 
    
         
            +
                  power_assert
         
     | 
| 
      
 92 
     | 
    
         
            +
                thor (1.1.0)
         
     | 
| 
      
 93 
     | 
    
         
            +
                thread_safe (0.3.6)
         
     | 
| 
      
 94 
     | 
    
         
            +
                tilt (2.0.10)
         
     | 
| 
      
 95 
     | 
    
         
            +
                tzinfo (2.0.4)
         
     | 
| 
      
 96 
     | 
    
         
            +
                  concurrent-ruby (~> 1.0)
         
     | 
| 
      
 97 
     | 
    
         
            +
                zeitwerk (2.4.2)
         
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
            PLATFORMS
         
     | 
| 
      
 100 
     | 
    
         
            +
              ruby
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
            DEPENDENCIES
         
     | 
| 
      
 103 
     | 
    
         
            +
              aruba (~> 1.0.2)
         
     | 
| 
      
 104 
     | 
    
         
            +
              doing!
         
     | 
| 
      
 105 
     | 
    
         
            +
              rake (~> 13.0, >= 13.0.1)
         
     | 
| 
      
 106 
     | 
    
         
            +
              rdoc (~> 6.3.1)
         
     | 
| 
      
 107 
     | 
    
         
            +
              test-unit (~> 3.4.4)
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
            BUNDLED WITH
         
     | 
| 
      
 110 
     | 
    
         
            +
               2.2.17
         
     | 
    
        data/LICENSE
    ADDED
    
    | 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            The MIT License (MIT)
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            Copyright (c) 2014 Brett Terpstra
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
      
 6 
     | 
    
         
            +
            of this software and associated documentation files (the "Software"), to deal
         
     | 
| 
      
 7 
     | 
    
         
            +
            in the Software without restriction, including without limitation the rights
         
     | 
| 
      
 8 
     | 
    
         
            +
            to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         
     | 
| 
      
 9 
     | 
    
         
            +
            copies of the Software, and to permit persons to whom the Software is
         
     | 
| 
      
 10 
     | 
    
         
            +
            furnished to do so, subject to the following conditions:
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            The above copyright notice and this permission notice shall be included in
         
     | 
| 
      
 13 
     | 
    
         
            +
            all copies or substantial portions of the Software.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         
     | 
| 
      
 16 
     | 
    
         
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         
     | 
| 
      
 17 
     | 
    
         
            +
            FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         
     | 
| 
      
 18 
     | 
    
         
            +
            AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         
     | 
| 
      
 19 
     | 
    
         
            +
            LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         
     | 
| 
      
 20 
     | 
    
         
            +
            OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
         
     | 
| 
      
 21 
     | 
    
         
            +
            THE SOFTWARE.
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            This software embeds fzf: <https://github.com/junegunn/fzf/blob/master/LICENSE>
         
     |