doing 2.1.4pre → 2.1.7
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/.yardoc/checksums +14 -13
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +37 -1
- data/Gemfile.lock +3 -1
- data/README.md +5 -1
- data/bin/doing +192 -95
- 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 +117 -12
- 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 +100 -73
- data/{doc → docs/doc}/Doing/Items.html +2 -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 +1 -1
- 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 +1 -1
- data/{doc → docs/doc}/Doing/WWID.html +5 -5
- 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 +182 -12
- data/{doc → docs/doc}/Symbol.html +35 -1
- data/{doc → docs/doc}/Time.html +1 -1
- data/{doc → docs/doc}/_index.html +21 -14
- data/{doc → docs/doc}/class_list.html +1 -1
- 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 +313 -161
- data/{doc → docs/doc}/top-level-namespace.html +1 -1
- data/docs/index.md +60 -0
- data/doing.gemspec +1 -0
- data/doing.rdoc +74 -15
- 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/completion/fish_completion.rb +46 -3
- data/lib/doing/completion/zsh_completion.rb +1 -1
- data/lib/doing/configuration.rb +33 -11
- data/lib/doing/item.rb +12 -3
- data/lib/doing/log_adapter.rb +28 -0
- data/lib/doing/note.rb +31 -30
- 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 +90 -85
- data/lib/doing/prompt.rb +9 -6
- data/lib/doing/string.rb +68 -27
- data/lib/doing/symbol.rb +4 -0
- data/lib/doing/template_string.rb +197 -0
- data/lib/doing/util.rb +4 -2
- data/lib/doing/util_backup.rb +55 -3
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +37 -22
- data/lib/doing.rb +3 -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 +95 -53
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45abffdcb15836ea64cdf3f0319d1f9b1f87cab167727a70c353f59e727bc871
|
|
4
|
+
data.tar.gz: 4a90508d94d94fb9cd66fa4f1ced8c1877ac7d02ebe1fee43274411b131f65e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d95b5f8279d8d5d915305f700c6ab1013ba276371c3e553bc1b59f4c15a6859b4df40742ee6430836233c6049b831da893c6a70ed43fd7556c033fcead8c1e0
|
|
7
|
+
data.tar.gz: 474407eb66ca2ba4ed364e5e41f6440911c80926a83848e8cdc7669d83f7f526720e38330457b41ffca86d3b5471114538f34ed64f5409b2f8e9d05ace1d9571
|
data/.yardoc/checksums
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
lib/doing/hash.rb c2960de9603dcf90be85ce423d9430de27f4f893
|
|
2
|
-
lib/doing/item.rb
|
|
3
|
-
lib/doing/note.rb
|
|
2
|
+
lib/doing/item.rb fcf106fb43a1a979d5213c8ac47161d9f6d8635f
|
|
3
|
+
lib/doing/note.rb bbadd9e34e6dc43a2af1110a5107f46c39d2547f
|
|
4
4
|
lib/doing/time.rb 4411af636082d3abf6f6402a7d6c9038d96a9ead
|
|
5
|
-
lib/doing/util.rb
|
|
6
|
-
lib/doing/wwid.rb
|
|
7
|
-
lib/doing/array.rb
|
|
5
|
+
lib/doing/util.rb 33ad79455893213a0f2993edec0e158526657f09
|
|
6
|
+
lib/doing/wwid.rb 6de8c0cca0e1563b80146032e8988798f651af53
|
|
7
|
+
lib/doing/array.rb a17004c4811d239932254f9ed94a6eb10456c8e8
|
|
8
8
|
lib/doing/hooks.rb 00feacdbf24dc67951c49ca8c1ca9a568441920e
|
|
9
9
|
lib/doing/items.rb 0860a0ac7269f59de994ae900c980e49359dc8d5
|
|
10
10
|
lib/doing/pager.rb 230c10dea5e9c68b5709a0f4cb088c76970965e4
|
|
11
11
|
lib/doing/colors.rb 9a628d48c821313c502deedc5b61a046a2bf79ef
|
|
12
12
|
lib/doing/errors.rb af07e482a5389924edc2337749c81cda501098f0
|
|
13
|
-
lib/doing/prompt.rb
|
|
14
|
-
lib/doing/string.rb
|
|
15
|
-
lib/doing/symbol.rb
|
|
13
|
+
lib/doing/prompt.rb df41a7e4328cc38b5c170af3de6ef2b0bf1fcc49
|
|
14
|
+
lib/doing/string.rb 8f6d1f8ba765bedf72f1af23be3617ce03aebb03
|
|
15
|
+
lib/doing/symbol.rb f18605aac49be688c9641de9564e48055a0f3757
|
|
16
16
|
lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
|
|
17
|
-
lib/doing/version.rb
|
|
17
|
+
lib/doing/version.rb 98212bfa6e548b9edd525ac37f0932bbfd04b866
|
|
18
18
|
lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
|
|
19
19
|
lib/doing/completion.rb 3b291eb38e651ea993d04db592a5e743057626e6
|
|
20
|
-
lib/doing/log_adapter.rb
|
|
21
|
-
lib/doing/util_backup.rb
|
|
22
|
-
lib/doing/configuration.rb
|
|
20
|
+
lib/doing/log_adapter.rb 9f2060c4f4c77b4facd94fc63aa9304c091c34d4
|
|
21
|
+
lib/doing/util_backup.rb 458352e8442c47a0d2f023b371b4ea1aea6cce96
|
|
22
|
+
lib/doing/configuration.rb b00ede3bfc4a6e16a957fabf2b03114e0008e42d
|
|
23
23
|
lib/doing/phrase_parser.rb 8f1789d7cf8326d8cc231b4a21505a93f8de20d2
|
|
24
|
-
lib/doing/plugin_manager.rb
|
|
24
|
+
lib/doing/plugin_manager.rb cb16a82c3182ef7008359670ab96ff6b39270ccc
|
|
25
25
|
lib/doing/string_chronify.rb ccbb08389d2139c7121203f8585864e3026d1526
|
|
26
|
+
lib/doing/template_string.rb 6dfb28b922059189b072e6d9fe1fcba8aad6c6fe
|
|
26
27
|
lib/doing/boolean_term_parser.rb 075977892ac5c6e3435cb8877d8b8b68eb1962e3
|
|
27
28
|
lib/doing/markdown_document_listener.rb 45485f225068a34951ec818a345f642323e5ba35
|
data/.yardoc/object_types
CHANGED
|
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
|
Binary file
|
data/.yardopts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
--markup-provider=redcarpet --markup=markdown --no-private --exclude=README.md lib/doing/*.rb
|
|
1
|
+
--output-dir docs/doc --markup-provider=redcarpet --markup=markdown --no-private --exclude=README.md lib/doing/*.rb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
### 2.1.
|
|
1
|
+
### 2.1.7
|
|
2
|
+
|
|
3
|
+
#### NEW
|
|
4
|
+
|
|
5
|
+
- Hidden command `doing commands_accepting` which shows all commands that accept a given option, e.g. `doing commands_accepting search` shows all commands that take a search filter
|
|
6
|
+
|
|
7
|
+
#### IMPROVED
|
|
8
|
+
|
|
9
|
+
- The output of `doing template --list` now shows the file type of each template
|
|
10
|
+
- Output templates can now be saved to a default location/filename using `doing template html --save`
|
|
11
|
+
|
|
12
|
+
#### FIXED
|
|
13
|
+
|
|
14
|
+
- Error running `doing recent` on certain older ruby versions
|
|
15
|
+
|
|
16
|
+
### 2.1.6
|
|
2
17
|
|
|
3
18
|
#### NEW
|
|
4
19
|
|
|
@@ -13,6 +28,27 @@
|
|
|
13
28
|
- New boolean type for tag searches, PATTERN (which is now the default). Combine tags using symbols to create more complex boolean searches, e.g. "doing +coding -work"
|
|
14
29
|
- You can now define `date_tags` in config, an array of tags/patterns that will be recognized when parsing for natural language dates which are converted when saving new entries
|
|
15
30
|
- `--search` strings can contain quoted phrases and use +/- to require or ban terms, e.g. `--search 'doing +coding -writing'
|
|
31
|
+
- Interactive option for redo command
|
|
32
|
+
- Plugins for Day One export
|
|
33
|
+
|
|
34
|
+
#### IMPROVED
|
|
35
|
+
|
|
36
|
+
- Better diff output for fzf preview of `doing undo` history
|
|
37
|
+
- Fall back to good ol' sed for colorizing diffs when no good tool is available
|
|
38
|
+
- `doing redo` (a.k.a. `doing undo --redo`) can be run multiple times, stepping forward through undo history. Can also take a count to jump
|
|
39
|
+
- Matching algorithm can be configured in settings
|
|
40
|
+
- All template placeholders can now use the "printf" formatting that %title and %note have, allowing for padding, prefixes, etc.
|
|
41
|
+
- Move default locations for doing file and backups to ~/.local/share/doing
|
|
42
|
+
- `doing show --menu` will only offer tags that exist after any tag/search filters have been run
|
|
43
|
+
- `doing show @tag` with `--menu` will first filter by the @tag, then do an OR search for tags selected from the menu
|
|
44
|
+
|
|
45
|
+
#### FIXED
|
|
46
|
+
|
|
47
|
+
- `doing reset` without filter not automatically affecting most recent entry
|
|
48
|
+
- `config set` now preserves value type (string, array, mapping) of previous value, coercing new value if needed
|
|
49
|
+
- Preserve colors when wrapping text to new lines
|
|
50
|
+
- Tag highlighting errors
|
|
51
|
+
- Template options specified in views were being overriden by options in templates. View config now has precedence, but will fall back to template config for missing keys
|
|
16
52
|
|
|
17
53
|
#### IMPROVED
|
|
18
54
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
doing (2.1.
|
|
4
|
+
doing (2.1.7)
|
|
5
5
|
chronic (~> 0.10, >= 0.10.2)
|
|
6
6
|
deep_merge (~> 1.2, >= 1.2.1)
|
|
7
7
|
gli (~> 2.19, >= 2.19.2)
|
|
8
8
|
haml (~> 5.0.0, >= 5.0.0)
|
|
9
9
|
parslet (~> 2.0, >= 2.0.0)
|
|
10
|
+
plist (~> 3.6, >= 3.6.0)
|
|
10
11
|
safe_yaml (~> 1.0)
|
|
11
12
|
tty-link (~> 0.1, >= 0.1.1)
|
|
12
13
|
tty-markdown (~> 0.7, >= 0.7.0)
|
|
@@ -85,6 +86,7 @@ GEM
|
|
|
85
86
|
parslet (2.0.0)
|
|
86
87
|
pastel (0.8.0)
|
|
87
88
|
tty-color (~> 0.5)
|
|
89
|
+
plist (3.6.0)
|
|
88
90
|
power_assert (2.0.1)
|
|
89
91
|
protobuf-cucumber (3.10.8)
|
|
90
92
|
activesupport (>= 3.2)
|
data/README.md
CHANGED
|
@@ -6,10 +6,14 @@ _If you're one of the rare people like me who find this useful, feel free to [bu
|
|
|
6
6
|
|
|
7
7
|
<!--README-->
|
|
8
8
|
|
|
9
|
-
The current version of `doing` is <!--VER-->2.1.
|
|
9
|
+
The current version of `doing` is <!--VER-->2.1.5<!--END VER-->.
|
|
10
10
|
|
|
11
11
|
Find all of the documentation in the [doing wiki](https://github.com/ttscoff/doing/wiki).
|
|
12
12
|
|
|
13
|
+
See [what's new in Doing 2.0](https://brettterpstra.com/2021/11/20/doing-2-dot-0/).
|
|
14
|
+
|
|
15
|
+
Check out some craziness with Doing in the [iTerm status bar](https://brettterpstra.com/2021/10/15/see-what-youre-doing-in-the-iterm-status-bar/) and the [Mac Touch Bar/menu bar](https://brettterpstra.com/2021/07/21/crazy-bettertouchtool-touch-bar-simulator/).
|
|
16
|
+
|
|
13
17
|
## What and why
|
|
14
18
|
|
|
15
19
|
`doing` is a basic CLI for adding and listing "what was I doing" reminders in a [TaskPaper-formatted](https://www.taskpaper.com) text file. It allows for multiple sections/categories and flexible output formatting.
|