timetrap 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -56,10 +56,18 @@ Usage
56
56
 
57
57
  The basic usage is as follows:
58
58
 
59
+ $ # create the "writing" timesheet
59
60
  $ t switch writing
61
+
62
+ $ # check in 5 minutes ago
60
63
  $ t in document timetrap --at "10 minutes ago"
64
+
65
+ $ # check out
61
66
  $ t out
62
67
 
68
+ $ # view current timesheet
69
+ $ t display
70
+
63
71
  The first command, ``t switch writing``, switches to the timesheet "writing"
64
72
  (or creates it if it does not exist). ``t in document timetrap --at "10 minutes
65
73
  ago"`` creates a new period in the current timesheet, and annotates it with the
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 5
4
- :patch: 2
4
+ :patch: 3
data/lib/timetrap/cli.rb CHANGED
@@ -81,10 +81,25 @@ COMMAND is one of:
81
81
  usage: t week [--ids] [--end DATE] [--format FMT] [SHEET | all]
82
82
 
83
83
  OTHER OPTIONS
84
+
84
85
  -h, --help Display this help.
85
86
  -r, --round Round output to 15 minute start and end times.
86
87
  -y, --yes Noninteractive, assume yes as answer to all prompts.
87
88
 
89
+ EXAMPLES
90
+
91
+ # create the "MyTimesheet" timesheet
92
+ $ t switch MyTimesheet
93
+
94
+ # check in 5 minutes ago with a note
95
+ $ t in --at '5 minutes ago' doing some stuff
96
+
97
+ # check out
98
+ $ t out
99
+
100
+ # view current timesheet
101
+ $ t display
102
+
88
103
  Submit bugs and feature requests to http://github.com/samg/timetrap/issues
89
104
  EOF
90
105
 
data/timetrap.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{timetrap}
8
- s.version = "1.5.2"
8
+ s.version = "1.5.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sam Goldstein"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timetrap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 2
10
- version: 1.5.2
9
+ - 3
10
+ version: 1.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sam Goldstein