doing 2.1.27 → 2.1.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +1 -1
  3. data/.yardoc/objects/root.dat +0 -0
  4. data/CHANGELOG.md +8 -0
  5. data/Gemfile.lock +1 -1
  6. data/README.md +1 -1
  7. data/bin/commands/changes.rb +5 -1
  8. data/docs/doc/Array.html +1 -1
  9. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  10. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  11. data/docs/doc/BooleanTermParser/Query.html +1 -1
  12. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  13. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  14. data/docs/doc/BooleanTermParser.html +1 -1
  15. data/docs/doc/Doing/Color.html +1 -1
  16. data/docs/doc/Doing/Completion.html +1 -1
  17. data/docs/doc/Doing/Configuration.html +1 -1
  18. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  19. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  20. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  21. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  22. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  23. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  24. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  25. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  26. data/docs/doc/Doing/Errors.html +1 -1
  27. data/docs/doc/Doing/Hooks.html +1 -1
  28. data/docs/doc/Doing/Item.html +1 -1
  29. data/docs/doc/Doing/Items.html +1 -1
  30. data/docs/doc/Doing/LogAdapter.html +1 -1
  31. data/docs/doc/Doing/Note.html +1 -1
  32. data/docs/doc/Doing/Pager.html +1 -1
  33. data/docs/doc/Doing/Plugins.html +1 -1
  34. data/docs/doc/Doing/Prompt.html +1 -1
  35. data/docs/doc/Doing/Section.html +1 -1
  36. data/docs/doc/Doing/TemplateString.html +1 -1
  37. data/docs/doc/Doing/Types.html +1 -1
  38. data/docs/doc/Doing/Util/Backup.html +1 -1
  39. data/docs/doc/Doing/Util.html +1 -1
  40. data/docs/doc/Doing/WWID.html +1 -1
  41. data/docs/doc/Doing.html +2 -2
  42. data/docs/doc/FalseClass.html +1 -1
  43. data/docs/doc/GLI/Commands/Help.html +1 -1
  44. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  45. data/docs/doc/GLI/Commands.html +1 -1
  46. data/docs/doc/GLI.html +1 -1
  47. data/docs/doc/Hash.html +1 -1
  48. data/docs/doc/Object.html +1 -1
  49. data/docs/doc/PhraseParser/Operator.html +1 -1
  50. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  51. data/docs/doc/PhraseParser/Query.html +1 -1
  52. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  53. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  54. data/docs/doc/PhraseParser/TermClause.html +1 -1
  55. data/docs/doc/PhraseParser.html +1 -1
  56. data/docs/doc/Status.html +1 -1
  57. data/docs/doc/String.html +1 -1
  58. data/docs/doc/Symbol.html +1 -1
  59. data/docs/doc/Time.html +1 -1
  60. data/docs/doc/TrueClass.html +1 -1
  61. data/docs/doc/_index.html +1 -1
  62. data/docs/doc/file.README.html +2 -2
  63. data/docs/doc/index.html +2 -2
  64. data/docs/doc/top-level-namespace.html +1 -1
  65. data/doing.rdoc +9 -1
  66. data/lib/completion/_doing.zsh +2 -2
  67. data/lib/completion/doing.bash +2 -2
  68. data/lib/completion/doing.fish +2 -1
  69. data/lib/doing/changelog/change.rb +1 -1
  70. data/lib/doing/changelog/changes.rb +4 -2
  71. data/lib/doing/version.rb +1 -1
  72. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb5059bc679e2f0eff1249b466945518f4f758ea2aed81730a0da04d8e28631e
4
- data.tar.gz: d87403fa3ac7ecb8d728f8499da593316755ecee226037e8ae6f9df9d6aa7217
3
+ metadata.gz: 3e11cc0c18f66ed073c029c0bdd5332f4ce1f06117cdd2344bc70e967a2ee21b
4
+ data.tar.gz: e311fe31c681119aeb58611156a0d70caa3544395eebc3b23ba5c889a34e878a
5
5
  SHA512:
6
- metadata.gz: dd67a8a4428e4391107854a934f05b5d9521d50aa34f5be8e7f7483d23de603cb7faa2b0e6b8ad7fce2cd063c6ee06c2af00a58e954b485b6c51d11e34f0534c
7
- data.tar.gz: 03dad3b0c6aa74dfb25c4b3abbff5c7feba0e4a81a897cb9166e5352494abd22359dabd59c66d654b41dd97151c4e100bca01d599c141c4820e28f4fc3c6ab50
6
+ metadata.gz: 2729e217d40f6adff50700ecbca1f8ad91db9d959dea927929787e1cdf5a998ee777775de2ac34eb15161412b10de64fb458bae76f7c5218a6a04b2a41a01a8b
7
+ data.tar.gz: 548d4e62531fc7aef73274fa67866951540b32df94f3234614898abd658c77fd8e265ef77ac5d7c806f75e20956398dc2f18dca8a09daf8a2adf5702a0030d11
data/.yardoc/checksums CHANGED
@@ -13,7 +13,7 @@ lib/doing/colors.rb 8c2d1c8c7e99022d33f1548c5456a0f02d570c4f
13
13
  lib/doing/errors.rb af07e482a5389924edc2337749c81cda501098f0
14
14
  lib/doing/prompt.rb 330b8e6e1e85f73b54f602a0aeac58b6b422fabb
15
15
  lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
16
- lib/doing/version.rb 03aed95553bbebdccc69d107db1bec724edaa417
16
+ lib/doing/version.rb 816bceebc0f1ceafae7971de83e70f76886cb37c
17
17
  lib/doing/changelog.rb f7d1bd424e63400ab0613ef3358e614fdf53e2b5
18
18
  lib/doing/normalize.rb b9925102db5f19cae0e524ffd1be979ab5bc1199
19
19
  lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
Binary file
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.1.28
2
+
3
+ 2022-02-14 11:39
4
+
5
+ #### FIXED
6
+
7
+ - Lines merging in `doing changes --changes` output
8
+
1
9
  ### 2.1.27
2
10
 
3
11
  2022-02-14 06:04
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.27)
4
+ doing (2.1.28)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  deep_merge (~> 1.2, >= 1.2.1)
7
7
  gli (~> 2.20, >= 2.20.1)
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.26<!--END VER-->.
11
+ The current version of `doing` is <!--VER-->2.1.27<!--END VER-->.
12
12
 
13
13
  Find all of the documentation in the [doing wiki][wiki].
14
14
 
@@ -35,6 +35,10 @@ command %i[changes changelog] do |c|
35
35
  Add slashes to search with regular expressions, e.g. `--search "/output.*flag/"`)
36
36
  c.flag %i[s search]
37
37
 
38
+ c.desc 'Sort order (asc/desc)'
39
+ c.arg_name 'ORDER'
40
+ c.flag %i[sort], must_match: REGEX_SORT_ORDER, default_value: :desc, type: OrderSymbol
41
+
38
42
  c.desc 'Only output changes, no version numbers, headers, or dates'
39
43
  c.switch %i[C changes], default_value: false, negatable: false
40
44
 
@@ -49,7 +53,7 @@ command %i[changes changelog] do |c|
49
53
  c.example 'doing changes -l "> 2.1" -s "pattern"', desc: 'Lookup and search can be combined'
50
54
 
51
55
  c.action do |_global_options, options, _args|
52
- cl = Doing::Changes.new(lookup: options[:lookup], search: options[:search], changes_only: options[:changes])
56
+ cl = Doing::Changes.new(lookup: options[:lookup], search: options[:search], changes: options[:changes], sort: options[:sort])
53
57
 
54
58
  content = if options[:all] || options[:search] || options[:lookup]
55
59
  cl.to_s
data/docs/doc/Array.html CHANGED
@@ -195,7 +195,7 @@ has content</p>
195
195
  </div>
196
196
 
197
197
  <div id="footer">
198
- Generated on Mon Feb 14 10:46:50 2022 by
198
+ Generated on Mon Feb 14 11:45:23 2022 by
199
199
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
200
200
  0.9.27 (ruby-3.0.1).
201
201
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Mon Feb 14 10:46:51 2022 by
286
+ Generated on Mon Feb 14 11:45:23 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>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Mon Feb 14 10:46:51 2022 by
165
+ Generated on Mon Feb 14 11:45:23 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>
@@ -407,7 +407,7 @@
407
407
  </div>
408
408
 
409
409
  <div id="footer">
410
- Generated on Mon Feb 14 10:46:51 2022 by
410
+ Generated on Mon Feb 14 11:45:23 2022 by
411
411
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
412
412
  0.9.27 (ruby-3.0.1).
413
413
  </div>
@@ -125,7 +125,7 @@ parser. In order to do that, a new &quot;clause&quot; node is added to the parse
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Mon Feb 14 10:46:51 2022 by
128
+ Generated on Mon Feb 14 11:45:23 2022 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.27 (ruby-3.0.1).
131
131
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Mon Feb 14 10:46:51 2022 by
117
+ Generated on Mon Feb 14 11:45:23 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>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Feb 14 10:46:50 2022 by
108
+ Generated on Mon Feb 14 11:45: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>
@@ -518,7 +518,7 @@ ANSI-sequences are stripped from the string.</p>
518
518
  </div>
519
519
 
520
520
  <div id="footer">
521
- Generated on Mon Feb 14 10:46:50 2022 by
521
+ Generated on Mon Feb 14 11:45:23 2022 by
522
522
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
523
523
  0.9.27 (ruby-3.0.1).
524
524
  </div>
@@ -206,7 +206,7 @@ stdout</p>
206
206
  </div>
207
207
 
208
208
  <div id="footer">
209
- Generated on Mon Feb 14 10:46:50 2022 by
209
+ Generated on Mon Feb 14 11:45: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>
@@ -1139,7 +1139,7 @@ matched, first match wins)</p>
1139
1139
  </div>
1140
1140
 
1141
1141
  <div id="footer">
1142
- Generated on Mon Feb 14 10:46:50 2022 by
1142
+ Generated on Mon Feb 14 11:45:23 2022 by
1143
1143
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1144
1144
  0.9.27 (ruby-3.0.1).
1145
1145
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Mon Feb 14 10:46:50 2022 by
241
+ Generated on Mon Feb 14 11:45:23 2022 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.9.27 (ruby-3.0.1).
244
244
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 10:46:50 2022 by
179
+ Generated on Mon Feb 14 11:45:23 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
 
183
183
  <div id="footer">
184
- Generated on Mon Feb 14 10:46:50 2022 by
184
+ Generated on Mon Feb 14 11:45:23 2022 by
185
185
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
186
186
  0.9.27 (ruby-3.0.1).
187
187
  </div>
@@ -354,7 +354,7 @@
354
354
  </div>
355
355
 
356
356
  <div id="footer">
357
- Generated on Mon Feb 14 10:46:50 2022 by
357
+ Generated on Mon Feb 14 11:45:23 2022 by
358
358
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
359
359
  0.9.27 (ruby-3.0.1).
360
360
  </div>
@@ -2229,7 +2229,7 @@ thus should not receive a date on the @done tag</p>
2229
2229
  </div>
2230
2230
 
2231
2231
  <div id="footer">
2232
- Generated on Mon Feb 14 10:46:50 2022 by
2232
+ Generated on Mon Feb 14 11:45:23 2022 by
2233
2233
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2234
2234
  0.9.27 (ruby-3.0.1).
2235
2235
  </div>
@@ -890,7 +890,7 @@ specified section</p>
890
890
  </div>
891
891
 
892
892
  <div id="footer">
893
- Generated on Mon Feb 14 10:46:50 2022 by
893
+ Generated on Mon Feb 14 11:45:23 2022 by
894
894
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
895
895
  0.9.27 (ruby-3.0.1).
896
896
  </div>
@@ -1797,7 +1797,7 @@ message (optional)</p>
1797
1797
  </div>
1798
1798
 
1799
1799
  <div id="footer">
1800
- Generated on Mon Feb 14 10:46:50 2022 by
1800
+ Generated on Mon Feb 14 11:45:23 2022 by
1801
1801
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1802
1802
  0.9.27 (ruby-3.0.1).
1803
1803
  </div>
@@ -627,7 +627,7 @@ content</p>
627
627
  </div>
628
628
 
629
629
  <div id="footer">
630
- Generated on Mon Feb 14 10:46:50 2022 by
630
+ Generated on Mon Feb 14 11:45:23 2022 by
631
631
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
632
632
  0.9.27 (ruby-3.0.1).
633
633
  </div>
@@ -296,7 +296,7 @@ STDOUT</p>
296
296
  </div>
297
297
 
298
298
  <div id="footer">
299
- Generated on Mon Feb 14 10:46:50 2022 by
299
+ Generated on Mon Feb 14 11:45:23 2022 by
300
300
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
301
301
  0.9.27 (ruby-3.0.1).
302
302
  </div>
@@ -1235,7 +1235,7 @@ e.g. :imp =&gt; :import</p>
1235
1235
  </div>
1236
1236
 
1237
1237
  <div id="footer">
1238
- Generated on Mon Feb 14 10:46:50 2022 by
1238
+ Generated on Mon Feb 14 11:45:23 2022 by
1239
1239
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1240
1240
  0.9.27 (ruby-3.0.1).
1241
1241
  </div>
@@ -977,7 +977,7 @@ response if no input</p>
977
977
  </div>
978
978
 
979
979
  <div id="footer">
980
- Generated on Mon Feb 14 10:46:50 2022 by
980
+ Generated on Mon Feb 14 11:45:23 2022 by
981
981
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
982
982
  0.9.27 (ruby-3.0.1).
983
983
  </div>
@@ -344,7 +344,7 @@
344
344
  </div>
345
345
 
346
346
  <div id="footer">
347
- Generated on Mon Feb 14 10:46:50 2022 by
347
+ Generated on Mon Feb 14 11:45:23 2022 by
348
348
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
349
349
  0.9.27 (ruby-3.0.1).
350
350
  </div>
@@ -703,7 +703,7 @@ of colors and string locations</p>
703
703
  </div>
704
704
 
705
705
  <div id="footer">
706
- Generated on Mon Feb 14 10:46:51 2022 by
706
+ Generated on Mon Feb 14 11:45:23 2022 by
707
707
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
708
708
  0.9.27 (ruby-3.0.1).
709
709
  </div>
@@ -236,7 +236,7 @@
236
236
  </div>
237
237
 
238
238
  <div id="footer">
239
- Generated on Mon Feb 14 10:46:50 2022 by
239
+ Generated on Mon Feb 14 11:45:23 2022 by
240
240
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
241
241
  0.9.27 (ruby-3.0.1).
242
242
  </div>
@@ -836,7 +836,7 @@ in a hidden directory</p>
836
836
  </div>
837
837
 
838
838
  <div id="footer">
839
- Generated on Mon Feb 14 10:46:50 2022 by
839
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
928
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
4769
+ Generated on Mon Feb 14 11:45:23 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.27</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.28</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 Mon Feb 14 10:46:50 2022 by
138
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
228
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:51 2022 by
178
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:51 2022 by
756
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
110
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
110
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
519
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
196
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
165
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:51 2022 by
296
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:51 2022 by
488
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
129
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
117
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
286
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
108
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
319
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
1132
+ Generated on Mon Feb 14 11:45: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 Mon Feb 14 10:46:50 2022 by
345
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
243
+ Generated on Mon Feb 14 11:45:23 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 Mon Feb 14 10:46:50 2022 by
228
+ Generated on Mon Feb 14 11:45: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
@@ -587,7 +587,7 @@
587
587
  </div>
588
588
 
589
589
  <div id="footer">
590
- Generated on Mon Feb 14 10:46:50 2022 by
590
+ Generated on Mon Feb 14 11:45:23 2022 by
591
591
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
592
592
  0.9.27 (ruby-3.0.1).
593
593
  </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.26&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.27&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 Mon Feb 14 10:46:50 2022 by
152
+ Generated on Mon Feb 14 11:45: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.26&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.27&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 Mon Feb 14 10:46:50 2022 by
152
+ Generated on Mon Feb 14 11:45: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>
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Mon Feb 14 10:46:50 2022 by
105
+ Generated on Mon Feb 14 11:45:23 2022 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.27 (ruby-3.0.1).
108
108
  </div>
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.27
8
+ v2.1.28
9
9
 
10
10
  === Global Options
11
11
  === --config_file arg
@@ -454,6 +454,14 @@ Show changelogs matching search terms (uses pattern-based searching).
454
454
  [Default Value] None
455
455
 
456
456
 
457
+ ===== --sort ORDER
458
+
459
+ Sort order (asc/desc)
460
+
461
+ [Default Value] desc
462
+ [Must Match] (?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)
463
+
464
+
457
465
  ===== -C|--changes
458
466
  Only output changes, no version numbers, headers, or dates
459
467
 
@@ -89,10 +89,10 @@ function _doing() {
89
89
  args=( {-a,--archive}"[Archive entries]" "(--bool=)--bool=}[Boolean used to combine multiple tags]" "(--case=)--case=}[Case sensitivity for search string matching [(c)ase-sensitive]" {-i,--interactive}"[Select item(s) to cancel from a menu of matching entries]" "(--not)--not}[Cancel items that *dont* match search/tag filterst* match search/tag filters]" {-s,--section=}"[Section]" "(--search=)--search=}[Filter entries using a search query]" "(--tag=)--tag=}[Filter entries by tag]" {-u,--unfinished}"[Cancel last entry]" "(--val=)--val=}[Perform a tag value query]" {-x,--exact}"[Force exact search string matching]" )
90
90
  ;;
91
91
  changes)
92
- args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" {-s,--search=}"[Show changelogs matching search terms]" )
92
+ args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" {-s,--search=}"[Show changelogs matching search terms]" "(--sort=)--sort=}[Sort order]" )
93
93
  ;;
94
94
  changelog)
95
- args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" {-s,--search=}"[Show changelogs matching search terms]" )
95
+ args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" {-s,--search=}"[Show changelogs matching search terms]" "(--sort=)--sort=}[Sort order]" )
96
96
  ;;
97
97
  colors)
98
98
  args=( )
@@ -61,9 +61,9 @@ _doing_cancel() {
61
61
  _doing_changes() {
62
62
 
63
63
  if [[ "$token" == --* ]]; then
64
- COMPREPLY=( $( compgen -W '--changes --all --lookup --markdown --search' -- $token ) )
64
+ COMPREPLY=( $( compgen -W '--changes --all --lookup --markdown --search --sort' -- $token ) )
65
65
  elif [[ "$token" == -* ]]; then
66
- COMPREPLY=( $( compgen -W '-C -a -l -s --changes --all --lookup --markdown --search' -- $token ) )
66
+ COMPREPLY=( $( compgen -W '-C -a -l -s --changes --all --lookup --markdown --search --sort' -- $token ) )
67
67
 
68
68
  fi
69
69
  }
@@ -230,6 +230,7 @@ complete -c doing -l all -s a -f -n '__fish_doing_using_command changes changel
230
230
  complete -c doing -l lookup -s l -f -r -n '__fish_doing_using_command changes changelog' -d Look\ up\ a\ specific\ version
231
231
  complete -c doing -l markdown -f -n '__fish_doing_using_command changes changelog' -d Output\ raw\ Markdown
232
232
  complete -c doing -l search -s s -f -r -n '__fish_doing_using_command changes changelog' -d Show\ changelogs\ matching\ search\ terms
233
+ complete -c doing -l sort -f -r -n '__fish_doing_using_command changes changelog' -d Sort\ order
233
234
  complete -c doing -l file -s f -f -r -n '__fish_doing_using_command completion' -d File\ to\ write\ output\ to
234
235
  complete -c doing -l type -s t -f -r -n '__fish_doing_using_command completion' -d Shell\ to\ generate\ for
235
236
  complete -c doing -l dump -s d -f -n '__fish_doing_using_command config' -d DEPRECATED
@@ -558,7 +559,7 @@ complete -c doing -l template -f -r -n '__fish_doing_using_command yesterday' -
558
559
  complete -c doing -l totals -f -n '__fish_doing_using_command yesterday' -d Show\ time\ totals\ at\ the\ end\ of\ output
559
560
  complete -f -c doing -s o -l output -x -n '__fish_doing_using_command grep search on select show since today view yesterday' -a '(__fish_doing_export_plugin)'
560
561
  complete -f -c doing -s b -l bool -x -n '__fish_doing_using_command again resume archive move autotag cancel finish grep search last mark flag note reset begin rotate show tag tags view wiki' -a 'and or not pattern'
561
- complete -f -c doing -l case -x -n '__fish_doing_using_command again resume archive move cancel finish grep search import last mark flag note reset begin rotate select show show tag tags tags view' -a 'case-sensitive ignore smart'
562
+ complete -f -c doing -l case -x -n '__fish_doing_using_command again resume archive move cancel changes changelog finish grep search import last mark flag note reset begin rotate select show show tag tags tags view' -a 'case-sensitive ignore smart'
562
563
  complete -f -c doing -l tag_sort -x -n '__fish_doing_using_command grep search on recent show since today view yesterday' -a 'name time'
563
564
  complete -f -c doing -l tag_order -x -n '__fish_doing_using_command show view yesterday' -a 'asc desc'
564
565
  complete -f -c doing -s a -l age -x -n '__fish_doing_using_command show view' -a 'oldest newest'
@@ -92,7 +92,7 @@ module Doing
92
92
  out << members.map(&:to_s).join("\n")
93
93
  end
94
94
 
95
- out.join("")
95
+ out.join("\n")
96
96
  end
97
97
 
98
98
  private
@@ -6,13 +6,15 @@ module Doing
6
6
  attr_reader :changes
7
7
  attr_writer :changes_only
8
8
 
9
- def initialize(lookup: nil, search: nil, changes_only: false)
10
- @changes_only = changes_only
9
+ def initialize(lookup: nil, search: nil, changes: false, sort: :desc)
10
+ @changes_only = changes
11
11
  changelog = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'CHANGELOG.md'))
12
12
  raise 'Error locating changelog' unless File.exist?(changelog)
13
13
 
14
14
  @content = IO.read(changelog)
15
15
  parse_changes(lookup, search)
16
+
17
+ @changes.reverse! if sort == :asc
16
18
  end
17
19
 
18
20
  def latest
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '2.1.27'
2
+ VERSION = '2.1.28'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.27
4
+ version: 2.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra