brcobranca 6.1.8 → 6.1.9

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
  SHA1:
3
- metadata.gz: dce041d9cd2c0e7817699cd9c3d76de9eba2764b
4
- data.tar.gz: 0f7bbdf07f90c35583133cb6e5f5cad64bd4245c
3
+ metadata.gz: fd35610a98a81d18ed5a3ab253d8522f9be4bc1b
4
+ data.tar.gz: cf7da176aa64efd9f4a54b364ed2a76bc49f0ca3
5
5
  SHA512:
6
- metadata.gz: 31df8bb87334c1b50c2059561c2359c5ab2d6797f2f038050d55d1c6538146a28c0e0801e247b1e7bccf07c3543f30a255d84b2ec7ae5c191550a2c3555f9bd5
7
- data.tar.gz: 24f5e9b3b94162276c473af0ca92a4fe32514959635d9d83845405a2db9a1b536635950dfb9cd238c5c3d062295f31e91dd8ff4080e662bbae41407cf2751a2d
6
+ metadata.gz: b7f18dd1ad05451ae5f8cbf0ee3d9763238788aa070327c746a169f3c89bb64b9efeb4f7872a537dd6e7d51655b10f0b2ec6add30e6750662d26f1373b79fff5
7
+ data.tar.gz: d36b45a4065317538d44e978583f98de6589f6a416bc3a969523486869e0245c7b5c40f087a5fbc92f169456c26703382deab4fa6c3918feb5f27dd0200efc35
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brcobranca (6.1.8)
4
+ brcobranca (6.1.9)
5
5
  activemodel (>= 3)
6
6
  parseline (~> 1.0.3)
7
7
  rghost (~> 0.9)
@@ -304,7 +304,9 @@ module Brcobranca
304
304
 
305
305
  arquivo << monta_trailer_arquivo(contador, ((pagamentos.size * 2) + (contador * 2) + 2))
306
306
 
307
- arquivo.join("\r\n").to_ascii.upcase
307
+ remittance = arquivo.join("\n").to_ascii.upcase
308
+
309
+ remittance.encode(remittance.encoding, :universal_newline => true).encode(remittance.encoding, :crlf_newline => true)
308
310
  end
309
311
 
310
312
  # Complemento do registro
@@ -71,7 +71,10 @@ module Brcobranca
71
71
  ret << monta_detalhe(pagamento, contador)
72
72
  end
73
73
  ret << monta_trailer(contador + 1)
74
- ret.join("\r\n").to_ascii.upcase
74
+
75
+ remittance = ret.join("\n").to_ascii.upcase
76
+
77
+ remittance.encode(remittance.encoding, :universal_newline => true).encode(remittance.encoding, :crlf_newline => true)
75
78
  end
76
79
 
77
80
  # Informacoes referentes a conta do cedente
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module Brcobranca
4
- VERSION = '6.1.8'
4
+ VERSION = '6.1.9'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brcobranca
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.8
4
+ version: 6.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kivanio Barbosa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2015-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rghost