wire_client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wire_client/messages/message.rb +2 -2
- data/lib/wire_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fe3d4be5caa3ebae64c94b38c977bd67e8abcbbb7d9a46d1de9996b61991471
|
4
|
+
data.tar.gz: 1e55ddca145585809e267c61fc6f489ea0f4b6295832c26d1ec9bb61743f9254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e177224667d221c78644bddd1184a8f9fdf0684f453afbd6a38ecac79047bd12d1226cca96ed636ba1f86f01cd861cb449f488d46a7e45801356a570b0cab5e5
|
7
|
+
data.tar.gz: 8122ad4427363ad9f8c6a82d82856320cdef75d0043736dab0f93e399b36ed8730363bb0f5fb933d2649325185cf410089b753970da43352bf6b03730d03a3ad
|
@@ -79,7 +79,7 @@ module WireClient
|
|
79
79
|
|
80
80
|
# Get unique identifer for the message (with fallback to a random string)
|
81
81
|
def message_identification
|
82
|
-
@message_identification ||= "WIRE
|
82
|
+
@message_identification ||= "WIRE#{SecureRandom.hex(5)}"
|
83
83
|
end
|
84
84
|
|
85
85
|
# Returns the id of the batch to which the given transaction belongs
|
@@ -143,7 +143,7 @@ module WireClient
|
|
143
143
|
|
144
144
|
# Unique and consecutive identifier (used for the <PmntInf> blocks)
|
145
145
|
def payment_information_identification(group)
|
146
|
-
"#{message_identification}
|
146
|
+
"#{message_identification}#{grouped_transactions.keys.index(group) + 1}"
|
147
147
|
end
|
148
148
|
|
149
149
|
# Returns a key to determine the group to which the transaction belongs
|
data/lib/wire_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wire_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ewerton Carlos Assis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-03-
|
12
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ach_client
|