txt_timesheet 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/txt_timesheet.rb +1 -2
- data/lib/txt_timesheet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e715011ef4d9e73757d9254503539364acf1396c08d3a362d94faf80b19b415
|
4
|
+
data.tar.gz: 9c13677981523b10da143f616381fc7a24e83fdeb94861befe7204c656e40f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1654619d44015b51c4a26c2f00eafe1dd1439ff6322da02796d54b26514cfbfec300f91ba199d0ab0f21fc3704345c355b770f17c3492b4849a00628582c870
|
7
|
+
data.tar.gz: edec12fbd595af30e5b5567cc145572a9a271dc2a557ff024173dea12e40d6ba3e4738f5967a34c7a691f24dc34beb9a70e3535247b7d423241a77c2361f1771
|
data/Gemfile.lock
CHANGED
data/lib/txt_timesheet.rb
CHANGED
@@ -53,7 +53,6 @@ class TxtTimesheet
|
|
53
53
|
###
|
54
54
|
total_sec = sum_time
|
55
55
|
|
56
|
-
|
57
56
|
{
|
58
57
|
file_name: filename,
|
59
58
|
file_time: total_sec,
|
@@ -73,7 +72,7 @@ class TxtTimesheet
|
|
73
72
|
total_time += time_file
|
74
73
|
phrase = result[:phrase]
|
75
74
|
time_file = Time.at(time_file).utc
|
76
|
-
output << "#{file_name}: #{time_file.strftime('%H:%M')} hours -#{phrase}
|
75
|
+
output << "#{file_name}: #{time_file.strftime('%H:%M')} hours -#{phrase}"
|
77
76
|
|
78
77
|
# total_time = result[:file_time]
|
79
78
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txt_timesheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elvis Serrão
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Receive n files as command line parameters, parse these files and then,
|
14
14
|
calculates how many hours has been worked.
|