pomo 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/CHANGELOG.md +9 -0
- data/README.md +20 -20
- data/bin/pomo +8 -5
- data/lib/pomo/version.rb +1 -2
- metadata +3 -3
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
=========
|
3
3
|
|
4
|
+
2.1.3 / 2013-03-01
|
5
|
+
==================
|
6
|
+
|
7
|
+
* [@bluestrike2](https://github.com/bluestrike2) added `pomo list` defaults to only incomplete tasks,
|
8
|
+
while `pomo list -a` list all tasks.
|
9
|
+
|
10
|
+
View [the full changelog][2.1.3].
|
11
|
+
[2.1.3]: https://github.com/visionmedia/pomo/compare/v2.1.2...v2.1.3
|
12
|
+
|
4
13
|
2.1.2 / 2013-02-09
|
5
14
|
==================
|
6
15
|
|
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# Pomo [![Build Status](https://travis-ci.org/visionmedia/pomo.png?branch=master)](https://travis-ci.org/visionmedia/pomo) [![Code Climate](https://codeclimate.com/
|
1
|
+
# Pomo [![Build Status](https://travis-ci.org/visionmedia/pomo.png?branch=master)](https://travis-ci.org/visionmedia/pomo) [![Dependency Status](https://gemnasium.com/visionmedia/pomo.png)](https://gemnasium.com/visionmedia/pomo) [![Code Climate](https://codeclimate.com/github/visionmedia/pomo.png)](https://codeclimate.com/github/visionmedia/pomo)
|
2
2
|
|
3
3
|
Command-line application for the [Pomodoro](http://www.pomodorotechnique.com/)
|
4
4
|
time management technique, with notification and tmux status bar support.
|
5
5
|
|
6
6
|
## Description
|
7
7
|
|
8
|
-
With Pomo you can add, remove, list, view, and start timing tasks all via the
|
9
|
-
command-line with a simple, slick interface. You are reminded of the remaining
|
8
|
+
With Pomo you can add, remove, list, view, and start timing tasks all via the
|
9
|
+
command-line with a simple, slick interface. You are reminded of the remaining
|
10
10
|
time on a task via Notification Center, Growl, libnotify, or Quicksilver.
|
11
11
|
These notifications appear half-way, at the 5 minute point, and when the task
|
12
12
|
duration has expired. Also, the Pomo timer can be displayed in your tmux
|
@@ -60,11 +60,11 @@ Taken from `pomo help`:
|
|
60
60
|
* Get started by adding a task:
|
61
61
|
|
62
62
|
$ pomo add "Fix IE6 stying issues"
|
63
|
-
|
63
|
+
|
64
64
|
And another:
|
65
65
|
|
66
66
|
$ pomo add "Destroy IE6" --description "because IE6 is terrible"
|
67
|
-
|
67
|
+
|
68
68
|
* List your tasks (or use `pomo` which defaults to `pomo list`):
|
69
69
|
|
70
70
|
$ pomo list
|
@@ -84,24 +84,24 @@ Taken from `pomo help`:
|
|
84
84
|
$ pomo start --progress
|
85
85
|
Started Fix IE6 stying issues, you have 25 minutes :)
|
86
86
|
(=........................) 24 minutes remaining
|
87
|
-
|
88
|
-
* Once you have completed the task, list again (alternatively `pomo ls`):
|
87
|
+
|
88
|
+
* Once you have completed the task, list again (alternatively `pomo ls`) for remaining tasks:
|
89
89
|
|
90
90
|
$ pomo ls
|
91
|
-
✓ 0. Fix IE6 stying issues : 25 minutes
|
92
91
|
1. Destroy IE6 : 25 minutes
|
93
|
-
|
92
|
+
|
94
93
|
* Or take a break:
|
95
94
|
|
96
95
|
$ pomo break
|
97
96
|
$ pomo break 10
|
98
97
|
$ pomo break --length 10
|
99
|
-
|
100
|
-
* List only remaining tasks:
|
101
98
|
|
102
|
-
|
99
|
+
* List all tasks:
|
100
|
+
|
101
|
+
$ pomo ls --all
|
102
|
+
✓ 0. Fix IE6 stying issues : 25 minutes
|
103
103
|
1. Destroy IE6 : 25 minutes
|
104
|
-
|
104
|
+
|
105
105
|
* List only completed tasks:
|
106
106
|
|
107
107
|
$ pomo ls --complete
|
@@ -121,13 +121,13 @@ Taken from `pomo help`:
|
|
121
121
|
will start:
|
122
122
|
|
123
123
|
$ pomo start
|
124
|
-
|
124
|
+
|
125
125
|
Or choose a specific task:
|
126
126
|
|
127
127
|
$ pomo start first
|
128
128
|
$ pomo start last
|
129
129
|
$ pomo start 5
|
130
|
-
|
130
|
+
|
131
131
|
* You may also remove tasks:
|
132
132
|
|
133
133
|
$ pomo remove first
|
@@ -138,7 +138,7 @@ Taken from `pomo help`:
|
|
138
138
|
$ pomo rm first
|
139
139
|
$ pomo rm 2..5
|
140
140
|
$ pomo rm 1..-1
|
141
|
-
|
141
|
+
|
142
142
|
* View task details:
|
143
143
|
|
144
144
|
$ pomo show first
|
@@ -173,10 +173,10 @@ Settings are easily customizable. Taken from `pomo help initconfig`:
|
|
173
173
|
pomo initconfig --notifier notification_center --no-progress --tmux
|
174
174
|
|
175
175
|
Options:
|
176
|
-
--notifier <lib> Specify notificaiton library: `notification_center`, `libnotify`, `growl`, `quicksilver`
|
177
|
-
--[no-]progress Run with progress bar
|
178
|
-
--[no-]tmux Refresh tmux status bar on timer change
|
179
|
-
--[no-]force force overwrite of existing config file
|
176
|
+
--notifier <lib> Specify notificaiton library: `notification_center`, `libnotify`, `growl`, `quicksilver`
|
177
|
+
--[no-]progress Run with progress bar
|
178
|
+
--[no-]tmux Refresh tmux status bar on timer change
|
179
|
+
--[no-]force force overwrite of existing config file
|
180
180
|
|
181
181
|
### Tmux Status Bar Integration
|
182
182
|
|
data/bin/pomo
CHANGED
@@ -302,19 +302,22 @@ end
|
|
302
302
|
|
303
303
|
command :list do |c|
|
304
304
|
c.syntax = 'pomo [list|ls] [options]'
|
305
|
-
c.description = 'List
|
306
|
-
c.example 'List
|
305
|
+
c.description = 'List tasks'
|
306
|
+
c.example 'List incomplete tasks', 'pomo list'
|
307
|
+
c.example 'List all tasks', 'pomo list --all'
|
308
|
+
c.example 'List completed tasks', 'pomo list --complete'
|
307
309
|
|
310
|
+
c.option '-a', '--all', 'List all tasks'
|
308
311
|
c.option '-c', '--complete', 'List only completed tasks'
|
309
|
-
c.option '-i', '--incomplete', 'List only incompleted tasks'
|
310
312
|
c.action do |args, options|
|
311
313
|
abort "invalid command. See 'pomo help' for more information" unless args.empty?
|
312
314
|
|
313
315
|
config = Pomo::Configuration.load
|
314
316
|
total = 0
|
315
317
|
list.tasks.each_with_index do |task, i|
|
316
|
-
next if
|
317
|
-
next if
|
318
|
+
next if task.complete? && !options.all && !options.complete
|
319
|
+
next if !task.complete? && options.complete
|
320
|
+
|
318
321
|
say ' %s %2d. %-50s : %d minutes' % [task.complete? ? '✓' : ' ', i, task.to_s, task.length]
|
319
322
|
total += task.length
|
320
323
|
end
|
data/lib/pomo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pomo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-03-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: commander
|
@@ -147,7 +147,7 @@ rubyforge_project: pomo
|
|
147
147
|
rubygems_version: 1.8.23
|
148
148
|
signing_key:
|
149
149
|
specification_version: 3
|
150
|
-
summary: pomo-2.1.
|
150
|
+
summary: pomo-2.1.3
|
151
151
|
test_files:
|
152
152
|
- features/configuration.feature
|
153
153
|
- features/manage_list.feature
|