watch_tower 0.0.1.beta5 → 0.0.1.beta6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -1
- data/Gemfile +1 -0
- data/README.md +70 -42
- data/lib/watch_tower/appscript.rb +2 -65
- data/lib/watch_tower/cli/install.rb +47 -20
- data/lib/watch_tower/editor/base_ps.rb +9 -1
- data/lib/watch_tower/editor/extensions/watchtower.vim +20 -0
- data/lib/watch_tower/editor/textmate.rb +8 -2
- data/lib/watch_tower/editor/vim.rb +113 -0
- data/lib/watch_tower/editor/xcode.rb +6 -1
- data/lib/watch_tower/editor.rb +2 -1
- data/lib/watch_tower/errors.rb +4 -1
- data/lib/watch_tower/eye.rb +4 -2
- data/lib/watch_tower/version.rb +1 -1
- data/lib/watch_tower.rb +24 -4
- data/spec/watch_tower/appscript_spec.rb +1 -25
- data/spec/watch_tower/editor/textmate_spec.rb +44 -34
- data/spec/watch_tower/editor/vim_spec.rb +162 -0
- data/spec/watch_tower/eye_spec.rb +7 -0
- data/watch_tower.gemspec +27 -10
- metadata +105 -70
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watch_tower
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.beta6
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rb-appscript
|
16
|
-
requirement: &2151764080 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 0.6.1
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *2151764080
|
25
14
|
- !ruby/object:Gem::Dependency
|
26
15
|
name: activesupport
|
27
|
-
requirement: &
|
16
|
+
requirement: &6330800 !ruby/object:Gem::Requirement
|
28
17
|
none: false
|
29
18
|
requirements:
|
30
19
|
- - ~>
|
@@ -32,10 +21,10 @@ dependencies:
|
|
32
21
|
version: 3.1.1
|
33
22
|
type: :runtime
|
34
23
|
prerelease: false
|
35
|
-
version_requirements: *
|
24
|
+
version_requirements: *6330800
|
36
25
|
- !ruby/object:Gem::Dependency
|
37
26
|
name: i18n
|
38
|
-
requirement: &
|
27
|
+
requirement: &6359580 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
29
|
requirements:
|
41
30
|
- - ~>
|
@@ -43,10 +32,10 @@ dependencies:
|
|
43
32
|
version: 0.6.0
|
44
33
|
type: :runtime
|
45
34
|
prerelease: false
|
46
|
-
version_requirements: *
|
35
|
+
version_requirements: *6359580
|
47
36
|
- !ruby/object:Gem::Dependency
|
48
37
|
name: activerecord
|
49
|
-
requirement: &
|
38
|
+
requirement: &6358440 !ruby/object:Gem::Requirement
|
50
39
|
none: false
|
51
40
|
requirements:
|
52
41
|
- - ~>
|
@@ -54,10 +43,10 @@ dependencies:
|
|
54
43
|
version: 3.1.1
|
55
44
|
type: :runtime
|
56
45
|
prerelease: false
|
57
|
-
version_requirements: *
|
46
|
+
version_requirements: *6358440
|
58
47
|
- !ruby/object:Gem::Dependency
|
59
48
|
name: sinatra
|
60
|
-
requirement: &
|
49
|
+
requirement: &6357900 !ruby/object:Gem::Requirement
|
61
50
|
none: false
|
62
51
|
requirements:
|
63
52
|
- - ~>
|
@@ -65,10 +54,10 @@ dependencies:
|
|
65
54
|
version: 1.3.0
|
66
55
|
type: :runtime
|
67
56
|
prerelease: false
|
68
|
-
version_requirements: *
|
57
|
+
version_requirements: *6357900
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: sinatra-snap
|
71
|
-
requirement: &
|
60
|
+
requirement: &6357240 !ruby/object:Gem::Requirement
|
72
61
|
none: false
|
73
62
|
requirements:
|
74
63
|
- - ~>
|
@@ -76,10 +65,10 @@ dependencies:
|
|
76
65
|
version: 0.3.2
|
77
66
|
type: :runtime
|
78
67
|
prerelease: false
|
79
|
-
version_requirements: *
|
68
|
+
version_requirements: *6357240
|
80
69
|
- !ruby/object:Gem::Dependency
|
81
70
|
name: haml
|
82
|
-
requirement: &
|
71
|
+
requirement: &6356460 !ruby/object:Gem::Requirement
|
83
72
|
none: false
|
84
73
|
requirements:
|
85
74
|
- - ~>
|
@@ -87,10 +76,10 @@ dependencies:
|
|
87
76
|
version: 3.1.3
|
88
77
|
type: :runtime
|
89
78
|
prerelease: false
|
90
|
-
version_requirements: *
|
79
|
+
version_requirements: *6356460
|
91
80
|
- !ruby/object:Gem::Dependency
|
92
81
|
name: grit
|
93
|
-
requirement: &
|
82
|
+
requirement: &6355560 !ruby/object:Gem::Requirement
|
94
83
|
none: false
|
95
84
|
requirements:
|
96
85
|
- - ~>
|
@@ -98,10 +87,10 @@ dependencies:
|
|
98
87
|
version: 2.4.1
|
99
88
|
type: :runtime
|
100
89
|
prerelease: false
|
101
|
-
version_requirements: *
|
90
|
+
version_requirements: *6355560
|
102
91
|
- !ruby/object:Gem::Dependency
|
103
92
|
name: coffee-script
|
104
|
-
requirement: &
|
93
|
+
requirement: &6354640 !ruby/object:Gem::Requirement
|
105
94
|
none: false
|
106
95
|
requirements:
|
107
96
|
- - ~>
|
@@ -109,10 +98,10 @@ dependencies:
|
|
109
98
|
version: 2.2.0
|
110
99
|
type: :runtime
|
111
100
|
prerelease: false
|
112
|
-
version_requirements: *
|
101
|
+
version_requirements: *6354640
|
113
102
|
- !ruby/object:Gem::Dependency
|
114
103
|
name: uglifier
|
115
|
-
requirement: &
|
104
|
+
requirement: &6353980 !ruby/object:Gem::Requirement
|
116
105
|
none: false
|
117
106
|
requirements:
|
118
107
|
- - ~>
|
@@ -120,10 +109,10 @@ dependencies:
|
|
120
109
|
version: 1.0.3
|
121
110
|
type: :runtime
|
122
111
|
prerelease: false
|
123
|
-
version_requirements: *
|
112
|
+
version_requirements: *6353980
|
124
113
|
- !ruby/object:Gem::Dependency
|
125
114
|
name: sass
|
126
|
-
requirement: &
|
115
|
+
requirement: &6352860 !ruby/object:Gem::Requirement
|
127
116
|
none: false
|
128
117
|
requirements:
|
129
118
|
- - ~>
|
@@ -131,10 +120,10 @@ dependencies:
|
|
131
120
|
version: 3.1.10
|
132
121
|
type: :runtime
|
133
122
|
prerelease: false
|
134
|
-
version_requirements: *
|
123
|
+
version_requirements: *6352860
|
135
124
|
- !ruby/object:Gem::Dependency
|
136
125
|
name: sprockets
|
137
|
-
requirement: &
|
126
|
+
requirement: &6377260 !ruby/object:Gem::Requirement
|
138
127
|
none: false
|
139
128
|
requirements:
|
140
129
|
- - ~>
|
@@ -142,10 +131,32 @@ dependencies:
|
|
142
131
|
version: 2.0.2
|
143
132
|
type: :runtime
|
144
133
|
prerelease: false
|
145
|
-
version_requirements: *
|
134
|
+
version_requirements: *6377260
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: systemu
|
137
|
+
requirement: &6375260 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ~>
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 2.4.0
|
143
|
+
type: :runtime
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *6375260
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: cronedit
|
148
|
+
requirement: &6374100 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ~>
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.3.0
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *6374100
|
146
157
|
- !ruby/object:Gem::Dependency
|
147
158
|
name: guard
|
148
|
-
requirement: &
|
159
|
+
requirement: &6369520 !ruby/object:Gem::Requirement
|
149
160
|
none: false
|
150
161
|
requirements:
|
151
162
|
- - ~>
|
@@ -153,10 +164,10 @@ dependencies:
|
|
153
164
|
version: 0.8.4
|
154
165
|
type: :development
|
155
166
|
prerelease: false
|
156
|
-
version_requirements: *
|
167
|
+
version_requirements: *6369520
|
157
168
|
- !ruby/object:Gem::Dependency
|
158
169
|
name: guard-bundler
|
159
|
-
requirement: &
|
170
|
+
requirement: &6393760 !ruby/object:Gem::Requirement
|
160
171
|
none: false
|
161
172
|
requirements:
|
162
173
|
- - ~>
|
@@ -164,10 +175,10 @@ dependencies:
|
|
164
175
|
version: 0.1.3
|
165
176
|
type: :development
|
166
177
|
prerelease: false
|
167
|
-
version_requirements: *
|
178
|
+
version_requirements: *6393760
|
168
179
|
- !ruby/object:Gem::Dependency
|
169
180
|
name: guard-rspec
|
170
|
-
requirement: &
|
181
|
+
requirement: &6392440 !ruby/object:Gem::Requirement
|
171
182
|
none: false
|
172
183
|
requirements:
|
173
184
|
- - ~>
|
@@ -175,10 +186,10 @@ dependencies:
|
|
175
186
|
version: 0.4.5
|
176
187
|
type: :development
|
177
188
|
prerelease: false
|
178
|
-
version_requirements: *
|
189
|
+
version_requirements: *6392440
|
179
190
|
- !ruby/object:Gem::Dependency
|
180
191
|
name: guard-sprockets2
|
181
|
-
requirement: &
|
192
|
+
requirement: &6391200 !ruby/object:Gem::Requirement
|
182
193
|
none: false
|
183
194
|
requirements:
|
184
195
|
- - ~>
|
@@ -186,10 +197,10 @@ dependencies:
|
|
186
197
|
version: 0.0.5
|
187
198
|
type: :development
|
188
199
|
prerelease: false
|
189
|
-
version_requirements: *
|
200
|
+
version_requirements: *6391200
|
190
201
|
- !ruby/object:Gem::Dependency
|
191
202
|
name: yard
|
192
|
-
requirement: &
|
203
|
+
requirement: &6389500 !ruby/object:Gem::Requirement
|
193
204
|
none: false
|
194
205
|
requirements:
|
195
206
|
- - ~>
|
@@ -197,10 +208,10 @@ dependencies:
|
|
197
208
|
version: 0.7.2
|
198
209
|
type: :development
|
199
210
|
prerelease: false
|
200
|
-
version_requirements: *
|
211
|
+
version_requirements: *6389500
|
201
212
|
- !ruby/object:Gem::Dependency
|
202
213
|
name: rspec
|
203
|
-
requirement: &
|
214
|
+
requirement: &6388380 !ruby/object:Gem::Requirement
|
204
215
|
none: false
|
205
216
|
requirements:
|
206
217
|
- - ~>
|
@@ -208,10 +219,10 @@ dependencies:
|
|
208
219
|
version: 2.6.0
|
209
220
|
type: :development
|
210
221
|
prerelease: false
|
211
|
-
version_requirements: *
|
222
|
+
version_requirements: *6388380
|
212
223
|
- !ruby/object:Gem::Dependency
|
213
224
|
name: rspec-rails
|
214
|
-
requirement: &
|
225
|
+
requirement: &6412760 !ruby/object:Gem::Requirement
|
215
226
|
none: false
|
216
227
|
requirements:
|
217
228
|
- - ~>
|
@@ -219,10 +230,10 @@ dependencies:
|
|
219
230
|
version: 2.6.1
|
220
231
|
type: :development
|
221
232
|
prerelease: false
|
222
|
-
version_requirements: *
|
233
|
+
version_requirements: *6412760
|
223
234
|
- !ruby/object:Gem::Dependency
|
224
235
|
name: capybara
|
225
|
-
requirement: &
|
236
|
+
requirement: &6409600 !ruby/object:Gem::Requirement
|
226
237
|
none: false
|
227
238
|
requirements:
|
228
239
|
- - ~>
|
@@ -230,10 +241,10 @@ dependencies:
|
|
230
241
|
version: 1.1.1
|
231
242
|
type: :development
|
232
243
|
prerelease: false
|
233
|
-
version_requirements: *
|
244
|
+
version_requirements: *6409600
|
234
245
|
- !ruby/object:Gem::Dependency
|
235
246
|
name: launchy
|
236
|
-
requirement: &
|
247
|
+
requirement: &6407740 !ruby/object:Gem::Requirement
|
237
248
|
none: false
|
238
249
|
requirements:
|
239
250
|
- - ~>
|
@@ -241,10 +252,10 @@ dependencies:
|
|
241
252
|
version: 2.0.5
|
242
253
|
type: :development
|
243
254
|
prerelease: false
|
244
|
-
version_requirements: *
|
255
|
+
version_requirements: *6407740
|
245
256
|
- !ruby/object:Gem::Dependency
|
246
257
|
name: mocha
|
247
|
-
requirement: &
|
258
|
+
requirement: &6406480 !ruby/object:Gem::Requirement
|
248
259
|
none: false
|
249
260
|
requirements:
|
250
261
|
- - ~>
|
@@ -252,10 +263,10 @@ dependencies:
|
|
252
263
|
version: 0.10.0
|
253
264
|
type: :development
|
254
265
|
prerelease: false
|
255
|
-
version_requirements: *
|
266
|
+
version_requirements: *6406480
|
256
267
|
- !ruby/object:Gem::Dependency
|
257
268
|
name: factory_girl
|
258
|
-
requirement: &
|
269
|
+
requirement: &6405640 !ruby/object:Gem::Requirement
|
259
270
|
none: false
|
260
271
|
requirements:
|
261
272
|
- - ~>
|
@@ -263,10 +274,10 @@ dependencies:
|
|
263
274
|
version: 2.1.2
|
264
275
|
type: :development
|
265
276
|
prerelease: false
|
266
|
-
version_requirements: *
|
277
|
+
version_requirements: *6405640
|
267
278
|
- !ruby/object:Gem::Dependency
|
268
279
|
name: timecop
|
269
|
-
requirement: &
|
280
|
+
requirement: &6421720 !ruby/object:Gem::Requirement
|
270
281
|
none: false
|
271
282
|
requirements:
|
272
283
|
- - ~>
|
@@ -274,10 +285,10 @@ dependencies:
|
|
274
285
|
version: 0.3.5
|
275
286
|
type: :development
|
276
287
|
prerelease: false
|
277
|
-
version_requirements: *
|
288
|
+
version_requirements: *6421720
|
278
289
|
- !ruby/object:Gem::Dependency
|
279
290
|
name: pry
|
280
|
-
requirement: &
|
291
|
+
requirement: &6420420 !ruby/object:Gem::Requirement
|
281
292
|
none: false
|
282
293
|
requirements:
|
283
294
|
- - ~>
|
@@ -285,20 +296,40 @@ dependencies:
|
|
285
296
|
version: 0.9.6.2
|
286
297
|
type: :development
|
287
298
|
prerelease: false
|
288
|
-
version_requirements: *
|
289
|
-
description: ! 'Did you ever
|
290
|
-
|
299
|
+
version_requirements: *6420420
|
300
|
+
description: ! 'Did you ever want to keep track of how much time you _really_ spend
|
301
|
+
on all of
|
302
|
+
|
303
|
+
your projects? Sure, you can try to remember to keep running estimates of your
|
304
|
+
|
305
|
+
time in the hope that you can aggregate those estimates later into some
|
306
|
+
|
307
|
+
meaningful data. But sometimes you forget, or an error creeps into your
|
308
|
+
|
309
|
+
estimate. And those errors add up. Quickly.
|
310
|
+
|
311
|
+
|
312
|
+
You can try some tracking software that depends on you to start and stop
|
313
|
+
|
314
|
+
timers. But what happens if you forget to start or stop one of those timers?
|
315
|
+
|
316
|
+
|
317
|
+
What you need is a passive system that will take care of all of this for you,
|
318
|
+
|
319
|
+
so you can focus on the actual work, which is where WatchTower comes into
|
320
|
+
|
321
|
+
play.
|
291
322
|
|
292
|
-
comes to the rescue.
|
293
323
|
|
324
|
+
WatchTower runs in the background and keeps track of the time spent editing
|
294
325
|
|
295
|
-
|
326
|
+
each file with one of the supported editors (listed below). Since WatchTower
|
296
327
|
|
297
|
-
time
|
328
|
+
keeps track of the time spent on each file, and it knows which project each
|
298
329
|
|
299
|
-
|
330
|
+
file belongs to, you can view details and statistics on each project, right
|
300
331
|
|
301
|
-
|
332
|
+
down to the file level.
|
302
333
|
|
303
334
|
'
|
304
335
|
email:
|
@@ -339,7 +370,9 @@ files:
|
|
339
370
|
- lib/watch_tower/editor/.gitkeep
|
340
371
|
- lib/watch_tower/editor/base_appscript.rb
|
341
372
|
- lib/watch_tower/editor/base_ps.rb
|
373
|
+
- lib/watch_tower/editor/extensions/watchtower.vim
|
342
374
|
- lib/watch_tower/editor/textmate.rb
|
375
|
+
- lib/watch_tower/editor/vim.rb
|
343
376
|
- lib/watch_tower/editor/xcode.rb
|
344
377
|
- lib/watch_tower/errors.rb
|
345
378
|
- lib/watch_tower/eye.rb
|
@@ -430,6 +463,7 @@ files:
|
|
430
463
|
- spec/watch_tower/config_spec.rb
|
431
464
|
- spec/watch_tower/editor/base_appscript_spec.rb
|
432
465
|
- spec/watch_tower/editor/textmate_spec.rb
|
466
|
+
- spec/watch_tower/editor/vim_spec.rb
|
433
467
|
- spec/watch_tower/editor/xcode_spec.rb
|
434
468
|
- spec/watch_tower/editor_spec.rb
|
435
469
|
- spec/watch_tower/eye_spec.rb
|
@@ -470,8 +504,8 @@ rubyforge_project:
|
|
470
504
|
rubygems_version: 1.8.10
|
471
505
|
signing_key:
|
472
506
|
specification_version: 3
|
473
|
-
summary: WatchTower helps you track
|
474
|
-
|
507
|
+
summary: WatchTower helps you track how much time you spend on all of your projects,
|
508
|
+
at the project, directory, and file level.
|
475
509
|
test_files:
|
476
510
|
- spec/factories.rb
|
477
511
|
- spec/spec_helper.rb
|
@@ -488,6 +522,7 @@ test_files:
|
|
488
522
|
- spec/watch_tower/config_spec.rb
|
489
523
|
- spec/watch_tower/editor/base_appscript_spec.rb
|
490
524
|
- spec/watch_tower/editor/textmate_spec.rb
|
525
|
+
- spec/watch_tower/editor/vim_spec.rb
|
491
526
|
- spec/watch_tower/editor/xcode_spec.rb
|
492
527
|
- spec/watch_tower/editor_spec.rb
|
493
528
|
- spec/watch_tower/eye_spec.rb
|