da_funk 3.10.3 → 3.10.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: 74288cedcc9a7445acda45330150b35860f67697
4
- data.tar.gz: 8e4124b00f303f5d7ce6d087d5cfeb3d3c7c4e61
3
+ metadata.gz: 4e4108bcc6b9f25d88943848719b52a2d008f23f
4
+ data.tar.gz: aba37c50d035297b9db6398b9b92e53c6544fd3c
5
5
  SHA512:
6
- metadata.gz: e2cf210b863c986842a00bf726ee768f45ebb655cb7cd12e3e567dfd684fbead8db0c5a44eed8f2ad022bd2bb2a5cbe684e1dc75b917f591023501af7424ce56
7
- data.tar.gz: b282bebf06e8d9702014b71de91a9ec644c658491a2e5cae9f4070cae5874eab02b3adb1526ede5f5a889a620af783560b83b21d702986f98d85d47f667f44ef
6
+ metadata.gz: 739c40c0a67ba6d0ffd499919fab46ec092757e01929ffa2d757187c33f1eb46eb0a696408a0f23a60b7c083e404089329f4c14d93c5c0b2d88f01d46d2c9311
7
+ data.tar.gz: b120384e7f5dd9a76efc4fc298a1252a5a27fd0045707c4be5552f8da2881d0d1a08127563e959c9eb32576ac740ae837658d7835311bc2f7d7607f50b0206d4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (3.10.3)
4
+ da_funk (3.10.4)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
@@ -57,4 +57,4 @@ DEPENDENCIES
57
57
  yard
58
58
 
59
59
  BUNDLED WITH
60
- 2.0.1
60
+ 2.0.2
data/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # DaFunk
2
2
 
3
+ ### 3.10.4 - 2019-08-09
4
+
5
+ - Removed the name from the path for uncompress main. It was crashing the unzip process and breaking the update;
6
+ - Fix ISO8583 bmp encoding error.
7
+
3
8
  ### 3.10.3 - 2019-07-26
4
9
 
5
10
  - Check if ContextLog exists on ISO8583 field.rb;
@@ -59,7 +59,7 @@ module DaFunk
59
59
  message = "Problem to unzip #{zip}[#{name}]"
60
60
  raise FileNotFoundError.new(message) unless self.exists?
61
61
  if main_application?
62
- raise ApplicationError.new(message) unless Zip.uncompress(zip, './main', true, false)
62
+ raise ApplicationError.new(message) unless Zip.uncompress(zip, ".", true, false)
63
63
  else
64
64
  raise ApplicationError.new(message) unless Zip.uncompress(zip)
65
65
  end
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="3.10.3"
2
+ VERSION="3.10.4"
3
3
  end
4
4
 
@@ -212,7 +212,7 @@ module ISO8583
212
212
  @values.keys.sort.each do |bmp_num|
213
213
  bitmap.set(bmp_num)
214
214
  enc_value = @values[bmp_num].encode
215
- message << enc_value
215
+ message << enc_value.force_encoding('UTF-8')
216
216
  end
217
217
 
218
218
  if use_hex_bitmap
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: da_funk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.3
4
+ version: 3.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-26 00:00:00.000000000 Z
11
+ date: 2019-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake