doing 2.1.21 → 2.1.25
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 -16
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +51 -13
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +6 -3
- data/bin/doing +254 -103
- data/docs/doc/Array.html +74 -34
- 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 +4 -4
- data/docs/doc/Doing/Completion.html +2 -2
- data/docs/doc/Doing/Configuration.html +16 -18
- 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 +16 -16
- data/docs/doc/Doing/Section.html +6 -6
- data/docs/doc/Doing/TemplateString.html +8 -8
- data/docs/doc/Doing/Types.html +206 -0
- data/docs/doc/Doing/Util/Backup.html +10 -10
- data/docs/doc/Doing/Util.html +16 -19
- data/docs/doc/Doing/WWID.html +65 -53
- data/docs/doc/Doing.html +4 -4
- data/docs/doc/GLI/Commands/Help.html +185 -0
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +17 -17
- data/docs/doc/GLI/Commands.html +5 -3
- data/docs/doc/GLI.html +4 -2
- data/docs/doc/Hash.html +119 -21
- data/docs/doc/Numeric.html +5 -5
- 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 +206 -51
- data/docs/doc/Symbol.html +8 -8
- data/docs/doc/Time.html +6 -6
- data/docs/doc/_index.html +51 -14
- 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 +348 -252
- data/docs/doc/top-level-namespace.html +2 -93
- data/docs/index.md +1 -1
- data/doing.rdoc +177 -20
- data/example_plugin.rb +2 -2
- data/lib/completion/_doing.zsh +24 -24
- data/lib/completion/doing.bash +31 -20
- data/lib/completion/doing.fish +32 -10
- data/lib/doing/array.rb +5 -4
- data/lib/doing/array_chronify.rb +4 -3
- data/lib/doing/changelog/change.rb +115 -0
- data/lib/doing/changelog/changes.rb +73 -0
- data/lib/doing/changelog/entry.rb +21 -0
- data/lib/doing/changelog/version.rb +97 -0
- data/lib/doing/changelog.rb +6 -0
- data/lib/doing/completion/fish_completion.rb +2 -1
- data/lib/doing/configuration.rb +20 -14
- data/lib/doing/good.rb +64 -0
- data/lib/doing/hash.rb +28 -5
- data/lib/doing/help_monkey_patch.rb +31 -0
- data/lib/doing/hooks.rb +8 -4
- data/lib/doing/item.rb +24 -35
- data/lib/doing/log_adapter.rb +1 -1
- data/lib/doing/pager.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +9 -3
- 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 +4 -2
- data/lib/doing/string.rb +30 -12
- data/lib/doing/string_chronify.rb +1 -1
- data/lib/doing/template_string.rb +9 -2
- data/lib/doing/types.rb +23 -16
- data/lib/doing/util.rb +12 -11
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +65 -46
- data/lib/doing.rb +3 -0
- data/lib/helpers/threaded_tests.rb +106 -99
- data/lib/helpers/threaded_tests_string.rb +50 -0
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1210e69ba2e32a9e2c91d5e98c203f062c6b439bb37be2e675a8078a2ca34927
|
4
|
+
data.tar.gz: 95b84f63985564c18f4c352fdeb1dfc3ae02b1f78417159d83d354d87ab8df51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3a4fae4e4b530809b4d580e258dbd1e7d9382bec476725af3e8c551188bb85c071859db50d7c4686ab8c5208332850276c40c0411592546e43718ec07c1d56
|
7
|
+
data.tar.gz: 9808b2d41cd54c0a7ce52c714cf8111ad3cc81bbd1332acad49979f0ab9785b817911eb3bf9ca889a90fbd5ec9960974234611ce05fe96f35eb8f83479510588
|
data/.yardoc/checksums
CHANGED
@@ -1,31 +1,34 @@
|
|
1
|
-
lib/doing/
|
2
|
-
lib/doing/
|
1
|
+
lib/doing/good.rb de4a18a87ac6d316037750944f91f0a3739adafc
|
2
|
+
lib/doing/hash.rb 321c27f54f332260c6adced7e451016b79574d38
|
3
|
+
lib/doing/item.rb 8aec1775784e73fd7181efca4482dac94d466619
|
3
4
|
lib/doing/note.rb bbadd9e34e6dc43a2af1110a5107f46c39d2547f
|
4
5
|
lib/doing/time.rb 60183c3c31532ffea1440c766de0f90042e0fd10
|
5
|
-
lib/doing/util.rb
|
6
|
-
lib/doing/wwid.rb
|
7
|
-
lib/doing/array.rb
|
8
|
-
lib/doing/hooks.rb
|
6
|
+
lib/doing/util.rb 183577d0d9dee966dcf65645b312b17b958e46d6
|
7
|
+
lib/doing/wwid.rb 1410410c6072cc330baedea27e30a371ec7d3136
|
8
|
+
lib/doing/array.rb b50c4604cb685dff87bc16bc20f21a5956b2b396
|
9
|
+
lib/doing/hooks.rb 1b75ca731f9e8cb0b7a32785d6e496ee67a70d5c
|
9
10
|
lib/doing/items.rb 69c762d337d9dad2b780cd08cc1c8785310e23ba
|
10
|
-
lib/doing/pager.rb
|
11
|
-
lib/doing/types.rb
|
11
|
+
lib/doing/pager.rb a5dc55e1163d1b8476617e924a3aee4f9bf8be00
|
12
|
+
lib/doing/types.rb df05c1282d5f6b8efda68c6f289499683a5cc7d1
|
12
13
|
lib/doing/colors.rb b7239a69e10c5df9378a5843441af5b93c1872f8
|
13
14
|
lib/doing/errors.rb af07e482a5389924edc2337749c81cda501098f0
|
14
|
-
lib/doing/prompt.rb
|
15
|
-
lib/doing/string.rb
|
15
|
+
lib/doing/prompt.rb d241935b209e69a14c55a9c3a035f1751c576b4c
|
16
|
+
lib/doing/string.rb 32fd00cfdfb01a664e194e70ffcad199cd217741
|
16
17
|
lib/doing/symbol.rb 309799458a1bc715c2707307c9a62ab26086275e
|
17
18
|
lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
|
18
|
-
lib/doing/version.rb
|
19
|
+
lib/doing/version.rb 7ee8c2f346a5dc0402119b87bb46593f3e368254
|
20
|
+
lib/doing/changelog.rb f7d1bd424e63400ab0613ef3358e614fdf53e2b5
|
19
21
|
lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
|
20
22
|
lib/doing/completion.rb c658e7dc7898fb022a21b2bd77bedb958ca3b067
|
21
|
-
lib/doing/log_adapter.rb
|
23
|
+
lib/doing/log_adapter.rb 62ee66981878bd7285ccf0dfeca90a3d6d2af985
|
22
24
|
lib/doing/util_backup.rb c13f71072581b1f0d2269853611ba09273261bf9
|
23
|
-
lib/doing/configuration.rb
|
25
|
+
lib/doing/configuration.rb 390e07a32720bd6db576bf6ad909529a9228de8d
|
24
26
|
lib/doing/phrase_parser.rb 8f1789d7cf8326d8cc231b4a21505a93f8de20d2
|
25
|
-
lib/doing/array_chronify.rb
|
27
|
+
lib/doing/array_chronify.rb b39b40268b1751b18acf6bae4e53885818e45f62
|
26
28
|
lib/doing/plugin_manager.rb cb16a82c3182ef7008359670ab96ff6b39270ccc
|
27
|
-
lib/doing/string_chronify.rb
|
28
|
-
lib/doing/template_string.rb
|
29
|
+
lib/doing/string_chronify.rb 888afa2175f3bb6cac0d68e3cb0f27cf162bb1bf
|
30
|
+
lib/doing/template_string.rb 3b35970f2a68112192d2bb97c1298b90cf717b3d
|
29
31
|
lib/doing/numeric_chronify.rb bedeff62a95f8a8ff116e1bf0cc1d9eb2707a900
|
32
|
+
lib/doing/help_monkey_patch.rb 6aa514c249e519db507ae528de2604c18cc36045
|
30
33
|
lib/doing/boolean_term_parser.rb 075977892ac5c6e3435cb8877d8b8b68eb1962e3
|
31
34
|
lib/doing/markdown_document_listener.rb 45485f225068a34951ec818a345f642323e5ba35
|
data/.yardoc/object_types
CHANGED
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,26 +1,64 @@
|
|
1
|
-
### 2.1.
|
1
|
+
### 2.1.25
|
2
2
|
|
3
|
-
2022-01-
|
3
|
+
2022-01-23 09:20
|
4
4
|
|
5
5
|
#### NEW
|
6
6
|
|
7
|
-
-
|
8
|
-
- (Breaking change) Made the later command an optional plugin, see wiki for how to install (and create) custom commands
|
9
|
-
- Config setting doing_file_sort (asc or desc) determines the sort order of entries in the actual Doing file. Has no effect on other operations, just allows you to store the file with newest entries at top (desc) or bottom (asc).
|
7
|
+
- `doing now --from 'TIME [to TIME]'` flag, sets start date and optionally adds dated @done tag.
|
10
8
|
|
11
9
|
#### IMPROVED
|
12
10
|
|
13
|
-
-
|
14
|
-
|
11
|
+
- :post_entry_updated hook now receives both the updated item (mutable) and a copy of the original item
|
12
|
+
|
13
|
+
#### FIXED
|
14
|
+
|
15
|
+
- Regex warning on Ruby 2.7
|
16
|
+
- :post_entry_added hook was receiving new items couldn't be modified
|
17
|
+
|
18
|
+
### 2.1.24
|
19
|
+
|
20
|
+
2022-01-22 17:27
|
21
|
+
|
22
|
+
#### IMPROVED
|
23
|
+
|
24
|
+
- Minor update to Fish completion script
|
25
|
+
|
26
|
+
#### FIXED
|
27
|
+
|
28
|
+
- Changelog formatting issue # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch develop # Your branch is ahead of 'origin/develop' by 3 commits. # # Changes to be committed: # modified: CHANGELOG.md # # ------------------------ >8 ------------------------ # Do not modify or remove the line above. # Everything below it will be ignored. diff --git a/CHANGELOG.md b/CHANGELOG.md index 962cc74..81bde33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - Minor update to Fish completion script +#### FIXED + +- Fix changelog issue + ### 2.1.23 2022-01-22 15:52
|
29
|
+
|
30
|
+
### 2.1.23
|
31
|
+
|
32
|
+
2022-01-22 15:52
|
33
|
+
|
34
|
+
#### NEW
|
35
|
+
|
36
|
+
- All display commands (except view) now accept `--config_template TEMPLATE_KEY` to override that commands default template.
|
37
|
+
- Display commands accept `--template`, which takes a template string containing %placeholders and overrides the commands default template output. Affects grep, last, on, recent, show, since, today, yesterday
|
38
|
+
|
39
|
+
#### IMPROVED
|
40
|
+
|
41
|
+
- With complete examples in the help output for most commands, `doing help` almost always requires scrolling up. It now automatically paginates using your system $PAGER (or best detected option).
|
42
|
+
- `doing tags` takes a MAX_COUNT argument to limit results when searching
|
43
|
+
- `doing tags --line` flag to output tags in a single line
|
44
|
+
- Mostly for my own use, `doing changes` (which views the changelog) now accepts `--lookup VERSION` and `--search SEARCH_PATTERN`
|
45
|
+
- `doing changes --lookup` accepts `"< 2.1 > 2.0"`, `"2.1.10-2.2"`, a specific version, or a version number with wildcards
|
46
|
+
- When registering hooks, you can pass an array to register a block for multiple events, assuming the events provide the same block arguments (like post_entry_added and post_entry_updated)
|
47
|
+
|
48
|
+
#### FIXED
|
49
|
+
|
50
|
+
- Running `--tag "@doing"` wouldn't work where `--tag "doing"` would. Now properly ignoring @ symbols
|
51
|
+
|
52
|
+
### 2.1.22
|
53
|
+
|
54
|
+
2022-01-21 14:53
|
55
|
+
|
56
|
+
### 2.1.21
|
57
|
+
|
58
|
+
2022-01-20 12:05
|
15
59
|
|
16
60
|
#### FIXED
|
17
61
|
|
18
|
-
- `doing again` should only mark the original repeating entry @done, not search for the last unfinished entry
|
19
|
-
- Error when using `doing finish --auto`
|
20
|
-
- `doing on wed` when today is wednesday not returning results
|
21
|
-
- Using `config set` with a false value deleted the key from config
|
22
|
-
- `config set` with true or false value was inserting a quoted string
|
23
|
-
- Entries were not being sorted (at all) within sections when writing the Doing file
|
24
62
|
- Custom types not available to custom commands
|
25
63
|
|
26
64
|
### 2.1.20
|
data/Gemfile.lock
CHANGED
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.
|
11
|
+
The current version of `doing` is <!--VER-->2.1.24<!--END VER-->.
|
12
12
|
|
13
13
|
Find all of the documentation in the [doing wiki][wiki].
|
14
14
|
|
data/Rakefile
CHANGED
@@ -52,9 +52,11 @@ end
|
|
52
52
|
|
53
53
|
desc 'Run all tests, threaded'
|
54
54
|
task :test, :pattern, :threads, :max_tests do |_, args|
|
55
|
-
args.with_defaults(pattern: '*', threads:
|
55
|
+
args.with_defaults(pattern: '*', threads: 8, max_tests: 0)
|
56
|
+
pattern = args[:pattern] =~ /(n[iu]ll?|0|\.)/i ? '*' : args[:pattern]
|
57
|
+
|
56
58
|
require_relative 'lib/helpers/threaded_tests'
|
57
|
-
ThreadedTests.new.run(pattern:
|
59
|
+
ThreadedTests.new.run(pattern: pattern, max_threads: args[:threads].to_i, max_tests: args[:max_tests])
|
58
60
|
end
|
59
61
|
|
60
62
|
desc 'Run tests in Docker'
|
@@ -75,10 +77,11 @@ task :dockertest, :version, :login do |_, args|
|
|
75
77
|
file = 'Dockerfile'
|
76
78
|
end
|
77
79
|
|
78
|
-
exec "docker run -it #{img} /bin/bash -l" if args[:login]
|
79
80
|
|
80
81
|
puts `docker build . --file #{file} -t #{img}`
|
81
82
|
|
83
|
+
exec "docker run -it #{img} /bin/bash -l" if args[:login]
|
84
|
+
|
82
85
|
spinner = TTY::Spinner.new('[:spinner] Running tests ...', hide_cursor: true)
|
83
86
|
|
84
87
|
spinner.auto_spin
|