ReinH-track 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README.rdoc +36 -3
  2. data/Rakefile +1 -1
  3. data/bin/track +1 -1
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -1,5 +1,38 @@
1
- == track
1
+ = track
2
2
 
3
- A gem that provides an awesome command line interface for time tracking that is awesome.
3
+ A gem that provides an awesome command line interface for time tracking that is
4
+ awesome.
4
5
 
5
- +track+ without arguments for usage instructions.
6
+ == Installing
7
+
8
+ gem install ReinH-track --source http://gems.github.com
9
+
10
+ == Examples
11
+
12
+ track TodoList list has many items
13
+ track TodoList items can be completed
14
+ track stop
15
+
16
+ will add entries to a file named <tt>track-#{Date.today.to_s}.txt</tt> that look like:
17
+
18
+ [2:12 - 2:46] TodoList: list has many items
19
+ [2:46 - 3:20] TodoList: items can be completed
20
+
21
+ == Configuration
22
+
23
+ a <tt>~/.track.yml</tt> file holds basic configuration options.
24
+
25
+ === Example
26
+
27
+ filename: TRACK
28
+ projects:
29
+ tl: TodoList
30
+
31
+ === Options
32
+
33
+ * +filename+: change the default file prefix.
34
+ * +projects+: specify aliases for common projects. Use <tt>track tl</tt> instead of <tt>track TodoList</tt>.
35
+
36
+ ==Coming Soon
37
+
38
+ * calculate total hours per project.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "track"
8
- GEM_VERSION = "1.0.1"
8
+ GEM_VERSION = "1.0.2"
9
9
  AUTHOR = "Rein Henrichs"
10
10
  EMAIL = "reinh@reinh.com"
11
11
  HOMEPAGE = "http://github.com/ReinH/track"
data/bin/track CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'yaml'
4
- require 'lib/track'
4
+ require File.join(File.dirname(__FILE__),'..','lib','track')
5
5
 
6
6
  home = ENV['HOME']
7
7
  config_file = "#{home}/.track.yml"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ReinH-track
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rein Henrichs
@@ -9,7 +9,7 @@ autorequire: track
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-11 00:00:00 -08:00
12
+ date: 2008-11-17 00:00:00 -08:00
13
13
  default_executable: track
14
14
  dependencies: []
15
15