npn47_iso8583 0.1.6.3 → 0.1.6.4

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: 36a24ca5d8f49a0941cf181e4db48742e3f4f665
4
- data.tar.gz: 52f2ee26530a9d53f334fbf1d963f0bd0a009c9d
3
+ metadata.gz: fde93161a98c3007c47b902bcbb1b82b40141350
4
+ data.tar.gz: ba2ffcedc71d20ad5f2aa56191296d9bfd1d1722
5
5
  SHA512:
6
- metadata.gz: a59ba2591ccdf4da93ab5d49ac53d06af640ec22fd4356e6cdbda055dc27be5fd6ce62695d01d936615f96078b2efd09365dbb6c671ce3ade35a52e931838077
7
- data.tar.gz: 5cfc47bf894153f96dfe7c49604ff107f09bb745d080390094b8054d6b16489347edcb004f6df2bd2db026916bf431a5916f29ced1f11a35e33ef2302eeadd19
6
+ metadata.gz: bc258a1e6bfca585a31b46d1c742bbed3d551183e4f86e698a8ffcfa01a13dc2f6534d5cb01dcadffded65cee27a0aeabfc6f7240243a7e8e859e41bec255111
7
+ data.tar.gz: 1101d02589bbcfaa3e14c62215e447e7169acbb460c5619548ed5717e4434f67ec4f5a365bce27cc8ea2de7874a99a0dc2f50c8c2ab5da9864b67b04bdfd4c27
@@ -16,15 +16,6 @@ module ISO8583
16
16
  # [YYYYMMDDHH] Date, formatted as described in ASCII numerals
17
17
  # [YYYYMMDDHH24MISS] Date, formatted as named in ASCII numerals
18
18
 
19
- # Special form to de/encode variable length indicators, three bytes ASCII numerals
20
- LLL = Field.new
21
- LLL.name = "LLL"
22
- LLL.length = 3
23
- LLL.codec = ASCII_Number
24
- LLL.padding = lambda {|value|
25
- sprintf("%03d", value)
26
- }
27
-
28
19
  # Special form to de/encode variable length indicators, two bytes ASCII numerals
29
20
  LL = Field.new
30
21
  LL.name = "LL"
@@ -51,8 +42,9 @@ module ISO8583
51
42
 
52
43
  # Three byte variable length alpha-numeric with special characters.
53
44
  LLLVAR_ANS = Field.new
54
- LLLVAR_ANS.length = LLL
45
+ LLLVAR_ANS.length = 3
55
46
  LLLVAR_ANS.codec = ANS_Codec
47
+ LLLVAR_ANS.padding = PADDING_LEFT_JUSTIFIED_SPACES
56
48
 
57
49
  # Two byte variable length ASCII letters
58
50
  # Fixed lengh numerals, repesented in ASCII, padding right justified using zeros
@@ -1,4 +1,4 @@
1
1
  # -*- mode: ruby; encoding: utf-8; tab-width: 2; indent-tabs-mode: nil -*-
2
2
  module ISO8583
3
- VERSION = "0.1.6.3"
3
+ VERSION = "0.1.6.4"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: npn47_iso8583
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6.3
4
+ version: 0.1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Becker