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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dae2b7d2223c1b23bdb0c7a5b4c533ec1118099d
4
- data.tar.gz: 76439686cacec88bf69e81cebafd3521d26432da
3
+ metadata.gz: 5931ff8a5660be280a3de9572894968804b6e261
4
+ data.tar.gz: 3af1942abdc0a361ce88ccc4ac03d771e19da370
5
5
  SHA512:
6
- metadata.gz: d7075b9535ae94058495d7979320edca60acbaa7fd0c62f550ff93283cf3b94cda391c70d61bb1c7384cc6d8885bf298c991086848be01d8064a5f618d6c30d2
7
- data.tar.gz: a73777c00ba7717bb6b2c46766a22cfe1958a37ed0c22c9be49a7af94442ad58cd9b1d7af22d1edff9399fcf688176d2420698d75638eb7503cff27b89803401
6
+ metadata.gz: 6a1f0b884c42c1a4f5479612a09c5981b5e26a2d1b4c6521df0ef25e5d974c428673e961509f542be8231496222e74dcb528d2b51b59c941696bcecaf54f732e
7
+ data.tar.gz: eab2c084fcbdff5ab2c04b7ea125bfc61a8fdfe6ae2181495140a17be01fc212b3a4d6001772d1a31d966d488cfe7845aa085a7de5779b3dbe861f8d7299dbae
data/README.md CHANGED
@@ -1,30 +1,43 @@
1
1
  # WorkCalculator
2
2
 
3
- TODO: Write a gem description
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
- Add this line to your application's Gemfile:
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
- ```ruby
10
- gem 'work_calculator'
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
- Or install it yourself as:
33
+ Finally run:
18
34
 
19
- $ gem install work_calculator
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/[my-github-username]/work_calculator/fork )
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
@@ -55,9 +55,6 @@ when "run"
55
55
  puts $!.to_s
56
56
  puts opt_parser
57
57
  end
58
- when "test"
59
- puts "running tests..."
60
- Rake::Task[task].invoke("test")
61
58
  else
62
59
  puts opt_parser
63
60
  end
@@ -1,3 +1,3 @@
1
1
  class WorkCalculator
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: work_calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - den10