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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d0c3b07727f98c5fa219f4261a801b45df93d96cfce09034966243a87add16c
4
- data.tar.gz: 553cb015719f0a62fe215ec1dff8e3a4ce7c5e886408eb8b08da39e6254ddd43
3
+ metadata.gz: 7fe3d4be5caa3ebae64c94b38c977bd67e8abcbbb7d9a46d1de9996b61991471
4
+ data.tar.gz: 1e55ddca145585809e267c61fc6f489ea0f4b6295832c26d1ec9bb61743f9254
5
5
  SHA512:
6
- metadata.gz: b28851c9b4c88299144add8d775a945f017418b9ef00b1576cdd0589212baec4f41d221a44720a42bdb148dc4548bf8a0b19f79c657f6ab343e03bcbfff585ed
7
- data.tar.gz: 38525913045b466925ac1ebb822f5fce70251d9352e0887c455935f4caaeca8a19bf7f2928c8188f3e8f6fd634dcdeaf9078a62619b04a32b81283a365bfeb9c
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/#{SecureRandom.hex(5)}"
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}/#{grouped_transactions.keys.index(group) + 1}"
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
@@ -1,4 +1,4 @@
1
1
  module WireClient
2
2
  # Increment this when changes are published
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
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.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-01 00:00:00.000000000 Z
12
+ date: 2018-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ach_client