doing 2.1.31pre → 2.1.32

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.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -1
  3. data/Dockerfile-2.6 +3 -1
  4. data/Dockerfile-2.7 +4 -2
  5. data/Dockerfile-3.0 +3 -1
  6. data/Gemfile.lock +1 -67
  7. data/README.md +1 -1
  8. data/bash_profile +13 -0
  9. data/bin/commands/config.rb +5 -2
  10. data/bin/commands/tag_dir.rb +27 -3
  11. data/bin/doing +4 -2
  12. data/docs/doc/Array.html +1 -1
  13. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  14. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  15. data/docs/doc/BooleanTermParser/Query.html +1 -1
  16. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  17. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  18. data/docs/doc/BooleanTermParser.html +1 -1
  19. data/docs/doc/Doing/Color.html +1 -1
  20. data/docs/doc/Doing/Completion.html +1 -1
  21. data/docs/doc/Doing/Configuration.html +3 -3
  22. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  23. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  24. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  25. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  26. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  27. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  28. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  29. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  30. data/docs/doc/Doing/Errors.html +1 -1
  31. data/docs/doc/Doing/Hooks.html +1 -1
  32. data/docs/doc/Doing/Item.html +1 -1
  33. data/docs/doc/Doing/Items.html +1 -1
  34. data/docs/doc/Doing/LogAdapter.html +1 -1
  35. data/docs/doc/Doing/Note.html +1 -1
  36. data/docs/doc/Doing/Pager.html +1 -1
  37. data/docs/doc/Doing/Plugins.html +1 -1
  38. data/docs/doc/Doing/Prompt.html +1 -1
  39. data/docs/doc/Doing/Section.html +1 -1
  40. data/docs/doc/Doing/TemplateString.html +1 -1
  41. data/docs/doc/Doing/Types.html +1 -1
  42. data/docs/doc/Doing/Util/Backup.html +1 -1
  43. data/docs/doc/Doing/Util.html +1 -1
  44. data/docs/doc/Doing/WWID.html +1 -1
  45. data/docs/doc/Doing.html +2 -2
  46. data/docs/doc/FalseClass.html +1 -1
  47. data/docs/doc/GLI/Commands/Help.html +1 -1
  48. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  49. data/docs/doc/GLI/Commands.html +1 -1
  50. data/docs/doc/GLI.html +1 -1
  51. data/docs/doc/Hash.html +1 -1
  52. data/docs/doc/Object.html +1 -1
  53. data/docs/doc/PhraseParser/Operator.html +1 -1
  54. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  55. data/docs/doc/PhraseParser/Query.html +1 -1
  56. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  57. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  58. data/docs/doc/PhraseParser/TermClause.html +1 -1
  59. data/docs/doc/PhraseParser.html +1 -1
  60. data/docs/doc/Status.html +1 -1
  61. data/docs/doc/String.html +1 -1
  62. data/docs/doc/Symbol.html +1 -1
  63. data/docs/doc/Time.html +1 -1
  64. data/docs/doc/TrueClass.html +1 -1
  65. data/docs/doc/_index.html +1 -1
  66. data/docs/doc/file.README.html +2 -2
  67. data/docs/doc/index.html +2 -2
  68. data/docs/doc/top-level-namespace.html +1 -1
  69. data/docs/index.md +1 -1
  70. data/doing.gemspec +24 -24
  71. data/doing.rdoc +6 -1
  72. data/inputrc +57 -0
  73. data/lib/doing/changelog/changes.rb +1 -1
  74. data/lib/doing/configuration.rb +7 -1
  75. data/lib/doing/version.rb +1 -1
  76. data/lib/helpers/threaded_tests.rb +2 -0
  77. metadata +107 -125
  78. data/.yardoc/checksums +0 -30
  79. data/.yardoc/complete +0 -0
  80. data/.yardoc/object_types +0 -0
  81. data/.yardoc/objects/root.dat +0 -0
  82. data/.yardoc/proxy_types +0 -0
  83. data/lib/completion/doing.bash +0 -493
@@ -836,7 +836,7 @@ in a hidden directory</p>
836
836
  </div>
837
837
 
838
838
  <div id="footer">
839
- Generated on Thu Feb 17 13:05:18 2022 by
839
+ Generated on Fri Feb 18 09:59:23 2022 by
840
840
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
841
841
  0.9.27 (ruby-3.0.1).
842
842
  </div>
@@ -925,7 +925,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
925
925
  </div>
926
926
 
927
927
  <div id="footer">
928
- Generated on Thu Feb 17 13:05:18 2022 by
928
+ Generated on Fri Feb 18 09:59:23 2022 by
929
929
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
930
930
  0.9.27 (ruby-3.0.1).
931
931
  </div>
@@ -4766,7 +4766,7 @@ json, or text)</p>
4766
4766
  </div>
4767
4767
 
4768
4768
  <div id="footer">
4769
- Generated on Thu Feb 17 13:05:18 2022 by
4769
+ Generated on Fri Feb 18 09:59:24 2022 by
4770
4770
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
4771
4771
  0.9.27 (ruby-3.0.1).
4772
4772
  </div>
data/docs/doc/Doing.html CHANGED
@@ -119,7 +119,7 @@
119
119
  <dt id="VERSION-constant" class="">VERSION =
120
120
 
121
121
  </dt>
122
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.31pre</span><span class='tstring_end'>&#39;</span></span></pre></dd>
122
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.32</span><span class='tstring_end'>&#39;</span></span></pre></dd>
123
123
 
124
124
  </dl>
125
125
 
@@ -135,7 +135,7 @@
135
135
  </div>
136
136
 
137
137
  <div id="footer">
138
- Generated on Thu Feb 17 13:05:18 2022 by
138
+ Generated on Fri Feb 18 09:59:23 2022 by
139
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
140
  0.9.27 (ruby-3.0.1).
141
141
  </div>
@@ -225,7 +225,7 @@ has content</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Thu Feb 17 13:05:18 2022 by
228
+ Generated on Fri Feb 18 09:59:23 2022 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.27 (ruby-3.0.1).
231
231
  </div>
@@ -175,7 +175,7 @@
175
175
  </div>
176
176
 
177
177
  <div id="footer">
178
- Generated on Thu Feb 17 13:05:19 2022 by
178
+ Generated on Fri Feb 18 09:59:24 2022 by
179
179
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
180
180
  0.9.27 (ruby-3.0.1).
181
181
  </div>
@@ -753,7 +753,7 @@
753
753
  </div>
754
754
 
755
755
  <div id="footer">
756
- Generated on Thu Feb 17 13:05:19 2022 by
756
+ Generated on Fri Feb 18 09:59:24 2022 by
757
757
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
758
758
  0.9.27 (ruby-3.0.1).
759
759
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Thu Feb 17 13:05:18 2022 by
110
+ Generated on Fri Feb 18 09:59:23 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-3.0.1).
113
113
  </div>
data/docs/doc/GLI.html CHANGED
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Thu Feb 17 13:05:18 2022 by
110
+ Generated on Fri Feb 18 09:59:23 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-3.0.1).
113
113
  </div>
data/docs/doc/Hash.html CHANGED
@@ -516,7 +516,7 @@
516
516
  </div>
517
517
 
518
518
  <div id="footer">
519
- Generated on Thu Feb 17 13:05:18 2022 by
519
+ Generated on Fri Feb 18 09:59:23 2022 by
520
520
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
521
521
  0.9.27 (ruby-3.0.1).
522
522
  </div>
data/docs/doc/Object.html CHANGED
@@ -193,7 +193,7 @@ has content</p>
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Thu Feb 17 13:05:18 2022 by
196
+ Generated on Fri Feb 18 09:59:23 2022 by
197
197
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
198
  0.9.27 (ruby-3.0.1).
199
199
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Thu Feb 17 13:05:18 2022 by
165
+ Generated on Fri Feb 18 09:59:24 2022 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.27 (ruby-3.0.1).
168
168
  </div>
@@ -293,7 +293,7 @@
293
293
  </div>
294
294
 
295
295
  <div id="footer">
296
- Generated on Thu Feb 17 13:05:19 2022 by
296
+ Generated on Fri Feb 18 09:59:24 2022 by
297
297
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
298
  0.9.27 (ruby-3.0.1).
299
299
  </div>
@@ -485,7 +485,7 @@
485
485
  </div>
486
486
 
487
487
  <div id="footer">
488
- Generated on Thu Feb 17 13:05:19 2022 by
488
+ Generated on Fri Feb 18 09:59:24 2022 by
489
489
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
490
490
  0.9.27 (ruby-3.0.1).
491
491
  </div>
@@ -126,7 +126,7 @@ A phrase clause generates an Elasticsearch match_phrase query.</p>
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Thu Feb 17 13:05:18 2022 by
129
+ Generated on Fri Feb 18 09:59:24 2022 by
130
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
131
  0.9.27 (ruby-3.0.1).
132
132
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Thu Feb 17 13:05:18 2022 by
117
+ Generated on Fri Feb 18 09:59:24 2022 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.27 (ruby-3.0.1).
120
120
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Thu Feb 17 13:05:18 2022 by
286
+ Generated on Fri Feb 18 09:59:24 2022 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.27 (ruby-3.0.1).
289
289
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Thu Feb 17 13:05:18 2022 by
108
+ Generated on Fri Feb 18 09:59:23 2022 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.27 (ruby-3.0.1).
111
111
  </div>
data/docs/doc/Status.html CHANGED
@@ -316,7 +316,7 @@
316
316
  </div>
317
317
 
318
318
  <div id="footer">
319
- Generated on Thu Feb 17 13:05:18 2022 by
319
+ Generated on Fri Feb 18 09:59:23 2022 by
320
320
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
321
  0.9.27 (ruby-3.0.1).
322
322
  </div>
data/docs/doc/String.html CHANGED
@@ -1129,7 +1129,7 @@ be recognized, e.g. %greensomething still finds
1129
1129
  </div>
1130
1130
 
1131
1131
  <div id="footer">
1132
- Generated on Thu Feb 17 13:05:18 2022 by
1132
+ Generated on Fri Feb 18 09:59:23 2022 by
1133
1133
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1134
1134
  0.9.27 (ruby-3.0.1).
1135
1135
  </div>
data/docs/doc/Symbol.html CHANGED
@@ -342,7 +342,7 @@
342
342
  </div>
343
343
 
344
344
  <div id="footer">
345
- Generated on Thu Feb 17 13:05:18 2022 by
345
+ Generated on Fri Feb 18 09:59:24 2022 by
346
346
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
347
347
  0.9.27 (ruby-3.0.1).
348
348
  </div>
data/docs/doc/Time.html CHANGED
@@ -240,7 +240,7 @@
240
240
  </div>
241
241
 
242
242
  <div id="footer">
243
- Generated on Thu Feb 17 13:05:18 2022 by
243
+ Generated on Fri Feb 18 09:59:24 2022 by
244
244
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
245
245
  0.9.27 (ruby-3.0.1).
246
246
  </div>
@@ -225,7 +225,7 @@ has content</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Thu Feb 17 13:05:18 2022 by
228
+ Generated on Fri Feb 18 09:59:23 2022 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.27 (ruby-3.0.1).
231
231
  </div>
data/docs/doc/_index.html CHANGED
@@ -589,7 +589,7 @@
589
589
  </div>
590
590
 
591
591
  <div id="footer">
592
- Generated on Thu Feb 17 13:05:18 2022 by
592
+ Generated on Fri Feb 18 09:59:23 2022 by
593
593
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
594
594
  0.9.27 (ruby-3.0.1).
595
595
  </div>
@@ -67,7 +67,7 @@ you&#39;ve done.</strong></p>
67
67
 
68
68
  <!--README-->
69
69
 
70
- <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.30&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.31&lt;!--END VER--&gt;.</p>
71
71
 
72
72
  <p>Find all of the documentation in the <a href="https://github.com/ttscoff/doing/wiki">doing wiki</a>.</p>
73
73
 
@@ -149,7 +149,7 @@ with changes. Please target the <code>develop</code> branch with pull requests.<
149
149
  </div></div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Thu Feb 17 13:05:18 2022 by
152
+ Generated on Fri Feb 18 09:59:23 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.27 (ruby-3.0.1).
155
155
  </div>
data/docs/doc/index.html CHANGED
@@ -67,7 +67,7 @@ you&#39;ve done.</strong></p>
67
67
 
68
68
  <!--README-->
69
69
 
70
- <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.30&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.31&lt;!--END VER--&gt;.</p>
71
71
 
72
72
  <p>Find all of the documentation in the <a href="https://github.com/ttscoff/doing/wiki">doing wiki</a>.</p>
73
73
 
@@ -149,7 +149,7 @@ with changes. Please target the <code>develop</code> branch with pull requests.<
149
149
  </div></div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Thu Feb 17 13:05:18 2022 by
152
+ Generated on Fri Feb 18 09:59:23 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.27 (ruby-3.0.1).
155
155
  </div>
@@ -206,7 +206,7 @@
206
206
  </div>
207
207
 
208
208
  <div id="footer">
209
- Generated on Thu Feb 17 13:05:18 2022 by
209
+ Generated on Fri Feb 18 09:59:23 2022 by
210
210
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
211
211
  0.9.27 (ruby-3.0.1).
212
212
  </div>
data/docs/index.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
 
10
10
 
11
- The current version of `doing` is 2.1.21.
11
+ The current version of `doing` is 2.1.31.
12
12
 
13
13
  Find all of the documentation in the [doing wiki][wiki].
14
14
 
data/doing.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  # Ensure we require the local version and not one we might have installed already
2
- require File.join([File.dirname(__FILE__),'lib','doing','version.rb'])
2
+ require File.join([File.dirname(__FILE__), 'lib', 'doing', 'version.rb'])
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = 'doing'
5
5
  s.version = Doing::VERSION
@@ -8,13 +8,14 @@ spec = Gem::Specification.new do |s|
8
8
  s.homepage = 'http://brettterpstra.com/project/doing/'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.summary = 'A command line tool for managing What Was I Doing reminders'
11
- s.description = 'A tool for managing a TaskPaper-like file of recent activites. Perfect for the late-night hacker on too much caffeine to remember what they accomplished at 2 in the morning.'
11
+ s.description = [
12
+ 'A tool for managing a TaskPaper-like file of recent activites.',
13
+ 'Perfect for the late-night hacker on too much caffeine to remember',
14
+ 'what they accomplished at 2 in the morning.'
15
+ ].join(' ')
12
16
  s.license = 'MIT'
13
- # Add your other files here if you make them
14
17
  s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
15
- `git ls-files -z`.split("\x0").reject { |f|
16
- f.strip =~ /^((test|spec|features)\/|\.git|buildnotes)/
17
- }
18
+ `git ls-files -z`.split("\x0").reject { |f| f.strip =~ %r{^((test|spec|features)/|\.git|buildnotes)} }
18
19
  end
19
20
  s.require_paths << 'lib'
20
21
 
@@ -22,28 +23,27 @@ spec = Gem::Specification.new do |s|
22
23
  s.rdoc_options << '--title' << 'doing' << '--main' << 'README.md' << '--markup' << 'markdown'
23
24
  s.bindir = 'bin'
24
25
  s.executables << 'doing'
25
- s.add_runtime_dependency('safe_yaml', '~> 1.0')
26
- s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
27
- s.add_development_dependency 'rdoc', '~> 6.3.1'
28
- s.add_development_dependency 'aruba', '~> 1.0.2'
29
- s.add_development_dependency 'test-unit', '~> 3.4.4'
30
- s.add_development_dependency 'yard', '~> 0.9', '>= 0.9.26'
31
- s.add_development_dependency 'redcarpet', '~> 3.5', '>= 3.5.1'
32
- s.add_development_dependency 'github-markup', '~> 4.0', '>= 4.0.0'
33
- s.add_development_dependency 'parallel_tests', '~> 3.7', '>= 3.7.3'
34
- s.add_development_dependency 'tty-spinner', '~> 0.9', '>= 0.9.3'
35
- s.add_runtime_dependency('tty-progressbar', '~> 0.18', '>= 0.18.2')
36
- s.add_runtime_dependency('gli', '~> 2.20', '>= 2.20.1')
37
- s.add_runtime_dependency('haml','~>5.0.0', '>= 5.0.0')
38
- s.add_runtime_dependency('chronic','~> 0.10', '>= 0.10.2')
26
+ s.add_development_dependency('github-markup', '~> 4.0', '>= 4.0.0')
27
+ s.add_development_dependency('parallel_tests', '~> 3.7', '>= 3.7.3')
28
+ s.add_development_dependency('rake', '~> 13.0', '>= 13.0.1')
29
+ s.add_development_dependency('rdoc', '~> 6.3.1')
30
+ s.add_development_dependency('redcarpet', '~> 3.5', '>= 3.5.1')
31
+ s.add_development_dependency('test-unit', '~> 3.4.4')
32
+ s.add_development_dependency('tty-spinner', '~> 0.9', '>= 0.9.3')
33
+ s.add_development_dependency('yard', '~> 0.9', '>= 0.9.26')
34
+ s.add_runtime_dependency('chronic', '~> 0.10', '>= 0.10.2')
39
35
  s.add_runtime_dependency('deep_merge', '~> 1.2', '>= 1.2.1')
36
+ s.add_runtime_dependency('gli', '~> 2.20', '>= 2.20.1')
37
+ s.add_runtime_dependency('haml', '~>5.0.0', '>= 5.0.0')
38
+ s.add_runtime_dependency('parslet', '~> 2.0', '>= 2.0.0')
39
+ s.add_runtime_dependency('plist', '~> 3.6', '>= 3.6.0')
40
+ s.add_runtime_dependency('safe_yaml', '~> 1.0')
41
+ s.add_runtime_dependency('sys-uname', '~> 1.2', '>= 1.2.2')
40
42
  s.add_runtime_dependency('tty-link', '~> 0.1', '>= 0.1.1')
41
- s.add_runtime_dependency('tty-which', '~> 0.5', '>= 0.5.0')
42
43
  s.add_runtime_dependency('tty-markdown', '~> 0.7', '>= 0.7.0')
44
+ s.add_runtime_dependency('tty-progressbar', '~> 0.18', '>= 0.18.2')
43
45
  s.add_runtime_dependency('tty-reader', '~> 0.9', '>= 0.9.0')
44
46
  s.add_runtime_dependency('tty-screen', '~> 0.8', '>= 0.8.1')
45
- s.add_runtime_dependency('parslet', '~> 2.0', '>= 2.0.0')
46
- s.add_runtime_dependency('plist', '~> 3.6', '>= 3.6.0')
47
- s.add_runtime_dependency('sys-uname', '~> 1.2', '>= 1.2.2')
47
+ s.add_runtime_dependency('tty-which', '~> 0.5', '>= 0.5.0')
48
48
  # s.add_runtime_dependency('amatch', '~> 0.4', '>= 0.4.0')
49
49
  end
data/doing.rdoc CHANGED
@@ -5,7 +5,7 @@ record of what you've been doing, complete with tag-based time tracking. The
5
5
  command line tool allows you to add entries, annotate with tags and notes, and
6
6
  view your entries with myriad options, with a focus on a "natural" language syntax.
7
7
 
8
- v2.1.31pre
8
+ v2.1.32
9
9
 
10
10
  === Global Options
11
11
  === --config_file arg
@@ -620,6 +620,11 @@ Set a key's value in the config file
620
620
 
621
621
 
622
622
  ======= Options
623
+ ======= --local
624
+ Force update to .doingrc in the current directory
625
+
626
+
627
+
623
628
  ======= -r|--remove
624
629
  Delete specified key
625
630
 
data/inputrc ADDED
@@ -0,0 +1,57 @@
1
+ "\e[3~": delete-char
2
+ "\ex": 'cd !$ \015ls\015'
3
+ "\ez": 'cd -\015'
4
+ "\e\C-m": '\C-a "$(\C-e|fzf)"\C-a'
5
+ "\e/": '"$(!!|fzf)"\C-a \C-m\C-m'
6
+ # these allow you to use alt+left/right arrow keys
7
+ # to jump the cursor over words
8
+ "\e[1;5C": forward-word
9
+ "\e[1;5D": backward-word
10
+ # "\e[D": backward-word
11
+ # "\e[C": forward-word
12
+ "\ea": menu-complete
13
+ # TAB: menu-complete
14
+ # "\e[Z": "\e-1\C-i"
15
+
16
+ "\e\C-l": history-and-alias-expand-line
17
+
18
+ # these allow you to start typing a command and
19
+ # use the up/down arrow to auto complete from
20
+ # commands in your history
21
+ "\e[B": history-search-forward
22
+ "\e[A": history-search-backward
23
+ "\ew": history-search-backward
24
+ "\es": history-search-forward
25
+ # this lets you hit tab to auto-complete a file or
26
+ # directory name ignoring case
27
+ set completion-ignore-case On
28
+ set mark-symlinked-directories On
29
+ set completion-prefix-display-length 2
30
+ set bell-style none
31
+ # set bell-style visible
32
+ set meta-flag on
33
+ set convert-meta off
34
+ set input-meta on
35
+ set output-meta on
36
+ set show-all-if-ambiguous on
37
+ set show-all-if-unmodified on
38
+ set completion-map-case on
39
+ set visible-stats on
40
+
41
+ # Do history expansion when space entered?
42
+ $if bash
43
+ Space: magic-space
44
+ $endif
45
+
46
+ # Show extra file information when completing, like `ls -F` does
47
+ set visible-stats on
48
+
49
+ # Be more intelligent when autocompleting by also looking at the text after
50
+ # the cursor. For example, when the current line is "cd ~/src/mozil", and
51
+ # the cursor is on the "z", pressing Tab will not autocomplete it to "cd
52
+ # ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
53
+ # Readline used by Bash 4.)
54
+ set skip-completed-text on
55
+
56
+ # Use Alt/Meta + Delete to delete the preceding word
57
+ "\e[3;3~": kill-word
@@ -43,7 +43,7 @@ module Doing
43
43
 
44
44
  def to_s
45
45
  if @changes_only
46
- @changes.map(&:changes_only).join().force_encoding('utf-8')
46
+ @changes.map(&:changes_only).delete_if(&:empty?).join().gsub(/\n+/, "\n").force_encoding('utf-8')
47
47
  else
48
48
  @changes.map(&:to_s).join("\n\n").force_encoding('utf-8')
49
49
  end
@@ -156,7 +156,13 @@ module Doing
156
156
  ##
157
157
  ## @return [String] file path
158
158
  ##
159
- def choose_config(create: false)
159
+ def choose_config(create: false, local: false)
160
+ if local && create
161
+ res = File.expand_path('.doingrc')
162
+ FileUtils.touch(res)
163
+ return res
164
+ end
165
+
160
166
  return @config_file if @force_answer
161
167
 
162
168
  if @additional_configs&.count&.positive? || create
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '2.1.31pre'
2
+ VERSION = '2.1.32'
3
3
  end
@@ -82,6 +82,7 @@ class ThreadedTests
82
82
  @running_tests = []
83
83
 
84
84
  begin
85
+ finish_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
85
86
  while @children.count.positive?
86
87
 
87
88
  slices = @children.slice!(0, max_threads)
@@ -89,6 +90,7 @@ class ThreadedTests
89
90
  slices.each do |s|
90
91
  @threads << Thread.new do
91
92
  run_test(s)
93
+ finish_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
92
94
  end
93
95
  end
94
96