train-tax-calculator 2.2.4 → 2.2.5

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
  SHA1:
3
- metadata.gz: c39135038d3544ae9ca29d0a5dd93bfa0738b40f
4
- data.tar.gz: dfb5454208487a37552fd4da39c1784ba470ec5b
3
+ metadata.gz: 1a05ebcb7498b2fa7b1152d043f4b07dd42738ab
4
+ data.tar.gz: 5709aeee64daa1bd1ba57904dd64872a83554766
5
5
  SHA512:
6
- metadata.gz: be54a299f92fd4ea5267a1d32035009a5d8dd3cd2afce11205666e10e87c04e8479f0922cbb7abb1d7794828830404ede88166bcd2b00d0426e12798d5db66d8
7
- data.tar.gz: 24231d7edeaf8daa7cd9563161ee6d9b85674c7f225f62da765715a2c6868438f96afdcc0c49094011aa80ff10776dc8b8d1702773935b7c14162c64325af234
6
+ metadata.gz: eef56521990386d7d56df369a1fbf04d0f574bf12e4d1cbd1eb27d532fc253a296d33deed94d15ba3f83e5325880951a18e0f05bf0f1c9a3fa9156b9fdd9064c
7
+ data.tar.gz: 637b5e0b4c6c324063eb444bffa2ce4f7188e58bc1f957daf3d17e0f8c3fc5b0cca584e2b957d63a7da5ed2c348aed6f3f892b7a6142bbe6fa99785d4b99f7c6
@@ -17,7 +17,7 @@ module Train
17
17
  hash[:philhealth] = Philhealth.compute(basic_salary)
18
18
  hash[:total_deductions] = Deductions.get(basic_salary)
19
19
  hash[:withholding_tax] = WithholdingTax.compute(basic_salary)
20
- hash[:net_income] = basic_salary - hash[:withholding_tax]
20
+ hash[:net_income] = (basic_salary - hash[:withholding_tax]).round(2)
21
21
 
22
22
  hash
23
23
  end
@@ -1,7 +1,7 @@
1
1
  module Train
2
2
  module Tax
3
3
  module Calculator
4
- VERSION = "2.2.4"
4
+ VERSION = "2.2.5"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: train-tax-calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Chavez