francois-tt 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/{tt → clitt} +0 -0
  2. data/lib/tt.rb +1 -0
  3. metadata +5 -5
data/bin/{tt → clitt} RENAMED
File without changes
data/lib/tt.rb CHANGED
@@ -32,6 +32,7 @@ module Tt
32
32
  ltime = Time.now
33
33
  intime = intime + ltime.utc_offset
34
34
  endtime = (outtime.nil? ? Time.now.utc : outtime) + ltime.utc_offset
35
+ outtime = outtime + ltime.utc_offset if outtime
35
36
 
36
37
  duration_in_seconds = endtime - intime
37
38
  duration_in_minutes = duration_in_seconds / 60
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: francois-tt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Fran\xC3\xA7ois Beausoleil"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-14 00:00:00 -07:00
12
+ date: 2009-01-11 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  description: Track your time locally, offline, using this simple tool.
25
25
  email: francois@teksol.info
26
26
  executables:
27
- - tt
27
+ - clitt
28
28
  - pi
29
29
  - po
30
30
  extensions: []
@@ -39,7 +39,7 @@ files:
39
39
  - Rakefile
40
40
  - TODO
41
41
  - lib/tt.rb
42
- - bin/tt
42
+ - bin/clitt
43
43
  - bin/pi
44
44
  - bin/po
45
45
  has_rdoc: true
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements: []
65
65
 
66
66
  rubyforge_project:
67
- rubygems_version: 1.0.1
67
+ rubygems_version: 1.2.0
68
68
  signing_key:
69
69
  specification_version: 2
70
70
  summary: Track your time locally, offline, using this simple tool.