timesheets 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/timesheets/commands/summary.rb +2 -2
- data/lib/timesheets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2abcb0cf8baf4b0838f0b13d3807f45d763aca8
|
4
|
+
data.tar.gz: 843edea1155b36e7625b5b1d2e375035c151195b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d7c881fa72f4909da310cc92d35e4f49de22aacd4c90426dbbd097bb8cde0e4339e19ef8c572ee04a7f62b0925d5a3d3fb91061aa96bfcb1622af907a730fd
|
7
|
+
data.tar.gz: 1da375be03f41b04c0209fb2564016a5a82ffc3e24585d0015de3e5b0f6b41b3f82892e3e2a44065b54f85999d9b509aee702ac642ef1f847133d7af7954ecbd
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
A CLI for managing timesheets.
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/timesheets.svg)](http://badge.fury.io/rb/timesheets) [![Code Climate](https://codeclimate.com/github/bspaulding/timesheets.png)](https://codeclimate.com/github/bspaulding/timesheets)
|
6
|
+
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Install it via RubyGems:
|
@@ -27,7 +27,7 @@ module Timesheets
|
|
27
27
|
}
|
28
28
|
t << total_row(entries) unless options['week-of']
|
29
29
|
|
30
|
-
heading.length.times {|i| t.align_column(i, :right) }
|
30
|
+
(heading.length - 1).times {|i| t.align_column(i, :right) }
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
@@ -41,7 +41,7 @@ module Timesheets
|
|
41
41
|
def heading
|
42
42
|
the_heading = ['Weekday', 'Date', 'Time', 'Hour(s)']
|
43
43
|
|
44
|
-
the_heading += ['Hourly Rate', 'Total']
|
44
|
+
the_heading += ['Hourly Rate', 'Total'] if options[:rate]
|
45
45
|
|
46
46
|
the_heading
|
47
47
|
end
|
data/lib/timesheets/version.rb
CHANGED