train-tax-calculator 2.1.0 → 2.2.0

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: b91e87ac4c47739dda0ba2f96eb062a7a3673ba3
4
- data.tar.gz: cdd6e712c3a7f441e4e5bc14360caa4742c46b01
3
+ metadata.gz: 954f065606cfde335995e52a05b4a8ac08e8e95f
4
+ data.tar.gz: acaa12454f0d1a5179b7aef2971caa158afd2a4a
5
5
  SHA512:
6
- metadata.gz: 44121856e0b75c4be125af628dc4e1c2b1676d8e5f0bf0ef210dfbd38699081cc39c328f8fd4e35e1ba600bbaa16f23573630d13662a29473aa1a4e4c32614be
7
- data.tar.gz: 468ca0cadcd0f6d3069099b009b8d5470e700a9a45c9914b3005e38e9afae1edeab74e7fb31a17a87974cecb74e2ec8ba8c0e0d3de49962c5583af9785563b25
6
+ metadata.gz: 1ca631c3e7e1ce7b7c0f9692c5938fb03dcdcaad1f5c792068d9f9b600785026d44edc3276895bb161396cc3c68043812a4efe94449dbd3c483041cb5ed305b8
7
+ data.tar.gz: 3bf3cb78f53a82178c88cb151228ba331298d5206778efc646e3db5d6f8b484a3e13651d68cd906a65fda03ab836b428355dfd9875e7856fd45daea1cef14f58
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- train-tax-calculator (2.0.2)
4
+ train-tax-calculator (2.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -57,5 +57,9 @@ module Train::Tax::Calculator
57
57
  compute(salary)[:ee]
58
58
  end
59
59
 
60
+ def self.compute_total_share(salary)
61
+ compute_employer_share(salary) + compute_employee_share(salary)
62
+ end
63
+
60
64
  end
61
65
  end
@@ -1,7 +1,7 @@
1
1
  module Train
2
2
  module Tax
3
3
  module Calculator
4
- VERSION = "2.1.0"
4
+ VERSION = "2.2.0"
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.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Chavez