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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08470fe381a48aedf40c08e78d0f2885516bab22f586e3aeb121cd85f3431dae'
4
- data.tar.gz: 6af41285c78b9c1deb410a767f894521549613ec0f1f17d4e3ca517f76da34d5
3
+ metadata.gz: 1e715011ef4d9e73757d9254503539364acf1396c08d3a362d94faf80b19b415
4
+ data.tar.gz: 9c13677981523b10da143f616381fc7a24e83fdeb94861befe7204c656e40f5b
5
5
  SHA512:
6
- metadata.gz: 3bb8f3afc6c4a446bf42afb09e9ae326b887838e33c47cbc59b0042667ec3d70b6a0982fb5a302081d1743e56276304a13254e1c1a985a8c0341af187adc1b14
7
- data.tar.gz: b7b38b26ec472654b6476df591fbde2fee4148e4740f48fc3a8360b47c7e013ccd46e13af5cbf06630f9beb0b5d59a4b3a4fa0da5bfcb11032a7e1dda084798f
6
+ metadata.gz: e1654619d44015b51c4a26c2f00eafe1dd1439ff6322da02796d54b26514cfbfec300f91ba199d0ab0f21fc3704345c355b770f17c3492b4849a00628582c870
7
+ data.tar.gz: edec12fbd595af30e5b5567cc145572a9a271dc2a557ff024173dea12e40d6ba3e4738f5967a34c7a691f24dc34beb9a70e3535247b7d423241a77c2361f1771
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- txt_timesheet (1.1.11)
4
+ txt_timesheet (1.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -50,4 +50,4 @@ DEPENDENCIES
50
50
  txt_timesheet!
51
51
 
52
52
  BUNDLED WITH
53
- 2.1.0.pre.2
53
+ 2.1.4
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}\n"
75
+ output << "#{file_name}: #{time_file.strftime('%H:%M')} hours -#{phrase}"
77
76
 
78
77
  # total_time = result[:file_time]
79
78
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TxtTimesheet
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.1'
5
5
  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.0
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: 2019-12-19 00:00:00.000000000 Z
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.