doing 2.1.19 → 2.1.24
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 +70 -0
- data/Gemfile.lock +11 -11
- data/README.md +1 -1
- data/Rakefile +12 -4
- data/bin/doing +297 -234
- data/docs/doc/Array.html +7 -30
- data/docs/doc/BooleanTermParser/Clause.html +3 -3
- data/docs/doc/BooleanTermParser/Operator.html +3 -3
- data/docs/doc/BooleanTermParser/Query.html +3 -3
- data/docs/doc/BooleanTermParser/QueryParser.html +3 -3
- data/docs/doc/BooleanTermParser/QueryTransformer.html +3 -3
- data/docs/doc/BooleanTermParser.html +3 -3
- data/docs/doc/Doing/Color.html +3 -3
- data/docs/doc/Doing/Completion.html +3 -3
- data/docs/doc/Doing/Configuration.html +6 -5
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +3 -3
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +3 -3
- data/docs/doc/Doing/Errors/DoingStandardError.html +3 -3
- data/docs/doc/Doing/Errors/EmptyInput.html +3 -3
- data/docs/doc/Doing/Errors/NoResults.html +3 -3
- data/docs/doc/Doing/Errors/PluginException.html +3 -3
- data/docs/doc/Doing/Errors/UserCancelled.html +3 -3
- data/docs/doc/Doing/Errors/WrongCommand.html +3 -3
- data/docs/doc/Doing/Errors.html +3 -3
- data/docs/doc/Doing/Hooks.html +3 -3
- data/docs/doc/Doing/Item.html +3 -3
- data/docs/doc/Doing/Items.html +3 -3
- data/docs/doc/Doing/LogAdapter.html +3 -3
- data/docs/doc/Doing/Note.html +3 -3
- data/docs/doc/Doing/Pager.html +3 -3
- data/docs/doc/Doing/Plugins.html +3 -3
- data/docs/doc/Doing/Prompt.html +7 -7
- data/docs/doc/Doing/Section.html +3 -3
- data/docs/doc/Doing/TemplateString.html +4 -4
- data/docs/doc/Doing/Types.html +201 -0
- data/docs/doc/Doing/Util/Backup.html +3 -3
- data/docs/doc/Doing/Util.html +4 -7
- data/docs/doc/Doing/WWID.html +66 -8
- data/docs/doc/Doing.html +6 -6
- data/docs/doc/GLI/Commands/Help.html +185 -0
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +3 -3
- data/docs/doc/GLI/Commands.html +7 -5
- data/docs/doc/GLI.html +6 -4
- data/docs/doc/Hash.html +80 -16
- data/docs/doc/Numeric.html +3 -3
- data/docs/doc/PhraseParser/Operator.html +3 -3
- data/docs/doc/PhraseParser/PhraseClause.html +3 -3
- data/docs/doc/PhraseParser/Query.html +3 -3
- data/docs/doc/PhraseParser/QueryParser.html +3 -3
- data/docs/doc/PhraseParser/QueryTransformer.html +3 -3
- data/docs/doc/PhraseParser/TermClause.html +3 -3
- data/docs/doc/PhraseParser.html +3 -3
- data/docs/doc/Status.html +3 -3
- data/docs/doc/String.html +195 -26
- data/docs/doc/Symbol.html +3 -3
- data/docs/doc/Time.html +3 -3
- data/docs/doc/_index.html +22 -8
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +4 -4
- data/docs/doc/frames.html +1 -1
- data/docs/doc/index.html +4 -4
- data/docs/doc/method_list.html +334 -270
- data/docs/doc/top-level-namespace.html +3 -3
- data/docs/index.md +1 -1
- data/doing.gemspec +1 -1
- data/doing.rdoc +173 -15
- data/lib/completion/_doing.zsh +20 -20
- data/lib/completion/doing.bash +37 -26
- data/lib/completion/doing.fish +116 -17
- 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 +82 -12
- data/lib/doing/configuration.rb +17 -8
- data/lib/doing/hash.rb +25 -6
- data/lib/doing/help_monkey_patch.rb +31 -0
- data/lib/doing/hooks.rb +5 -1
- data/lib/doing/item.rb +10 -25
- data/lib/doing/items.rb +3 -1
- data/lib/doing/log_adapter.rb +1 -1
- data/lib/doing/pager.rb +2 -2
- data/lib/doing/plugins/export/dayone_export.rb +1 -1
- data/lib/doing/plugins/export/markdown_export.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +9 -3
- data/lib/doing/prompt.rb +4 -2
- data/lib/doing/string.rb +40 -11
- data/lib/doing/string_chronify.rb +56 -18
- data/lib/doing/template_string.rb +7 -0
- data/lib/doing/types.rb +25 -0
- data/lib/doing/util.rb +2 -1
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +91 -67
- data/lib/doing.rb +2 -0
- data/lib/examples/commands/later.rb +32 -0
- data/lib/helpers/threaded_tests.rb +286 -0
- metadata +17 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19f61c0a50ba9d72b2513bfa7c12e90a0b7d1dc63d0f478b7530a1a5be603418
|
4
|
+
data.tar.gz: 2239357f17bc9ac71e85447062bafae9e1e7e176fb8dfe41370f5ff621b400d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 474677211983ca71287f1eef0bfe1de455e97f5123a4947ec5b533fd3148d0e21a27697337748ef1a3e20a422de0e0d0db3da9d243943ce37340be2375ea7e8f
|
7
|
+
data.tar.gz: 69f35f030a2b761e26ba9b81668c6f03abcd8f6e45400f07ddca4bc8c632cfdb4cc9f6b974837327dd0073f38aaf40cc349632200586832c4894314e5e434856
|
data/.yardoc/checksums
CHANGED
@@ -1,30 +1,33 @@
|
|
1
|
-
lib/doing/hash.rb
|
2
|
-
lib/doing/item.rb
|
1
|
+
lib/doing/hash.rb 48b7ed855f33b2f10b4be41b09cee1efcb855b4b
|
2
|
+
lib/doing/item.rb b508a3da515f86981b30d61083e0dbb8549f894c
|
3
3
|
lib/doing/note.rb bbadd9e34e6dc43a2af1110a5107f46c39d2547f
|
4
4
|
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
|
9
|
-
lib/doing/items.rb
|
10
|
-
lib/doing/pager.rb
|
5
|
+
lib/doing/util.rb 170f0eb8ac4cb0f47d517eb6a87f94850b7f1f41
|
6
|
+
lib/doing/wwid.rb 0c879394cb2ae617bda567b00dab17ff0b3c8254
|
7
|
+
lib/doing/array.rb b50c4604cb685dff87bc16bc20f21a5956b2b396
|
8
|
+
lib/doing/hooks.rb 9ffc1f719b06b18d64e548f52f7d2eaf6c21b06a
|
9
|
+
lib/doing/items.rb 69c762d337d9dad2b780cd08cc1c8785310e23ba
|
10
|
+
lib/doing/pager.rb a5dc55e1163d1b8476617e924a3aee4f9bf8be00
|
11
|
+
lib/doing/types.rb eed3ee1071ffa4a2f9caf50beb7523a24146cd1d
|
11
12
|
lib/doing/colors.rb b7239a69e10c5df9378a5843441af5b93c1872f8
|
12
13
|
lib/doing/errors.rb af07e482a5389924edc2337749c81cda501098f0
|
13
|
-
lib/doing/prompt.rb
|
14
|
-
lib/doing/string.rb
|
14
|
+
lib/doing/prompt.rb d241935b209e69a14c55a9c3a035f1751c576b4c
|
15
|
+
lib/doing/string.rb 443e238f1c4e205a61734b4be3d22f41388e9713
|
15
16
|
lib/doing/symbol.rb 309799458a1bc715c2707307c9a62ab26086275e
|
16
17
|
lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
|
17
|
-
lib/doing/version.rb
|
18
|
+
lib/doing/version.rb 7a231babfa24987f2616244664899d7e39d293ea
|
19
|
+
lib/doing/changelog.rb f7d1bd424e63400ab0613ef3358e614fdf53e2b5
|
18
20
|
lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
|
19
21
|
lib/doing/completion.rb c658e7dc7898fb022a21b2bd77bedb958ca3b067
|
20
|
-
lib/doing/log_adapter.rb
|
22
|
+
lib/doing/log_adapter.rb 62ee66981878bd7285ccf0dfeca90a3d6d2af985
|
21
23
|
lib/doing/util_backup.rb c13f71072581b1f0d2269853611ba09273261bf9
|
22
|
-
lib/doing/configuration.rb
|
24
|
+
lib/doing/configuration.rb 26c86add1bf9ab00bec24ba0c01774b5617fe2d9
|
23
25
|
lib/doing/phrase_parser.rb 8f1789d7cf8326d8cc231b4a21505a93f8de20d2
|
24
|
-
lib/doing/array_chronify.rb
|
26
|
+
lib/doing/array_chronify.rb b39b40268b1751b18acf6bae4e53885818e45f62
|
25
27
|
lib/doing/plugin_manager.rb cb16a82c3182ef7008359670ab96ff6b39270ccc
|
26
|
-
lib/doing/string_chronify.rb
|
27
|
-
lib/doing/template_string.rb
|
28
|
+
lib/doing/string_chronify.rb 888afa2175f3bb6cac0d68e3cb0f27cf162bb1bf
|
29
|
+
lib/doing/template_string.rb 736f6e7645160f75061db1856a62101238fe8c56
|
28
30
|
lib/doing/numeric_chronify.rb bedeff62a95f8a8ff116e1bf0cc1d9eb2707a900
|
31
|
+
lib/doing/help_monkey_patch.rb 6aa514c249e519db507ae528de2604c18cc36045
|
29
32
|
lib/doing/boolean_term_parser.rb 075977892ac5c6e3435cb8877d8b8b68eb1962e3
|
30
33
|
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,3 +1,73 @@
|
|
1
|
+
### 2.1.24
|
2
|
+
|
3
|
+
2022-01-22 17:27
|
4
|
+
|
5
|
+
#### IMPROVED
|
6
|
+
|
7
|
+
- Minor update to Fish completion script
|
8
|
+
|
9
|
+
#### FIXED
|
10
|
+
|
11
|
+
- 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
|
12
|
+
|
13
|
+
### 2.1.23
|
14
|
+
|
15
|
+
2022-01-22 15:52
|
16
|
+
|
17
|
+
#### NEW
|
18
|
+
|
19
|
+
- All display commands (except view) now accept `--config_template TEMPLATE_KEY` to override that commands default template.
|
20
|
+
- 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
|
21
|
+
|
22
|
+
#### IMPROVED
|
23
|
+
|
24
|
+
- 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).
|
25
|
+
- `doing tags` takes a MAX_COUNT argument to limit results when searching
|
26
|
+
- `doing tags --line` flag to output tags in a single line
|
27
|
+
- Mostly for my own use, `doing changes` (which views the changelog) now accepts `--lookup VERSION` and `--search SEARCH_PATTERN`
|
28
|
+
- `doing changes --lookup` accepts `"< 2.1 > 2.0"`, `"2.1.10-2.2"`, a specific version, or a version number with wildcards
|
29
|
+
- 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)
|
30
|
+
|
31
|
+
#### FIXED
|
32
|
+
|
33
|
+
- Running `--tag "@doing"` wouldn't work where `--tag "doing"` would. Now properly ignoring @ symbols
|
34
|
+
|
35
|
+
### 2.1.22
|
36
|
+
|
37
|
+
2022-01-21 14:53
|
38
|
+
|
39
|
+
### 2.1.21
|
40
|
+
|
41
|
+
2022-01-20 12:05
|
42
|
+
|
43
|
+
#### FIXED
|
44
|
+
|
45
|
+
- Custom types not available to custom commands
|
46
|
+
|
47
|
+
### 2.1.20
|
48
|
+
|
49
|
+
2022-01-20 11:49
|
50
|
+
|
51
|
+
#### NEW
|
52
|
+
|
53
|
+
- Autotag option for interactive `doing select` menu
|
54
|
+
- (Breaking change) Made the later command an optional plugin, see wiki for how to install (and create) custom commands
|
55
|
+
- 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).
|
56
|
+
|
57
|
+
#### IMPROVED
|
58
|
+
|
59
|
+
- Autotag improvements
|
60
|
+
- If doing is run without a command but with arguments, execute it as if you'd run `doing now`, passing the arguments to that. So you can just write "doing this thing" instead of "doing now this thing", as long as the first word of the arguments is not a recognized command.
|
61
|
+
|
62
|
+
#### FIXED
|
63
|
+
|
64
|
+
- `doing again` should only mark the original repeating entry @done, not search for the last unfinished entry
|
65
|
+
- Error when using `doing finish --auto`
|
66
|
+
- `doing on wed` when today is wednesday not returning results
|
67
|
+
- Using `config set` with a false value deleted the key from config
|
68
|
+
- `config set` with true or false value was inserting a quoted string
|
69
|
+
- Entries were not being sorted (at all) within sections when writing the Doing file
|
70
|
+
|
1
71
|
### 2.1.19
|
2
72
|
|
3
73
|
2022-01-18 08:40
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
doing (2.1.
|
4
|
+
doing (2.1.24)
|
5
5
|
chronic (~> 0.10, >= 0.10.2)
|
6
6
|
deep_merge (~> 1.2, >= 1.2.1)
|
7
|
-
gli (~> 2.
|
7
|
+
gli (~> 2.20, >= 2.20.1)
|
8
8
|
haml (~> 5.0.0, >= 5.0.0)
|
9
9
|
parslet (~> 2.0, >= 2.0.0)
|
10
10
|
plist (~> 3.6, >= 3.6.0)
|
@@ -19,12 +19,11 @@ PATH
|
|
19
19
|
GEM
|
20
20
|
remote: http://rubygems.org/
|
21
21
|
specs:
|
22
|
-
activesupport (
|
22
|
+
activesupport (7.0.1)
|
23
23
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
24
24
|
i18n (>= 1.6, < 2)
|
25
25
|
minitest (>= 5.1)
|
26
26
|
tzinfo (~> 2.0)
|
27
|
-
zeitwerk (~> 2.3)
|
28
27
|
aruba (1.0.4)
|
29
28
|
childprocess (>= 2.0, < 5.0)
|
30
29
|
contracts (~> 0.16.0)
|
@@ -68,8 +67,8 @@ GEM
|
|
68
67
|
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
69
68
|
cucumber-messages (~> 13.0, >= 13.0.1)
|
70
69
|
deep_merge (1.2.2)
|
71
|
-
diff-lcs (1.
|
72
|
-
ffi (1.15.
|
70
|
+
diff-lcs (1.5.0)
|
71
|
+
ffi (1.15.5)
|
73
72
|
github-markup (4.0.0)
|
74
73
|
gli (2.20.1)
|
75
74
|
haml (5.0.4)
|
@@ -80,7 +79,7 @@ GEM
|
|
80
79
|
kramdown (2.3.1)
|
81
80
|
rexml
|
82
81
|
middleware (0.1.0)
|
83
|
-
minitest (5.
|
82
|
+
minitest (5.15.0)
|
84
83
|
multi_test (0.1.2)
|
85
84
|
parallel (1.21.0)
|
86
85
|
parallel_tests (3.7.3)
|
@@ -100,7 +99,7 @@ GEM
|
|
100
99
|
redcarpet (3.5.1)
|
101
100
|
rexml (3.2.5)
|
102
101
|
rouge (3.27.0)
|
103
|
-
rspec-expectations (3.10.
|
102
|
+
rspec-expectations (3.10.2)
|
104
103
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
104
|
rspec-support (~> 3.10.0)
|
106
105
|
rspec-support (3.10.3)
|
@@ -115,7 +114,7 @@ GEM
|
|
115
114
|
temple (0.8.2)
|
116
115
|
test-unit (3.4.9)
|
117
116
|
power_assert
|
118
|
-
thor (1.1
|
117
|
+
thor (1.2.1)
|
119
118
|
thread_safe (0.3.6)
|
120
119
|
tilt (2.0.10)
|
121
120
|
tty-color (0.6.0)
|
@@ -145,9 +144,10 @@ GEM
|
|
145
144
|
concurrent-ruby (~> 1.0)
|
146
145
|
unicode-display_width (2.1.0)
|
147
146
|
unicode_utils (1.4.0)
|
147
|
+
webrick (1.7.0)
|
148
148
|
wisper (2.0.1)
|
149
|
-
yard (0.9.
|
150
|
-
|
149
|
+
yard (0.9.27)
|
150
|
+
webrick (~> 1.7.0)
|
151
151
|
|
152
152
|
PLATFORMS
|
153
153
|
ruby
|
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.22<!--END VER-->.
|
12
12
|
|
13
13
|
Find all of the documentation in the [doing wiki][wiki].
|
14
14
|
|
data/Rakefile
CHANGED
@@ -37,7 +37,6 @@ end
|
|
37
37
|
# end
|
38
38
|
|
39
39
|
namespace :test do
|
40
|
-
|
41
40
|
FileList['test/*_test.rb'].each do |rakefile|
|
42
41
|
test_name = File.basename(rakefile, '.rb').sub(/^.*?_(.*?)_.*?$/, '\1')
|
43
42
|
|
@@ -51,6 +50,15 @@ namespace :test do
|
|
51
50
|
end
|
52
51
|
end
|
53
52
|
|
53
|
+
desc 'Run all tests, threaded'
|
54
|
+
task :test, :pattern, :threads, :max_tests do |_, args|
|
55
|
+
args.with_defaults(pattern: '*', threads: 8, max_tests: 0)
|
56
|
+
pattern = args[:pattern] =~ /(n[iu]ll?|0|\.)/i ? '*' : args[:pattern]
|
57
|
+
|
58
|
+
require_relative 'lib/helpers/threaded_tests'
|
59
|
+
ThreadedTests.new.run(pattern: pattern, max_threads: args[:threads].to_i, max_tests: args[:max_tests])
|
60
|
+
end
|
61
|
+
|
54
62
|
desc 'Run tests in Docker'
|
55
63
|
task :dockertest, :version, :login do |_, args|
|
56
64
|
args.with_defaults(version: '2.7', login: false)
|
@@ -85,8 +93,8 @@ task :dockertest, :version, :login do |_, args|
|
|
85
93
|
# puts commit&.empty? ? "Error commiting Docker tag #{img}" : "Committed Docker tag #{img}"
|
86
94
|
end
|
87
95
|
|
88
|
-
desc 'Run all tests'
|
89
|
-
task test: 'test:default'
|
96
|
+
# desc 'Run all tests'
|
97
|
+
# task test: 'test:default'
|
90
98
|
|
91
99
|
desc 'Run one test verbosely'
|
92
100
|
task :test_one, :test do |_, args|
|
@@ -151,4 +159,4 @@ task :bump, :type do |_, args|
|
|
151
159
|
File.open(version_file, 'w+') { |f| f.puts content }
|
152
160
|
end
|
153
161
|
|
154
|
-
task default: %i[clobber
|
162
|
+
task default: %i[test clobber package]
|