toggl 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/toggl.rb +6 -3
  2. metadata +4 -4
@@ -62,9 +62,12 @@ class Toggl
62
62
  def start(value)
63
63
  if value
64
64
  case value
65
- when "today" : Date.today
66
- when "yesterday": Date.today - 1
67
- when "tomorrow" : Date.today + 1
65
+ when "today"
66
+ Date.today
67
+ when "yesterday"
68
+ Date.today - 1
69
+ when "tomorrow"
70
+ Date.today + 1
68
71
  else
69
72
  DateTime.parse(value)
70
73
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toggl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Koen Van der Auwera
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-12 00:00:00 +02:00
18
+ date: 2010-10-30 00:00:00 +02:00
19
19
  default_executable: toggl
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency