hcl 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/hcl/commands.rb +1 -1
- data/lib/hcl/day_entry.rb +4 -0
- data/lib/hcl/version.rb +1 -1
- data/test/test_helper.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: 2ffeab4df3c125edae4368f304a145fa7d76bb0f
|
4
|
+
data.tar.gz: 8f362f3aa3e7010d9a871212818fa247165cea49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75031b9762f7ecc905d2b11fbe8c16b8708b459677a58de1750bca4cb9185699f25dd006626ea85841624e0b0130324ae43eef03922ffe8459b2411cf5b95817
|
7
|
+
data.tar.gz: 3a3b1bfce1f9f88da3a8bebb206c5bab6c6d6b71c81d6a8914a50ee4f74ecf216e904f03386bd95ed60b97cfb5b6eb37f706327bf22dd482d5db183f810fbf9c
|
data/CHANGELOG
CHANGED
data/lib/hcl/commands.rb
CHANGED
@@ -129,7 +129,7 @@ module HCl
|
|
129
129
|
DayEntry.all(date).each do |day|
|
130
130
|
running = day.running? ? '(running) ' : ''
|
131
131
|
columns = HighLine::SystemExtensions.terminal_size[0]
|
132
|
-
result << "\t#{day.formatted_hours}\t#{running}#{day.project}: #{day.notes.lines.last}\n"[0..columns-1]
|
132
|
+
result << "\t#{day.formatted_hours}\t#{running}#{day.project}: #{day.notes.lines.to_a.last}\n"[0..columns-1]
|
133
133
|
total_hours = total_hours + day.hours.to_f
|
134
134
|
end
|
135
135
|
result << ("\t" + '-' * 13) << "\n"
|
data/lib/hcl/day_entry.rb
CHANGED
data/lib/hcl/version.rb
CHANGED
data/test/test_helper.rb
CHANGED