seb_elink 1.0.1.pre.beta1 → 1.0.1.pre.beta2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/seb_elink/gateway.rb +1 -1
- data/lib/seb_elink/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be9531bc548ddd1e660145b9fa43ff03a436ca7e
|
|
4
|
+
data.tar.gz: 46930534c15f263c0d991861f30407f8af952b60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89f7dad40ad0a16f00d4c98a4e5deb7ecd035a370855361a779f282320b1e9dc5e5d640d29390c82bce525cf152d4a1d17507d8f2ebe59b42b77b468ac010caf
|
|
7
|
+
data.tar.gz: 1a90e385a36983b9bdfe4ed06c6cf2f868d02f84a028413ad8f6aedade2d42925853806ab4d820863fbeefb89edc8be9c28bfe9acc5095c6c49f3e7024fd970f
|
data/Gemfile.lock
CHANGED
data/lib/seb_elink/gateway.rb
CHANGED
|
@@ -37,7 +37,7 @@ class SebElink::Gateway
|
|
|
37
37
|
|
|
38
38
|
# 2. build the 'len(p1)||p1..' string
|
|
39
39
|
# This here is weak. Handling accented unicode is one, but chinese characters will break thos logic
|
|
40
|
-
length = data_hash[field].size.to_s.rjust(3, "0")
|
|
40
|
+
length = data_hash[field].to_s.size.to_s.rjust(3, "0")
|
|
41
41
|
|
|
42
42
|
"#{length}#{data_hash[field]}"
|
|
43
43
|
end.join("")
|
data/lib/seb_elink/version.rb
CHANGED