doing 2.1.3 → 2.1.4pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +13 -10
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/CHANGELOG.md +27 -0
  6. data/Gemfile.lock +23 -1
  7. data/README.md +1 -1
  8. data/bin/doing +253 -63
  9. data/doc/Array.html +1 -1
  10. data/doc/Doing/Color.html +1 -1
  11. data/doc/Doing/Completion.html +1 -1
  12. data/doc/Doing/Configuration.html +42 -1
  13. data/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  14. data/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  15. data/doc/Doing/Errors/DoingStandardError.html +1 -1
  16. data/doc/Doing/Errors/EmptyInput.html +1 -1
  17. data/doc/Doing/Errors/NoResults.html +1 -1
  18. data/doc/Doing/Errors/PluginException.html +1 -1
  19. data/doc/Doing/Errors/UserCancelled.html +1 -1
  20. data/doc/Doing/Errors/WrongCommand.html +1 -1
  21. data/doc/Doing/Errors.html +1 -1
  22. data/doc/Doing/Hooks.html +1 -1
  23. data/doc/Doing/Item.html +37 -3
  24. data/doc/Doing/Items.html +35 -1
  25. data/doc/Doing/LogAdapter.html +1 -1
  26. data/doc/Doing/Note.html +1 -1
  27. data/doc/Doing/Pager.html +1 -1
  28. data/doc/Doing/Plugins.html +1 -1
  29. data/doc/Doing/Prompt.html +35 -1
  30. data/doc/Doing/Section.html +1 -1
  31. data/doc/Doing/Util.html +16 -4
  32. data/doc/Doing/WWID.html +131 -71
  33. data/doc/Doing.html +3 -3
  34. data/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  35. data/doc/GLI/Commands.html +1 -1
  36. data/doc/GLI.html +1 -1
  37. data/doc/Hash.html +1 -1
  38. data/doc/Status.html +1 -1
  39. data/doc/String.html +104 -2
  40. data/doc/Symbol.html +1 -1
  41. data/doc/Time.html +70 -2
  42. data/doc/_index.html +125 -4
  43. data/doc/class_list.html +1 -1
  44. data/doc/file.README.html +2 -2
  45. data/doc/index.html +2 -2
  46. data/doc/method_list.html +480 -144
  47. data/doc/top-level-namespace.html +2 -2
  48. data/doing.gemspec +2 -0
  49. data/doing.rdoc +155 -66
  50. data/lib/doing/boolean_term_parser.rb +86 -0
  51. data/lib/doing/configuration.rb +13 -4
  52. data/lib/doing/item.rb +94 -8
  53. data/lib/doing/items.rb +6 -0
  54. data/lib/doing/phrase_parser.rb +124 -0
  55. data/lib/doing/prompt.rb +8 -0
  56. data/lib/doing/string.rb +16 -2
  57. data/lib/doing/string_chronify.rb +5 -1
  58. data/lib/doing/time.rb +32 -0
  59. data/lib/doing/util.rb +2 -5
  60. data/lib/doing/util_backup.rb +235 -0
  61. data/lib/doing/version.rb +1 -1
  62. data/lib/doing/wwid.rb +81 -26
  63. data/lib/doing.rb +6 -0
  64. metadata +47 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 408f0a0f6da20fb59d6d94df8ba98b374910c52b0d4fe33436793a5b83ec0db9
4
- data.tar.gz: 011137a1269a0a10e8c59bc0a9e5c2319eb2d025b980c8396179a8e675719528
3
+ metadata.gz: 34efca4676d4fa73e32781dbeee727c3596c3eb81571df8db7b50ee072112135
4
+ data.tar.gz: 36cc7cbdf787bb01b6b0ed0e42d5b655cb8beffe35c07e57900afff1021359b4
5
5
  SHA512:
6
- metadata.gz: a4b5beb6a1885cd8a008b9285a1c6b4b8f328993e8e7eb7f1e3ff13d5b379909be840fed2f2a2a0b64495e540e335961ba44181f3d7a1bd048a50c516d3170f5
7
- data.tar.gz: 6490ddb1d36898a5a211be7399ae1523e86dc5022d14c5d248724ac662aaed4d0a3c88d7d13daf731a31f05052636112a4b4b8a9f8274c0c96132ee52de3cefa
6
+ metadata.gz: f3e51a32050b360cf2f65eeb99667e46c3afec8d220f5c3d9dd3a00217e805f583a5d1ae844f2ae864af2b2a46d07dd548011188bb11a87487a30fd8717f8190
7
+ data.tar.gz: 3905f7350939a8d7065298cc3dcb55577370a5f7eb7407c035c3115e7af7c46a093a34cd45cbed0009bdb396c8a6bc79e6e7403588bda7b70164dbeca655473c
data/.yardoc/checksums CHANGED
@@ -1,24 +1,27 @@
1
1
  lib/doing/hash.rb c2960de9603dcf90be85ce423d9430de27f4f893
2
- lib/doing/item.rb 857b714be7ad8f1ca802d57f63ea8fb0c897c868
2
+ lib/doing/item.rb 54195709b13f536a187161d26edac0277cc878e5
3
3
  lib/doing/note.rb 99d7be3e45605d32da7e188d7ec749ba84a3d2f8
4
- lib/doing/time.rb d83c862e7fffd841e12150a3d954b445a6003da9
5
- lib/doing/util.rb 94fc3c3ac1cc0b3b4b1d832fe30bd6e882d1acb2
6
- lib/doing/wwid.rb 0679893fbe11e00024e62fb0f1ac84ee15393fdf
4
+ lib/doing/time.rb 4411af636082d3abf6f6402a7d6c9038d96a9ead
5
+ lib/doing/util.rb f766188e9f7b9d2c2d1fdae66341c768454db93e
6
+ lib/doing/wwid.rb f8ecccc845541186fc7fda5b5684c3f22a02cf30
7
7
  lib/doing/array.rb dc9b3aeed89df820e003743e8d36078469c1aab7
8
8
  lib/doing/hooks.rb 00feacdbf24dc67951c49ca8c1ca9a568441920e
9
- lib/doing/items.rb c7b81ce1fe6a8804c62af3c83e510add5f025a8c
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 e86eeba5bae6610640d7de29fccf24b75cab0bdf
14
- lib/doing/string.rb 81aa479a4dd657bc2405ddded7cdbb1d57d9d8a9
13
+ lib/doing/prompt.rb da7624c3be2e86f0075de169bc963e397f9dcc60
14
+ lib/doing/string.rb c384aacfc2d7112fc1f7a41b6a665b265662b807
15
15
  lib/doing/symbol.rb 37f5b1f006181597703911494887a11fe0c63d39
16
16
  lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
17
- lib/doing/version.rb b1cb911442a1b22894939464d54ea30c3b7eec7c
17
+ lib/doing/version.rb 6fc167fda7bb68678e5994fd9e523185f2fb4800
18
18
  lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
19
19
  lib/doing/completion.rb 3b291eb38e651ea993d04db592a5e743057626e6
20
20
  lib/doing/log_adapter.rb 5d21f966449977536452e22fa64de4a1fe334002
21
- lib/doing/configuration.rb 9788bdb9df8bf89915363d34396a37b8409bfcf5
21
+ lib/doing/util_backup.rb c5627bbfe75d3b6d899dfa097bef619ea30c3056
22
+ lib/doing/configuration.rb f638673f7e7da2771cdc1f23eacb1a9ae64ff6bb
23
+ lib/doing/phrase_parser.rb 8f1789d7cf8326d8cc231b4a21505a93f8de20d2
22
24
  lib/doing/plugin_manager.rb fb926e3998bac0b14dd4548b16ece0d32bbe0b9e
23
- lib/doing/string_chronify.rb 8e4a59db180fbb63d101cb10ee371544c48376f8
25
+ lib/doing/string_chronify.rb ccbb08389d2139c7121203f8585864e3026d1526
26
+ lib/doing/boolean_term_parser.rb 075977892ac5c6e3435cb8877d8b8b68eb1962e3
24
27
  lib/doing/markdown_document_listener.rb 45485f225068a34951ec818a345f642323e5ba35
data/.yardoc/object_types CHANGED
Binary file
Binary file
data/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ### 2.1.4pre
2
+
3
+ #### NEW
4
+
5
+ - `doing redo` undoes a redo
6
+ - `doing undo -i` offers a list of available versions for selection
7
+ - Multiple undo. Every time a command modifies the doing file, a backup is written. Running `doing undo` repeatedly steps back through history, `doing undo 5` jumps back 5 versions
8
+ - When resetting via `doing select`, prompt for a date string
9
+ - `doing reset` accepts a date string argument to use as start date instead of current time if provided
10
+ - `doing tags` lists tags used in any/all sections, sortable, with or without frequency counts
11
+ - `doing show --menu` offers an interactive menu for selecting section and tag filters
12
+ - All commands that accept a `--tag` filter can now handle wildcards in the tag names. * to match any number of characters, ? to match a single character.
13
+ - 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
+ - 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
+ - `--search` strings can contain quoted phrases and use +/- to require or ban terms, e.g. `--search 'doing +coding -writing'
16
+
17
+ #### IMPROVED
18
+
19
+ - Better diff output for fzf preview of `doing undo` history
20
+ - Fall back to good ol' sed for colorizing diffs when no good tool is available
21
+ - `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
22
+
23
+ #### FIXED
24
+
25
+ - `doing reset` without filter not automatically affecting most recent entry
26
+ - `config set` now preserves value type (string, array, mapping) of previous value, coercing new value if needed
27
+
1
28
  ### 2.1.3
2
29
 
3
30
  #### NEW
data/Gemfile.lock CHANGED
@@ -1,13 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.3)
4
+ doing (2.1.4pre)
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
+ parslet (~> 2.0, >= 2.0.0)
9
10
  safe_yaml (~> 1.0)
10
11
  tty-link (~> 0.1, >= 0.1.1)
12
+ tty-markdown (~> 0.7, >= 0.7.0)
11
13
  tty-progressbar (~> 0.18, >= 0.18.2)
12
14
  tty-which (~> 0.5, >= 0.5.0)
13
15
 
@@ -72,12 +74,17 @@ GEM
72
74
  tilt
73
75
  i18n (1.8.11)
74
76
  concurrent-ruby (~> 1.0)
77
+ kramdown (2.3.1)
78
+ rexml
75
79
  middleware (0.1.0)
76
80
  minitest (5.14.4)
77
81
  multi_test (0.1.2)
78
82
  parallel (1.21.0)
79
83
  parallel_tests (3.7.3)
80
84
  parallel
85
+ parslet (2.0.0)
86
+ pastel (0.8.0)
87
+ tty-color (~> 0.5)
81
88
  power_assert (2.0.1)
82
89
  protobuf-cucumber (3.10.8)
83
90
  activesupport (>= 3.2)
@@ -87,11 +94,17 @@ GEM
87
94
  rake (13.0.6)
88
95
  rdoc (6.3.3)
89
96
  redcarpet (3.5.1)
97
+ rexml (3.2.5)
98
+ rouge (3.27.0)
90
99
  rspec-expectations (3.10.1)
91
100
  diff-lcs (>= 1.2.0, < 2.0)
92
101
  rspec-support (~> 3.10.0)
93
102
  rspec-support (3.10.3)
94
103
  safe_yaml (1.0.5)
104
+ strings (0.2.1)
105
+ strings-ansi (~> 0.2)
106
+ unicode-display_width (>= 1.5, < 3.0)
107
+ unicode_utils (~> 1.4)
95
108
  strings-ansi (0.2.0)
96
109
  sys-uname (1.2.2)
97
110
  ffi (~> 1.1)
@@ -101,8 +114,16 @@ GEM
101
114
  thor (1.1.0)
102
115
  thread_safe (0.3.6)
103
116
  tilt (2.0.10)
117
+ tty-color (0.6.0)
104
118
  tty-cursor (0.7.1)
105
119
  tty-link (0.1.1)
120
+ tty-markdown (0.7.0)
121
+ kramdown (>= 1.16.2, < 3.0)
122
+ pastel (~> 0.8)
123
+ rouge (~> 3.14)
124
+ strings (~> 0.2.0)
125
+ tty-color (~> 0.5)
126
+ tty-screen (~> 0.8)
106
127
  tty-progressbar (0.18.2)
107
128
  strings-ansi (~> 0.2)
108
129
  tty-cursor (~> 0.7)
@@ -115,6 +136,7 @@ GEM
115
136
  tzinfo (2.0.4)
116
137
  concurrent-ruby (~> 1.0)
117
138
  unicode-display_width (2.1.0)
139
+ unicode_utils (1.4.0)
118
140
  yard (0.9.26)
119
141
  zeitwerk (2.5.1)
120
142
 
data/README.md CHANGED
@@ -6,7 +6,7 @@ _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.2<!--END VER-->.
9
+ The current version of `doing` is <!--VER-->2.1.3<!--END VER-->.
10
10
 
11
11
  Find all of the documentation in the [doing wiki](https://github.com/ttscoff/doing/wiki).
12
12