costagent 0.2.3 → 0.2.4

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/costagent.rb +1 -1
  2. metadata +3 -3
data/lib/costagent.rb CHANGED
@@ -108,7 +108,7 @@ class CostAgent
108
108
  :id => (timeslip/"id").text.to_i,
109
109
  :project_id => project.id,
110
110
  :project => project,
111
- :task_id => task.id,
111
+ :task_id => task.nil? ? nil : task.id,
112
112
  :task => task,
113
113
  :hours => hours,
114
114
  :date => DateTime.parse((timeslip/"dated-on").text),
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 3
9
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Elliott Draper
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-14 00:00:00 +01:00
17
+ date: 2011-01-28 00:00:00 +00:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency