work_calculator 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +24 -11
- data/bin/work_calculator +0 -3
- data/lib/work_calculator/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: 5931ff8a5660be280a3de9572894968804b6e261
|
4
|
+
data.tar.gz: 3af1942abdc0a361ce88ccc4ac03d771e19da370
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a1f0b884c42c1a4f5479612a09c5981b5e26a2d1b4c6521df0ef25e5d974c428673e961509f542be8231496222e74dcb528d2b51b59c941696bcecaf54f732e
|
7
|
+
data.tar.gz: eab2c084fcbdff5ab2c04b7ea125bfc61a8fdfe6ae2181495140a17be01fc212b3a4d6001772d1a31d966d488cfe7845aa085a7de5779b3dbe861f8d7299dbae
|
data/README.md
CHANGED
@@ -1,30 +1,43 @@
|
|
1
1
|
# WorkCalculator
|
2
2
|
|
3
|
-
|
3
|
+
Simple command line calculator that tells you the number of full elapsed days worked within a given period.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
$ gem install work_calculator
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
Super easy to use. From your terminal run:
|
12
|
+
|
13
|
+
$ work_calculator run --start 01/11/2015 --finish 03/11/2015
|
14
|
+
|
15
|
+
Will print 1 day worked.
|
16
|
+
|
17
|
+
For help, simply enter:
|
8
18
|
|
9
|
-
|
10
|
-
|
11
|
-
|
19
|
+
$ work_calculator
|
20
|
+
|
21
|
+
|
22
|
+
## Testing
|
23
|
+
|
24
|
+
Pull the project from github
|
25
|
+
|
26
|
+
$ git clone https://github.com/den10/work_calculator
|
27
|
+
$ cd work_calculator
|
12
28
|
|
13
29
|
And then execute:
|
14
30
|
|
15
31
|
$ bundle
|
16
32
|
|
17
|
-
|
33
|
+
Finally run:
|
18
34
|
|
19
|
-
$
|
20
|
-
|
21
|
-
## Usage
|
35
|
+
$ rake
|
22
36
|
|
23
|
-
TODO: Write usage instructions here
|
24
37
|
|
25
38
|
## Contributing
|
26
39
|
|
27
|
-
1. Fork it ( https://github.com/
|
40
|
+
1. Fork it ( https://github.com/den10/work_calculator/fork )
|
28
41
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
29
42
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
30
43
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/bin/work_calculator
CHANGED