trak 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/trak +0 -1
- data/lib/trak.rb +0 -5
- metadata +17 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 55a933c05a595527ad913d44bf7a161c5818d27f
|
4
|
+
data.tar.gz: 98d114279cb62d323f66162b415ec4c1d9b9e981
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 30c7f182409834cbb31913f9675dff8293e8cbc660706128ce086e4bf745499ad9d381e87d9e325d9d2841d91600aa198fb68221c97adb17b7e29f859a5584cc
|
7
|
+
data.tar.gz: 47e810508461f0f7909add426c7a141c0e742e76581ed6fe8ce0013e9915746b9b2bb264fb22a5a9dde84152bec881e696c09d6d6ce54c9fc09e6a643951dc1c
|
data/bin/trak
CHANGED
data/lib/trak.rb
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
module Trak
|
2
2
|
require 'trak/core_ext/blank'
|
3
3
|
require 'trak/core_ext/round_to_nearest'
|
4
|
-
require 'debugger'
|
5
4
|
|
6
5
|
TIME_FORMAT_12HOUR = "%l:%M %p"
|
7
6
|
TIME_FORMAT_24HOUR = "%k:%M"
|
8
7
|
|
9
|
-
def self.breakpoint(steps = 1)
|
10
|
-
debugger(steps) if ENV['TRAK_DEBUG'] == "1"
|
11
|
-
end
|
12
|
-
|
13
8
|
# expects a hash of tasks mapped to time spent, and a sub-report name
|
14
9
|
# (e.g., work, personal)
|
15
10
|
# prints a formatted sub-report
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Adam Sharp
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: trollop
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,26 +20,19 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.16'
|
30
|
-
description:
|
31
|
-
|
27
|
+
description: |-
|
28
|
+
Problem: when tracking time, I don't want to have to
|
32
29
|
start and stop a timer. Trak is a tool that lets me say "I just spent
|
33
|
-
|
34
|
-
15 minutes working on email", instead of "I''m starting to email
|
35
|
-
|
30
|
+
15 minutes working on email", instead of "I'm starting to email
|
36
31
|
now...whoops! I forgot to tell the computer I stopped." Then later in
|
37
|
-
|
38
|
-
the
|
39
|
-
|
40
|
-
the total time you''ve spent for the day in your head. When you tell trak
|
41
|
-
|
32
|
+
the day when you spend some more time emailing, you don't have to keep
|
33
|
+
the total time you've spent for the day in your head. When you tell trak
|
42
34
|
to report on your time spent for the day, it tallies each task and gives
|
43
|
-
|
44
|
-
you a breakdown.'
|
35
|
+
you a breakdown.
|
45
36
|
email:
|
46
37
|
- adsharp@me.com
|
47
38
|
executables:
|
@@ -49,36 +40,35 @@ executables:
|
|
49
40
|
extensions: []
|
50
41
|
extra_rdoc_files: []
|
51
42
|
files:
|
43
|
+
- CHANGELOG.md
|
44
|
+
- README.md
|
45
|
+
- bin/trak
|
46
|
+
- lib/trak.rb
|
52
47
|
- lib/trak/core_ext/blank.rb
|
53
48
|
- lib/trak/core_ext/round_to_nearest.rb
|
54
49
|
- lib/trak/core_ext/time.rb
|
55
50
|
- lib/trak/exit.rb
|
56
|
-
- lib/trak.rb
|
57
|
-
- bin/trak
|
58
|
-
- CHANGELOG.md
|
59
|
-
- README.md
|
60
51
|
homepage: http://github.com/sharplet/trak
|
61
52
|
licenses: []
|
53
|
+
metadata: {}
|
62
54
|
post_install_message:
|
63
55
|
rdoc_options: []
|
64
56
|
require_paths:
|
65
57
|
- lib
|
66
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
59
|
requirements:
|
69
|
-
- -
|
60
|
+
- - '>='
|
70
61
|
- !ruby/object:Gem::Version
|
71
62
|
version: '0'
|
72
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
64
|
requirements:
|
75
|
-
- -
|
65
|
+
- - '>='
|
76
66
|
- !ruby/object:Gem::Version
|
77
67
|
version: '0'
|
78
68
|
requirements: []
|
79
69
|
rubyforge_project:
|
80
|
-
rubygems_version:
|
70
|
+
rubygems_version: 2.2.2
|
81
71
|
signing_key:
|
82
|
-
specification_version:
|
72
|
+
specification_version: 4
|
83
73
|
summary: A command line tool for tracking chunks of time
|
84
74
|
test_files: []
|