logstats 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG ADDED
@@ -0,0 +1,4 @@
1
+ 0.0.2 (08Dec2011)
2
+ BUGFIX: Failed to calculate today's time when there wasn't an open task
3
+ 0.0.1 (08Dec2011)
4
+ Initial Release
@@ -1,3 +1,3 @@
1
1
  module Logstats
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -141,7 +141,7 @@ class WorkLog < TailFromSentinel::Base
141
141
  end
142
142
  end
143
143
 
144
- stats[:today][:total] += days[:current]
144
+ stats[:today][:total] += days[:current] unless days[:current].nil?
145
145
  #stats[:today][:projects]['WIP'] = days[:current]
146
146
 
147
147
  return stats
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstats
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Stirk
@@ -62,6 +62,7 @@ extra_rdoc_files: []
62
62
  files:
63
63
  - .gitignore
64
64
  - .rvmrc
65
+ - CHANGELOG
65
66
  - Gemfile
66
67
  - Gemfile.lock
67
68
  - README