uob-payroll 1.0.4 → 1.0.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: 0878321b1cd7585596496ad4e65022bfc6b42368
4
- data.tar.gz: 01162ed4eeebad355b85b5d96f3b5ea03499255b
3
+ metadata.gz: ffc20a1da3bc5aebc95f34d5751534f32886c086
4
+ data.tar.gz: 6ff939c710c741b2700d934f17b45dce2b4cdc19
5
5
  SHA512:
6
- metadata.gz: 91ca534cfddc83712dc74056eb96f5db182d600ff5b7b3b746d9ce41b1ff4b6cacb3c71d7078d6ef5b8df1a41b36f1ffb3b59945489ba5112ee58beeee959464
7
- data.tar.gz: dbc42ce40311ce96e1a50da0014e130f94c8e2ec2dd26e21683842128f4d11231244ecd8a1bc038f6a955318c209e618ef37a4fe4b7ed61308f18e1bec761fca
6
+ metadata.gz: c5b8e0106265cc6a2b1ef65b52d2e653962808eb93577b0231405383bb719d70f60fffcd24688557b976849042f19857b942a3b729ac8fa5013f77bcabaa2ffe
7
+ data.tar.gz: 7304289625f6026dbc825163d15f368c3671ad9ac45657ecec7f4f594c03f1a88739bae5cf1aead15dbb231bd4653498d8703e78ddffe028508857b053e80524
@@ -36,7 +36,7 @@ module UOB
36
36
  sum = 0
37
37
 
38
38
  rows.each.map do |row|
39
- hash_code = 1 if hash_code == 9
39
+ hash_code = 0 if hash_code == 9
40
40
  hash_code += 1
41
41
 
42
42
  sum += calculate_string(row.receiving_bic_code) +
@@ -53,11 +53,6 @@ module UOB
53
53
 
54
54
  private
55
55
 
56
- def calculate_index(index)
57
- index = 0 if index == 9
58
- index += 1
59
- end
60
-
61
56
  # Payment Type is always 'R', so Payment Code = 22
62
57
  def calculate_payment_type(index)
63
58
  22 * (index)
@@ -1,5 +1,5 @@
1
1
  module Uob
2
2
  module Payroll
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uob-payroll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Paca