rtt 0.0.0.17 → 0.0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +18 -21
  2. data/Rakefile +1 -1
  3. data/rtt.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -4,7 +4,14 @@ RTT - Ruby Time Tracker
4
4
 
5
5
  RTT is a tool for tracking time. It's primary extend is to be used from command line. It could be used by simple typing:
6
6
 
7
- $ rtt start <task-name>
7
+ How to start a task?
8
+ --------------------
9
+
10
+ $ rtt '<task-name>' ( or the more explicit way: 'rtt start <task-name>')
11
+
12
+ That simple!
13
+
14
+ If you start a task with the same name as one already stored for the very same day, then both task will be merged (suming the time of each one of those).
8
15
 
9
16
  If no <task-name> is specified the last paused one is activated, otherwise a task with 'Default task' name would be created.
10
17
 
@@ -12,9 +19,7 @@ Then to stop the timer, you can do:
12
19
 
13
20
  $ rtt stop | pause | resume (if there is a paused task)
14
21
 
15
- Also, by just typying: 'rtt start', without specifying the task, it would default to the previous task.
16
-
17
- If you start a task with the same name as one already stored for the very same day, then both task will be merged (suming the time of each one of those).
22
+ Each new task belongs to a the current Project, Client and User. If there isn't any of those already configured, then the system will create them for you (you can change them later). Read 'More about the API' section.
18
23
 
19
24
  Installation
20
25
  ------------
@@ -25,33 +30,25 @@ After installing the gem you will need to setup some basic information of yours
25
30
 
26
31
  $ rtt configure user [<user-nick-name>]
27
32
 
28
- Then you will be prompt for First name, Last name, country, city, e-mail, site, etc. Information that will be used to fill-in the reports.
33
+ Then you will be prompt for First name, Last name, country, city, e-mail, site, etc. Information that will be used to fill-in the reports.
29
34
 
30
35
  The only required field is the Nickname, which identifies the user.
31
36
 
32
- To configure the current Project and Client you can use an analogous command:
33
-
34
- $ rtt configure project | rtt configure client
37
+ Note: This configuration step is not required, but if you don't do this your reports will lack any personal information.
35
38
 
36
- After which, you'll be prompted for the attributes for those models.
37
-
38
- How to start a task?
39
- --------------------
40
39
 
41
- $ rtt '<task-name>' ( or the more explicit way: 'rtt start <task-name>')
42
- ..
40
+ More about the API
41
+ ------------------
43
42
 
44
- That simple!
43
+ To configure the current Project, Client or Task you can use an analogous command:
45
44
 
46
- Note: This command will create a task for the current configured user, project and client.
45
+ $ rtt configure project [<project-name>] || rtt configure client [<client-name>] || rtt configure task [<task-name>]
47
46
 
48
- More about the API
49
- ------------------
47
+ After which, you'll be prompted for the attributes for those models.
50
48
 
51
- To change the current project. You can do this:
49
+ If you just want to change the current project. You can do this:
52
50
 
53
51
  $ rtt project <project-name>
54
- ..
55
52
 
56
53
  Anagolous, you can change the current Client by typing:
57
54
 
@@ -80,7 +77,7 @@ $ PROJECT=SomeProject rtt report
80
77
 
81
78
  This will generate a report for the project 'SomeProject'.
82
79
 
83
- $ FROM=20-01-2010 TO=25-01-2010 CLIENT=SomeClient rtt report
80
+ $ FROM=20-01-2010 TO=25-01-2010 CLIENT=SomeClient rtt report (or $ DATE="20-01-2010" NICKNAME="marklazz" rtt report /home/marcelo/some_filename.pdf)
84
81
 
85
82
  The output for this command will produce a report only for the task started after 20th of January and before 25th of January and also that were produced for the client called 'SomeClient'.
86
83
 
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'echoe'
3
3
 
4
4
  # PACKAGING ============================================================
5
5
 
6
- Echoe.new('rtt', '0.0.0.17') do |p|
6
+ Echoe.new('rtt', '0.0.0.18') do |p|
7
7
  p.description = 'RTT is a tool for tracking time'
8
8
  p.url = 'http://github.com/marklazz/rtt'
9
9
  p.author = 'Marcelo Giorgi'
data/rtt.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rtt}
5
- s.version = "0.0.0.17"
5
+ s.version = "0.0.0.18"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Marcelo Giorgi"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtt
3
3
  version: !ruby/object:Gem::Version
4
- hash: 109
4
+ hash: 107
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 0
10
- - 17
11
- version: 0.0.0.17
10
+ - 18
11
+ version: 0.0.0.18
12
12
  platform: ruby
13
13
  authors:
14
14
  - Marcelo Giorgi