US_2018_Tax 0.1.0 → 0.1.1

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: 53a3fa6f71fb06dbfe188524aa285e26fd059ebd
4
- data.tar.gz: d937b262225b5370add1f9ff2772cf4d87bae90c
3
+ metadata.gz: 128c06418b8b59883480e802867f8c93e28690c2
4
+ data.tar.gz: a43a5976903cc67ee153a8c4d10be01ab5510d7c
5
5
  SHA512:
6
- metadata.gz: 5c8835e9735797ea97a9d58c3e0fb06ede9165540872244527aa1b6e340b0e84d2e6f9bacc730ecffa1a0c20ab4527e624b0ec9f85c00855213a517088956387
7
- data.tar.gz: b99bb5634d4033694eae58d2eb36dd64700ef73ded8b1720f460d985225a9a5062674dae58535bdc1707b79d5dc7b3ed1e49f57770336576bcab229f43ce97c2
6
+ metadata.gz: f92ef5405f19d383d749f1c058b16b86830a1d012fd035deffaaa81608f821657742b264806d474eb10721ddb944308a8d535116867cd06a2655d135f02d8dd9
7
+ data.tar.gz: 6ff0de21b294813c75d20aac472275f3985adb0f75bbfb8b68ea1e8a2b8ef3b57250adfad8691dcd178df0b71b4d17fccf0c0ea9e8c169f7a1d8981daadce12b
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ US_2018_Tax (0.1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.0)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.2)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ US_2018_Tax!
30
+ bundler (~> 1.17)
31
+ rake (~> 10.0)
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 1.17.1
@@ -9,10 +9,6 @@ module US_2018_Tax
9
9
  return calculate_tax(@net_income) if income_numeric?
10
10
  end
11
11
 
12
- def gross_income
13
- @net_income - calculate_tax
14
- end
15
-
16
12
  def income_numeric?
17
13
  (@net_income.is_a? Numeric || @net_income.integer?)
18
14
  end
@@ -42,6 +38,10 @@ module US_2018_Tax
42
38
  calculate_tax(net_income) if income_numeric?
43
39
  end
44
40
 
41
+ def gross_income
42
+ @net_income - calculate_tax(@net_income)
43
+ end
44
+
45
45
  def gross_with_deduction
46
46
  @net_income - calculate_with_standard_deduction
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module US2018Tax
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: US_2018_Tax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - wesley sprague
@@ -64,6 +64,7 @@ files:
64
64
  - ".travis.yml"
65
65
  - CODE_OF_CONDUCT.md
66
66
  - Gemfile
67
+ - Gemfile.lock
67
68
  - LICENSE.txt
68
69
  - README.md
69
70
  - Rakefile