doing 1.0.11pre → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +83 -77
  3. data/lib/doing/version.rb +1 -1
  4. metadata +33 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7d7491a58fdc23a08b5697cd37868a12f2ff4e4b
4
- data.tar.gz: f9855889a9f36392743beb5b4597ba883f1385e0
2
+ SHA256:
3
+ metadata.gz: 93f0020e2c2c91d68d525faf6be94cfcddbdfea22e50dd895432b92ba95c6d19
4
+ data.tar.gz: 32fc76a62b2d624e07b4f0d1a52318e94c16c6098fa8d5c756b26c58363b29af
5
5
  SHA512:
6
- metadata.gz: 54da78c96822ee9e5ce824d90b15bda6919ee119cff583abe3cd3736dad300904e15e5488adec4cf58e23682b913b22c5f60b74afef089955520070c15368cb0
7
- data.tar.gz: 62ab7f908271727cee6720d4bb97a759cece72ad9296570298a06f33485c9e39b63890e41887756e44ef7ea0d156486621d95dc8db9ebb110fb53c4e55204587
6
+ metadata.gz: b37ec0af9f2ea655dcf0df68c394a8784436f8c5e09fc93e501289ebc920c27ead58a3d8ccc709b8d14aaa8b58a2bdf6f218a819e54a4025186ae783782f7a58
7
+ data.tar.gz: 543dfb60597254f54e2cfd7e0a6ee1ace44465dd196cd06a657a7450a384e60e34b2cc632cd56d5104b34bd05695df02f9de42cfe289880217ba16e5adb1a618
data/README.md CHANGED
@@ -20,13 +20,13 @@ _If you're one of the rare people like me who find this useful, feel free to con
20
20
 
21
21
  ## What and why
22
22
 
23
- `doing` is a basic CLI for adding and listing "what was I doing" reminders in a [TaskPaper-formatted](http://www.hogbaysoftware.com/products/taskpaper) text file. It allows for multiple sections/categories and flexible output formatting.
23
+ `doing` is a basic CLI for adding and listing "what was I doing" reminders in a [TaskPaper-formatted](https://www.taskpaper.com) text file. It allows for multiple sections/categories and flexible output formatting.
24
24
 
25
25
  While I'm working, I have hourly reminders to record what I'm working on, and I try to remember to punch in quick notes if I'm unexpectedly called away from a project. I can do this just by typing `doing now tracking down the CG bug`.
26
26
 
27
27
  If there's something I want to look at later but doesn't need to be added to a task list or tracker, I can type `doing later check out the pinboard bookmarks from macdrifter`. When I get back to my computer --- or just need a refresher after a distraction --- I can type `doing last` to see what the last thing on my plate was. I can also type `doing recent` (or just `doing`) to get a list of the last few entries. `doing today` gives me everything since midnight for the current day, making it easy to see what I've accomplished over a sleepless night.
28
28
 
29
- _Side note:_ I actually use the library behind this utility as part of another script that mirrors entries in [Day One](http://dayoneapp.com/) that have the tag "wwid." I can use the hourly writing reminders and enter my stuff in the quick entry popup. Someday I'll get around to cleaning that up and putting it out there.
29
+ _Side note:_ I actually use the library behind this utility as part of another script that mirrors entries in [Day One](http://dayoneapp.com) that have the tag `wwid`. I can use the hourly writing reminders and enter my stuff in the quick entry popup. Someday I'll get around to cleaning that up and putting it out there.
30
30
 
31
31
  ## Installation
32
32
 
@@ -38,17 +38,19 @@ To install the _latest_ version, use `--pre`:
38
38
 
39
39
  Only use `sudo` if your environment requires it. If you're using the system Ruby on a Mac, for example, it will likely be necessary. If `gem install doing` fails, then run `sudo gem install doing` and provide your administrator password.
40
40
 
41
- Run `doing config` to open your `~/.doingrc` file in the editor defined in the $EDITOR environment variable. Set up your `doing_file` right away (where you want entries to be stored), and cover the rest after you've read the docs.
41
+ Run `doing config` to open your `~/.doingrc` file in the editor defined in the `$EDITOR` environment variable. Set up your `doing_file` right away (where you want entries to be stored), and cover the rest after you've read the docs.
42
42
 
43
43
  See the [support](#support) section below for troubleshooting details.
44
44
 
45
45
  ## The "doing" file
46
46
 
47
- The file that stores all of your entries is generated the first time you add an entry with `doing now` (or `doing later`). By default the file is created in "~/what_was_i_doing.md", but this can be modified in the config file.
47
+ The file that stores all of your entries is generated the first time you add an entry (with `doing now` or `doing later`). By default, the file is created in `~/what_was_i_doing.md`, but you can modify this in the config file.
48
48
 
49
49
  The format of the "doing" file is TaskPaper-compatible. You can edit it by hand at any time (in TaskPaper or any text editor), but it uses a specific format for parsing, so be sure to maintain the dates and pipe characters.
50
50
 
51
- Notes are anything in the list without a leading hyphen and date. They belong to the entry directly before them, and they should be indented one level beyond the parent item. When using the `now` and `later` commands on the command line, you can start the entry with a quote and hit return, then type the note and close the quote. Anything after the first line will be turned into a TaskPaper-compatible note for the task and can be displayed in templates using `%note`.
51
+ Notes are anything in the list without a leading hyphen and date. They belong to the entry directly before them, and they should be indented one level beyond the parent item.
52
+
53
+ When using the `now` and `later` commands on the command line, you can start the entry with a quote and hit return, then type the note and close the quote. Anything after the first line will be turned into a TaskPaper-compatible note for the task and can be displayed in templates using `%note`.
52
54
 
53
55
  Notes can be prevented from ever appearing in output with the global option `--no-notes`: `doing --no-notes show all`.
54
56
 
@@ -89,7 +91,7 @@ A basic configuration looks like this:
89
91
  :include_notes: true
90
92
 
91
93
 
92
- The config file is stored in "~/.doingrc", and is created on the first run.
94
+ The config file is stored in `~/.doingrc`, and is created on the first run.
93
95
 
94
96
  ### Per-folder configuration
95
97
 
@@ -107,7 +109,7 @@ I keep mine in my nvALT folder for quick access and syncing between machines. If
107
109
 
108
110
  ### "Current actions" section
109
111
 
110
- You can rename the section that holds your current tasks. By default, this is "Currently," but if you have some other bright idea, feel free:
112
+ You can rename the section that holds your current tasks. By default, this is `Currently`, but if you have some other bright idea, feel free:
111
113
 
112
114
  current_section: Currently
113
115
 
@@ -115,7 +117,7 @@ You can rename the section that holds your current tasks. By default, this is "C
115
117
 
116
118
  The setting `editor_app` only applies to Mac OS X users. It's the default application that the command `doing open` will open your WWID file in. If this is blank, it will be opened by whatever the system default is, or you can use `-a app_name` or `-b bundle_id` to override.
117
119
 
118
- In the case of the `doing now -e` command, your $EDITOR environment variable will be used to complete the entry text and notes. Set it in your `~/.bash_profile` or whatever is appropriate for your system:
120
+ In the case of the `doing now -e` command, your `$EDITOR` environment variable will be used to complete the entry text and notes. Set it in your `~/.bash_profile` or whatever is appropriate for your system:
119
121
 
120
122
  export EDITOR="mate -w"
121
123
 
@@ -126,7 +128,7 @@ The only requirements are that your editor be launchable from the command line a
126
128
  The config also contains templates for various command outputs. Include placeholders by placing a % before the keyword. The available tokens are:
127
129
 
128
130
  - `%title`: the "what was I doing" entry line
129
- - `%date`: the date based on the template's "date_format" setting
131
+ - `%date`: the date based on the template's `date_format` setting
130
132
  - `%shortdate`: a custom date formatter that removes the day/month/year from the entry if they match the current day/month/year
131
133
  - `%note`: Any note in the entry will be included here, a newline and tabs are automatically added.
132
134
  - `%odnote`: The notes with a leading tab removed (outdented note)
@@ -136,13 +138,13 @@ The config also contains templates for various command outputs. Include placehol
136
138
  - `%hr_under`: a horizontal rule (`_`) the width of the terminal
137
139
  - `%n`: inserts a newline
138
140
  - `%t`: inserts a tab
139
- - `%[color]`: color can be black, red, green, blue, yellow, magenta, cyan or white
140
- - you can prefix "bg" to affect background colors (%bgyellow)
141
- - prefix "bold" and "boldbg" for strong colors (%boldgreen, %boldbgblue)
141
+ - `%[color]`: color can be `black`, `red`, `green`, `blue`, `yellow`, `magenta`, `cyan`, or `white`
142
+ - you can prefix `bg` to affect background colors (`%bgyellow`)
143
+ - prefix `bold` and `boldbg` for strong colors (`%boldgreen`, `%boldbgblue`)
142
144
  - there are some random special combo colors. Use `doing colors` to see the list
143
145
  - `%interval`: when used with the `-t` switch on the `show` command, it will display the time between a timestamp or `@start(date)` tag and the `@done(date)` tag, if it exists. Otherwise, it will remain empty.
144
146
 
145
- Date formats are based on Ruby [strftime](http://www.ruby-doc.org/stdlib-2.1.1/libdoc/date/rdoc/Date.html#method-i-strftime) formatting.
147
+ Date formats are based on Ruby [`strftime`](http://www.ruby-doc.org/stdlib-2.1.1/libdoc/date/rdoc/Date.html#method-i-strftime) formatting.
146
148
 
147
149
  My normal template for the `recent` command looks like this:
148
150
 
@@ -167,7 +169,7 @@ And it outputs:
167
169
  12:45pm > I think this thing (doing) is ready to document and distribute
168
170
  $
169
171
 
170
- You can get pretty clever and include line breaks and other formatting inside of double quotes. If you want multiline templates, just use "\n" in the template line and after the next run it will be rewritten as proper YAML automatically.
172
+ You can get pretty clever and include line breaks and other formatting inside of double quotes. If you want multiline templates, just use `\n` in the template line, and after the next run it will be rewritten as proper YAML automatically.
171
173
 
172
174
  For example, this block:
173
175
 
@@ -231,7 +233,7 @@ You can create your own "views" in the `~/.doingrc` file and view them with `doi
231
233
  tags: done finished cancelled
232
234
  tags_bool: ANY
233
235
 
234
- You can add additional custom views, just nest them under the "views" key (indented two spaces from the edge). Multiple views would look like this:
236
+ You can add additional custom views. Just nest them under the `views` key (indented two spaces from the edge). Multiple views would look like this:
235
237
 
236
238
  views:
237
239
  later:
@@ -247,11 +249,11 @@ You can add additional custom views, just nest them under the "views" key (inden
247
249
  date_format: '%F %_I:%M%P'
248
250
  template: '%date | %title%note'
249
251
 
250
- The "section" key is the default section to pull entries from. Count and section can be overridden at runtime with the `-c` and `-s` flags. Setting `section` to All will combine all sections in the output.
252
+ The `section` key is the default section to pull entries from. Count and section can be overridden at runtime with the `-c` and `-s` flags. Setting `section` to `All` will combine all sections in the output.
251
253
 
252
254
  You can add new sections with `doing add_section section_name`. You can also create them on the fly by using the `-s section_name` flag when running `doing now`. For example, `doing now -s Misc just a random side note` would create the "just a random side note" entry in a new section called "Misc," if Misc didn't already exist.
253
255
 
254
- The `tags` and `tags_bool` keys allow you to specify tags that the view is filtered by. You can list multiple tags separated by spaces, and then use `tags_bool` to specify "ALL," "ANY," or "NONE" to determine how it handles the multiple tags.
256
+ The `tags` and `tags_bool` keys allow you to specify tags that the view is filtered by. You can list multiple tags separated by spaces, and then use `tags_bool` to specify `ALL`, `ANY`, or `NONE` to determine how it handles the multiple tags.
255
257
 
256
258
  The `order` key defines the sort order of the output. This is applied _after_ the tasks are retrieved and cut off at the maximum number specified in `count`.
257
259
 
@@ -268,7 +270,7 @@ Outputs:
268
270
 
269
271
  ![](http://ckyp.us/XKpj+)
270
272
 
271
- You can also specify a default output format for a view. Most of the optional output formats override the template specification (html, csv, json). If the `view` command is used with the `-o` flag, it will override what's specified in the file.
273
+ You can also specify a default output format for a view. Most of the optional output formats override the template specification (`html`, `csv`, `json`). If the `view` command is used with the `-o` flag, it will override what's specified in the file.
272
274
 
273
275
  ## Usage
274
276
 
@@ -302,9 +304,11 @@ You can finish the last unfinished task when starting a new one using `doing now
302
304
 
303
305
  When used with `doing done`, `--back` and `--took` allow time intervals to be accurately counted when entering items after the fact. `--took` is also available for the `doing finish` command, but cannot be used in conjunction with `--back`. (In `finish` they both set the end date, and neither has priority. `--back` allows specific days/times, `--took` uses time intervals.)
304
306
 
305
- All of these commands accept a `-e` argument. This opens your command line editor as defined in the environment variable `$EDITOR`. Add your entry, save the temp file and close it, and the new entry will be added. Anything after the first line is included as a note on the entry.
307
+ All of these commands accept a `-e` argument. This opens your command line editor (as defined in the environment variable `$EDITOR`). Add your entry, save the temp file, and close it. The new entry is added. Anything after the first line is included as a note on the entry.
308
+
309
+ `doing meanwhile` is a special command for creating and finishing tasks that may have other entries come before they're complete. When you create an entry with `doing meanwhile [entry text]`, it will automatically complete the last @meanwhile item (dated `@done` tag) and add the `@meanwhile` tag to the new item. This allows time tracking on a more general basis, and still lets you keep track of the smaller things you do while working on an overarching project. The `meanwhile` command accepts `--back [time]` and will backdate the `@done` tag and start date of the new task at the same time. Running `meanwhile` with no arguments will simply complete the last `@meanwhile` task.
306
310
 
307
- `doing meanwhile` is a special command for creating and finishing tasks that may have other entries come before they're complete. When you create an entry with `doing meanwhile [entry text]`, it will automatically complete the last @meanwhile item (dated @done tag) and add the @meanwhile tag to the new item. This allows time tracking on a more general basis, and still lets you keep track of the smaller things you do while working on an overarching project. The `meanwhile` command accepts `--back [time]` and will backdate the @done tag and start date of the new task at the same time. Running `meanwhile` with no arguments will simply complete the last @meanwhile task. See `doing help meanwhile` for more options.
311
+ See `doing help meanwhile` for more options.
308
312
 
309
313
  #### Modifying entries:
310
314
 
@@ -327,9 +331,11 @@ As mentioned above, `finish` also accepts `--back "2 hours"` (sets the finish da
327
331
 
328
332
  doing tag -c 3 client cancelled
329
333
 
330
- ... will mark the last three entries as "@client @cancelled." Add `-r` as a switch to remove the listed tags instead.
334
+ ... will mark the last three entries as `@client @cancelled`. Add `-r` as a switch to remove the listed tags instead.
335
+
336
+ You can optionally define keywords for common tasks and projects in your `.doingrc` file. When these keywords appear in an item title, they'll automatically be converted into @tags. The `whitelist` tags are exact (but case insensitive) matches.
331
337
 
332
- You can optionally define keywords for common tasks and projects in your `.doingrc` file. When these keywords appear in an item title, they'll automatically be converted into @tags. The "whitelist" tags are exact (but case insensitive) matches. You can also define "synonyms" which will add a tag at the end based on keywords associated with it. When defining synonym keys, be sure to indent but _not_ hyphenate the keys themselves, while hyphenating the list of synonyms at the same indent level as their key. See "playing" and "writing" in the list below for illustration. Follow standard yaml syntax.
338
+ You can also define `synonyms`, which will add a tag at the end based on keywords associated with it. When defining `synonym` keys, be sure to indent but _not_ hyphenate the keys themselves, while hyphenating the list of synonyms at the same indent level as their key. See `playing` and `writing` in the example below for illustration. Follow standard YAML syntax.
333
339
 
334
340
  To add autotagging, include a section like this in your `~/.doingrc` file:
335
341
 
@@ -354,7 +360,7 @@ To add autotagging, include a section like this in your `~/.doingrc` file:
354
360
 
355
361
  ##### Annotating
356
362
 
357
- `note` lets you append a note to the last entry. You can specify a section to grab the last entry from with `-s section_name`. `-e` will open your $EDITOR for typing the note, but you can also just include it on the command line after any flags. You can also pipe a note in on STDIN (`echo "fun stuff"|doing note`). If you don't use the `-r` switch, new notes will be appended to the existing notes, and using the `-e` switch will let you edit and add to an existing note. The `-r` switch will remove/replace a note; if there's new note text passed when using the `-r` switch, it will replace any existing note. If the `-r` switch is used alone, any existing note will be removed.
363
+ `note` lets you append a note to the last entry. You can specify a section to grab the last entry from with `-s section_name`. `-e` will open your `$EDITOR` for typing the note, but you can also just include it on the command line after any flags. You can also pipe a note in on STDIN (`echo "fun stuff"|doing note`). If you don't use the `-r` switch, new notes will be appended to the existing notes, and using the `-e` switch will let you edit and add to an existing note. The `-r` switch will remove/replace a note; if there's new note text passed when using the `-r` switch, it will replace any existing note. If the `-r` switch is used alone, any existing note will be removed.
358
364
 
359
365
  You can also add notes at the time of entry by using the `-n` or `--note` flag with `doing now`, `doing later`, or `doing done`. If you pass text to any of the creation commands which has multiple lines, everything after the first line break will become the note.
360
366
 
@@ -369,7 +375,7 @@ You can also add notes at the time of entry by using the `-n` or `--note` flag w
369
375
 
370
376
  `doing show` on its own will list all entries in the "Currently" section. Add a section name as an argument to display that section instead. Use "all" to display all entries from all sections.
371
377
 
372
- You can filter the `show` command by tags. Simply list them after the section name (or "all"). The boolean defaults to "ANY," meaning any entry that contains any of the listed tags will be shown. You can use `-b ALL` or `-b NONE` to change the filtering behavior: `doing show all done cancelled -b NONE` will show all tasks from all sections that do not have either "@done" or "@cancelled" tags.
378
+ You can filter the `show` command by tags. Simply list them after the section name (or `all`). The boolean defaults to `ANY`, meaning any entry that contains any of the listed tags will be shown. You can use `-b ALL` or `-b NONE` to change the filtering behavior: `doing show all done cancelled -b NONE` will show all tasks from all sections that do not have either `@done` or `@cancelled` tags.
373
379
 
374
380
  Use `-c X` to limit the displayed results. Combine it with `-a newest` or `-a oldest` to choose which chronological end it trims from. You can also set the sort order of the output with `-s asc` or `-s desc`.
375
381
 
@@ -377,7 +383,7 @@ The `show` command can also show the time spent on a task if it has a `@done(dat
377
383
 
378
384
  If you have a use for it, you can use `-o csv` on the show or view commands to output the results as a comma-separated CSV to STDOUT. Redirect to a file to save it: `doing show all done -o csv > ~/Desktop/done.csv`. You can do the same with `-o json`.
379
385
 
380
- `doing yesterday` is great for stand-ups, thanks to [Sean Collins](https://github.com/sc68cal) for that. Note that you can show yesterday's activity from an alternate section by using the section name as an argument (e.g. `doing yesterday archive`).
386
+ `doing yesterday` is great for stand-ups (thanks to [Sean Collins](https://github.com/sc68cal) for that!). Note that you can show yesterday's activity from an alternate section by using the section name as an argument (e.g. `doing yesterday archive`).
381
387
 
382
388
  `doing on` allows for full date ranges and filtering. `doing on saturday`, or `doing on one month to today` will give you ranges. You can use the same terms with the `show` command by adding the `-f` or `--from` flag. `doing show @done --from "monday to friday"` will give you all of your completed items for the last week (assuming it's the weekend).
383
389
 
@@ -407,19 +413,19 @@ Display any of the custom views you make in `~/.doingrc` with the `view` command
407
413
  -t, --to=arg - Move entries to (default: Archive)
408
414
  -b, --bool=arg - Tag boolean (default: AND)
409
415
 
410
- The `archive` command will move entries from one section (default: Currently) to another section (default: Archive).
416
+ The `archive` command will move entries from one section (default: `Currently`) to another section (default: `Archive`).
411
417
 
412
- `doing archive` on its own will move all but the most recent 5 entries from currently into the archive.
418
+ `doing archive` on its own will move all but the most recent 5 entries from `currently` into the archive.
413
419
 
414
- `doing archive other_section` will archive from "other_section" to Archive.
420
+ `doing archive other_section` will archive from `other_section` to `Archive`.
415
421
 
416
- `doing archive other_section -t alternate` will move from "other_section" to "alternate." You can use the `-k` flag on any of these to change the number of items to leave behind. To move everything, use `-k 0`.
422
+ `doing archive other_section -t alternate` will move from `other_section` to `alternate`. You can use the `-k` flag on any of these to change the number of items to leave behind. To move everything, use `-k 0`.
417
423
 
418
- You can also use tags to archive. You define the section first, and anything following it is treated as tags. If your first argument starts with "@", it will assume all sections and assume any following arguments are tags.
424
+ You can also use tags to archive. You define the section first, and anything following it is treated as tags. If your first argument starts with `@`, it will assume all sections and assume any following arguments are tags.
419
425
 
420
- By default tag archiving uses an "AND" boolean, meaning all the tags listed must exist on the entry for it to be moved. You can change this behavior with `-b OR` or `-b NONE` ("ALL" and "ANY" also work).
426
+ By default, tag archiving uses an `AND` boolean, meaning all the tags listed must exist on the entry for it to be moved. You can change this behavior with `-b OR` or `-b NONE` (`ALL` and `ANY` also work).
421
427
 
422
- Example: Archive all Currently items for @client that are marked @done
428
+ Example: Archive all Currently items for `@client` that are marked `@done`
423
429
 
424
430
  doing archive @client @done
425
431
 
@@ -433,13 +439,13 @@ See the file `doing.completion.bash` in the git repository for full bash complet
433
439
 
434
440
  ### Zsh completion
435
441
 
436
- See the file doing.completion.zsh in the git repository for zsh completion.
442
+ See the file `doing.completion.zsh` in the git repository for zsh completion.
437
443
 
438
444
  ### Launchbar
439
445
 
440
446
  The previous incarnation of `doing` had a [LaunchBar](http://obdev.at/launchbar/) action that I used frequently. The Day One popup has mostly replaced that for me, but only because I have a system that connects it to my WWID file. However, I've still found a place for adding WWID entries without including them in my journal, and LaunchBar is the perfect way to do that for me.
441
447
 
442
- All you need is an AppleScript saved at "~/Library/Application Support/LaunchBar/Actions/Doing.scpt". It should look like this:
448
+ All you need is an AppleScript saved at `~/Library/Application Support/LaunchBar/Actions/Doing.scpt`. It should look like this:
443
449
 
444
450
 
445
451
  on handle_string(message)
@@ -473,7 +479,7 @@ If you get errors in the terminal immediately after a message like:
473
479
 
474
480
  ### Command not found
475
481
 
476
- If running `doing` after a successful install gives you a "command not found" error, then your gem path isn't in your $PATH, meaning the system can't find it. To locate the gem and link it into your path, you can try this:
482
+ If running `doing` after a successful install gives you a "command not found" error, then your gem path isn't in your `$PATH`, meaning the system can't find it. To locate the gem and link it into your path, you can try this:
477
483
 
478
484
  cd $GEM_PATH/bin
479
485
  ln -s doing /usr/local/bin/
@@ -505,36 +511,36 @@ I'll try to document some of the code structure as I flesh it out. I'm currently
505
511
  * date filtering, improved date language
506
512
  * added doing on command
507
513
  * let view templates define output format (csv, json, html, template)
508
- * add %chompnote template variable (item note with newlines and extra whitespace stripped)
514
+ * add `%chompnote` template variable (item note with newlines and extra whitespace stripped)
509
515
 
510
516
  #### 1.0.7pre
511
517
 
512
- * fix for -v option
518
+ * fix for `-v` option
513
519
  * Slightly fuzzier searching in the grep command
514
- * cleaner exits, only_timed key for view configs
515
- * making the note command append new notes better, and load existing notes in the editor if -e is called
516
- * handle multiple tag input in 'show' tag filter
520
+ * cleaner exits, `only_timed` key for view configs
521
+ * making the note command append new notes better, and load existing notes in the editor if `-e` is called
522
+ * handle multiple tag input in `show` tag filter
517
523
  * Global tag operations, better reporting
518
524
 
519
525
  #### 1.0.4pre
520
526
 
521
527
  * Improved HTML output
522
- * --only_timed option for view/show commands that only outputs items with elapsed timers (interval between start and done dates)
523
- * add seconds for timed items in CSV output, run --only_timed before chopping off --count #
524
- * fix for 1.8.7 Dir.home issue
528
+ * `--only_timed` option for view/show commands that only outputs items with elapsed timers (interval between start and done dates)
529
+ * add seconds for timed items in CSV output, run `--only_timed` before chopping off `--count #`
530
+ * fix for 1.8.7 `Dir.home` issue
525
531
  * version bump
526
532
  * don't show tag totals with zero times
527
533
  * zsh completion for doing
528
534
  * HTML styling
529
- * --only_timed option
530
- * added zsh completion file to README.md
535
+ * `--only_timed` option
536
+ * added zsh completion file to `README.md`
531
537
  * add zsh completion file
532
538
 
533
539
  #### 1.0.3pre
534
540
 
535
- * done command: making --took modify start time if --back isn't specified
541
+ * `done` command: making `--took` modify start time if `--back` isn't specified
536
542
  * Cleaned up time totals, improved HTML output
537
- * fixes for --back and --took parsing
543
+ * fixes for `--back` and `--took` parsing
538
544
  * Adding more complete terminal reporting to archive command
539
545
 
540
546
  #### 1.0.0pre
@@ -544,23 +550,23 @@ I'll try to document some of the code structure as I flesh it out. I'm currently
544
550
 
545
551
  #### 0.2.6pre
546
552
 
547
- * --totals, --[no-]times, --output [csv,html] options for yesterday command.
553
+ * `--totals`, `--[no-]times`, `--output [csv,html]` options for `yesterday` command.
548
554
  * Add tests for Darwin to hide OS X-only features on other systems
549
- * -f flag to `now` command for finishing last task when starting a new one (Looks back for the last unfinished task in the list)
550
- * --took option for `done` and `finish` for specifying intervals from the start date for the completion date
555
+ * `-f` flag to `now` command for finishing last task when starting a new one (Looks back for the last unfinished task in the list)
556
+ * `--took` option for `done` and `finish` for specifying intervals from the start date for the completion date
551
557
  * Basic command line reporting
552
- * --auto flag for `finish` and `done` that will automatically set the completion time to 1 minute before the next start time in the list. You can use it retroactively to add times to sequential todos.
558
+ * `--auto` flag for `finish` and `done` that will automatically set the completion time to 1 minute before the next start time in the list. You can use it retroactively to add times to sequential todos.
553
559
  * `doing grep` for searching by text or regex
554
560
 
555
561
  #### 0.2.5
556
562
 
557
563
  * Default to showing times #26, show totals even if no tags exist #27, fix indentation #29
558
- * Add section label to archived tasks automatically, excepting Currently section
564
+ * Add section label to archived tasks automatically, excepting `Currently` section
559
565
  * Today outputs and backdate for finish
560
- * html styling and fix for 1.8.7 haml errors
566
+ * HTML styling and fix for 1.8.7 haml errors
561
567
  * Look, HTML output! (`--output html`)
562
568
  * Also, `--output csv`
563
- * let doing archive function on all sections
569
+ * let doing `archive` function on all sections
564
570
  * option to exclude date from `@done`,
565
571
  * output newlines in sections and views
566
572
  * Flagging (`doing mark`)
@@ -568,21 +574,21 @@ I'll try to document some of the code structure as I flesh it out. I'm currently
568
574
  * Adding tag filtering to archive command (`doing archive \@done`)
569
575
  * `doing yesterday`
570
576
  * `doing done -r` to remove last doing tag (optionally from `-s Section`)
571
- * Add -f flag to specify alternate doing file
572
- * Meanwhile command
577
+ * Add `-f` flag to specify alternate doing file
578
+ * `meanwhile` command
573
579
 
574
580
  #### 0.2.1
575
581
 
576
582
  - CSV output for show command (`--csv`)
577
583
  - HTML output for show command (`--output html`)
578
584
  - fuzzy searching for all commands that specify a view.
579
- - On the terminal you'll see "Assume you meant XXX" to show what match it found, but this is output to STDERR and won't show up if you're redirecting the output or using it in GeekTool, etc.
580
- - tags_color in view config to highlight tags at the end of the lines. Can be set to any of the %colors.
585
+ - In the terminal, you'll see "Assume you meant XXX" to show what match it found, but this is output to STDERR (and won't show up if you're redirecting the output or using it in GeekTool, etc.)
586
+ - `tags_color` in view config to highlight tags at the end of the lines. Can be set to any of the `%colors`.
581
587
  - Basic time tracking.
582
588
  - `-t` on `show` and `view` will turn on time calculations
583
589
  - Intervals between timestamps and dated `@done` tags are calculated for each line, if the tag exists.
584
- - You must include a %interval token in the appropriate template for it to show
585
- - `@start(date)` tags can optionally be used to override the time stamp in the calculation
590
+ - You must include a `%interval` token in the appropriate template for it to show
591
+ - `@start(date)` tags can optionally be used to override the timestamp in the calculation
586
592
  - Any other tags in the line have that line's total added to them
587
593
  - Totals for tags can be displayed at the end of output with `--totals`
588
594
 
@@ -597,17 +603,17 @@ I'll try to document some of the code structure as I flesh it out. I'm currently
597
603
  - `doing tag -r tag1 [tag2]` removes said tag(s)
598
604
  - custom views additions
599
605
  - custom views can include `tags` and `tags_bool`
600
- - tags is a space separated list of tags to filter the results by
601
- - tags_bool defines AND (all tags must exist), OR (any tag exists), or NONE (none of the tags exist)
602
- - order key (asc or desc) defines output sort order by date
603
- - section key can be set to "All" to combine sections
606
+ - `tags` is a space-separated list of tags to filter the results by
607
+ - `tags_bool` defines `AND` (all tags must exist), `OR` (any tag exists), or `NONE` (none of the tags exist)
608
+ - `order` key (`asc` or `desc`) defines output sort order by date
609
+ - section key can be set to `All` to combine sections
604
610
  - `doing show` updates
605
- - accepts "all" as a section
611
+ - accepts `all` as a section
606
612
  - arguments following section name are tags to filter by
607
- - `-b` sets boolean (AND, OR, NONE) or (ALL, ANY, NONE) (default OR/ANY)
613
+ - `-b` sets boolean (`AND`, `OR`, `NONE`) or (`ALL`, `ANY`, `NONE`) (default `OR`/`ANY`)
608
614
  - use `-c X` to limit results
609
- - use `-s` to set sort order (asc or desc)
610
- - use `-a` to set age (newest or oldest)
615
+ - use `-s` to set sort order (`asc` or `desc`)
616
+ - use `-a` to set age (`newest` or `oldest`)
611
617
  - fuzzy section guessing when specified section isn't found
612
618
  - fuzzy view guessing for `doing view` command
613
619
 
@@ -616,26 +622,26 @@ I'll try to document some of the code structure as I flesh it out. I'm currently
616
622
  #### 0.1.9
617
623
 
618
624
  - colors in templated output
619
- - open command
625
+ - `open` command
620
626
  - opens in the default app for file type
621
- - -a APPNAME (`doing open -a TaskPaper`)
622
- - -b bundle_id (`doing open -b com.sublimetext.3`)
623
- - -e switch for `now`, `later` and `done` commands
627
+ - `-a APPNAME` (`doing open -a TaskPaper`)
628
+ - `-b bundle_id` (`doing open -b com.sublimetext.3`)
629
+ - `-e` switch for `now`, `later` and `done` commands
624
630
  - save a tmp file and open it in an editor
625
631
  - allows multi-line entries, anything after first line is considered a note
626
632
  - assumed when no input is provided (`doing now`)
627
633
  - `doing views` shows all available custom views
628
634
  - `doing view` without a view name will let you choose a view from a menu
629
- - `doing archive` fixed so that `-k X` works to keep X number of entries in the section
635
+ - `doing archive` fixed so that `-k X` works to keep `X` number of entries in the section
630
636
 
631
637
  #### 0.1.7
632
638
 
633
639
  - colors in templated output
634
- - open command
640
+ - `open` command
635
641
  - opens in the default app for file type
636
- - -a APPNAME (`doing open -a TaskPaper`)
637
- - -b bundle_id (`doing open -b com.sublimetext.3`)
638
- - -e switch for `now`, `later` and `done` commands
642
+ - `-a APPNAME` (`doing open -a TaskPaper`)
643
+ - `-b bundle_id` (`doing open -b com.sublimetext.3`)
644
+ - `-e` switch for `now`, `later`, and `done` commands
639
645
  - save a tmp file and open it in an editor
640
646
  - allows multi-line entries, anything after first line is considered a note
641
647
  - assumed when no input is provided (`doing now`)
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '1.0.11pre'
2
+ VERSION = '1.0.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11pre
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2019-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,11 +58,28 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: test-unit
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
61
75
  - !ruby/object:Gem::Dependency
62
76
  name: gli
63
77
  requirement: !ruby/object:Gem::Requirement
64
78
  requirements:
65
79
  - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '2.17'
82
+ - - ">="
66
83
  - !ruby/object:Gem::Version
67
84
  version: 2.17.1
68
85
  type: :runtime
@@ -70,6 +87,9 @@ dependencies:
70
87
  version_requirements: !ruby/object:Gem::Requirement
71
88
  requirements:
72
89
  - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '2.17'
92
+ - - ">="
73
93
  - !ruby/object:Gem::Version
74
94
  version: 2.17.1
75
95
  - !ruby/object:Gem::Dependency
@@ -112,19 +132,22 @@ dependencies:
112
132
  requirements:
113
133
  - - ">="
114
134
  - !ruby/object:Gem::Version
115
- version: '0'
135
+ version: 1.2.1
116
136
  type: :runtime
117
137
  prerelease: false
118
138
  version_requirements: !ruby/object:Gem::Requirement
119
139
  requirements:
120
140
  - - ">="
121
141
  - !ruby/object:Gem::Version
122
- version: '0'
142
+ version: 1.2.1
123
143
  - !ruby/object:Gem::Dependency
124
144
  name: json
125
145
  requirement: !ruby/object:Gem::Requirement
126
146
  requirements:
127
147
  - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '1.8'
150
+ - - ">="
128
151
  - !ruby/object:Gem::Version
129
152
  version: 1.8.1
130
153
  type: :runtime
@@ -132,6 +155,9 @@ dependencies:
132
155
  version_requirements: !ruby/object:Gem::Requirement
133
156
  requirements:
134
157
  - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.8'
160
+ - - ">="
135
161
  - !ruby/object:Gem::Version
136
162
  version: 1.8.1
137
163
  description: A tool for managing a TaskPaper-like file of recent activites. Perfect
@@ -172,12 +198,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
198
  version: '0'
173
199
  required_rubygems_version: !ruby/object:Gem::Requirement
174
200
  requirements:
175
- - - ">"
201
+ - - ">="
176
202
  - !ruby/object:Gem::Version
177
- version: 1.3.1
203
+ version: '0'
178
204
  requirements: []
179
- rubyforge_project:
180
- rubygems_version: 2.6.13
205
+ rubygems_version: 3.0.2
181
206
  signing_key:
182
207
  specification_version: 4
183
208
  summary: A command line tool for managing What Was I Doing reminders