README.md in txt_timesheet-1.1.3 vs README.md in txt_timesheet-1.1.4
- old
+ new
@@ -7,43 +7,63 @@
Installation
------------
gem install txt_timesheet
-How to use
+How it works
------------
-Create a file named timesheet.rb on your root folder.
- $ touch timesheet.rb
+Given 3 files like these
-Create a folder named "assets" on the root folder of your project
+`file1.txt`:
- $ mkdir assets
-
-The root folder of your project should look like this:
-
- $ ls
- assets/ timesheet.rb
-Then put your .txt files on assets folder.
+ ## Timesheet
-In your timesheet.rb file:
-
- require 'txt_timesheet'
+ morning: 09:13
+ brb lunch: 12:03
+ back: 13:56
+ leaving: 20:53
- timesheetObject = Txt_timesheet.new
+ ## What Happened?
- timesheetObject.run
+
+`file2.txt`:
+
+ ## Timesheet
+
+ morning: 09:59
+ brb lunch: 12:07
+ back: 13:40
+ brb: 18:41
+ back: 20:53
+ leaving: 22:53
-Then, run timesheet.rb and pass the files as parameters:
+ ## Daily report
+
+ Leaving:
- $ timesheet.rb file1.txt file2.txt file3.txt
+`file3.txt`:
+ ## Timesheet
+ morning: 09:45
+ brb lunch: 12:28
+ back: 13:31
+ brb: 18:07
+ back: 23:11
+ leaving: 23:11
+
+ ## Daily report
+
+ Leaving:
+ - syncs with Flávia, and with Iago and Arthur
+ - started working on CRM side to create user with password in authenticator
+
Your output should be like this:
- $ timesheet.rb file1.txt file2.txt file3.txt
+ $ timesheet file1.txt file2.txt file3.txt
REPORT:
file1.txt: 09:47 hours
file2.txt: 09:09 hours
file3.txt: 07:19 hours