brcobranca 6.1.9 → 6.1.10

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: fd35610a98a81d18ed5a3ab253d8522f9be4bc1b
4
- data.tar.gz: cf7da176aa64efd9f4a54b364ed2a76bc49f0ca3
3
+ metadata.gz: 632de6b1c9d6583894f007a0808c335fbfcd2d38
4
+ data.tar.gz: 8fce49000235ff4943b8aac113730360ed66c649
5
5
  SHA512:
6
- metadata.gz: b7f18dd1ad05451ae5f8cbf0ee3d9763238788aa070327c746a169f3c89bb64b9efeb4f7872a537dd6e7d51655b10f0b2ec6add30e6750662d26f1373b79fff5
7
- data.tar.gz: d36b45a4065317538d44e978583f98de6589f6a416bc3a969523486869e0245c7b5c40f087a5fbc92f169456c26703382deab4fa6c3918feb5f27dd0200efc35
6
+ metadata.gz: f51b0a7a5a82c591de55b97424fe4394f55525c9a1df9e73cd1824b43c0683b81aea09843bd3515f44cba923c870e3ba96c832ee3f3b6b21c98d0857a714f9be
7
+ data.tar.gz: b1563be00a3d5f2a6c9835270872e4c1c908f56f07cf6abc0311d922e39a8dd72c2da06476c1694c0af0f0bda77290402d56c2ee5d3b29accba3494642705baf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brcobranca (6.1.9)
4
+ brcobranca (6.1.10)
5
5
  activemodel (>= 3)
6
6
  parseline (~> 1.0.3)
7
7
  rghost (~> 0.9)
@@ -27,10 +27,10 @@ GEM
27
27
  codeclimate-test-reporter (0.4.8)
28
28
  simplecov (>= 0.7.1, < 1.0.0)
29
29
  coderay (1.1.0)
30
- coveralls (0.8.9)
30
+ coveralls (0.8.10)
31
31
  json (~> 1.8)
32
32
  rest-client (>= 1.6.8, < 2)
33
- simplecov (~> 0.10.0)
33
+ simplecov (~> 0.11.0)
34
34
  term-ansicolor (~> 1.3)
35
35
  thor (~> 0.19.1)
36
36
  tins (~> 1.6.0)
@@ -84,7 +84,7 @@ GEM
84
84
  tins (<= 1.6.0)
85
85
  rubocop-rspec (1.3.1)
86
86
  ruby-progressbar (1.7.5)
87
- simplecov (0.10.0)
87
+ simplecov (0.11.1)
88
88
  docile (~> 1.1.0)
89
89
  json (~> 1.8)
90
90
  simplecov-html (~> 0.10.0)
@@ -305,7 +305,7 @@ module Brcobranca
305
305
  arquivo << monta_trailer_arquivo(contador, ((pagamentos.size * 2) + (contador * 2) + 2))
306
306
 
307
307
  remittance = arquivo.join("\n").to_ascii.upcase
308
-
308
+ remittance << "\n"
309
309
  remittance.encode(remittance.encoding, :universal_newline => true).encode(remittance.encoding, :crlf_newline => true)
310
310
  end
311
311
 
@@ -71,9 +71,10 @@ module Brcobranca
71
71
  ret << monta_detalhe(pagamento, contador)
72
72
  end
73
73
  ret << monta_trailer(contador + 1)
74
-
74
+
75
75
  remittance = ret.join("\n").to_ascii.upcase
76
-
76
+ remittance << "\n"
77
+
77
78
  remittance.encode(remittance.encoding, :universal_newline => true).encode(remittance.encoding, :crlf_newline => true)
78
79
  end
79
80
 
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  module Brcobranca
4
- VERSION = '6.1.9'
4
+ VERSION = '6.1.10'
5
5
  end
@@ -3,4 +3,4 @@
3
3
  0010001300001P 010123430000000123455 12345670000000123 71 000000000000000001407201500000000001999000000 02N14072015000000000000000000000000000000000000000000000000000000000000000000000000000000 3000000090000000000
4
4
  0010001300002Q 011000012345678901PABLO DIEGO JOSE FRANCISCO DE PAULA JUANRUA RIO GRANDE DO SUL SAO PAULO MINAS CASAO JOSE DOS QU12345678SANTA RITA DE CSP0000000000000000 000
5
5
  00100015 0000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
6
- 00199999 000001000006
6
+ 00199999 000001000006
@@ -3,4 +3,4 @@
3
3
  7560001300001P 010432730000000036668 000042971501014 10 220000000000000001407201500000000000500000000002N14072015000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000090000000000
4
4
  7560001300002Q 011000082136760505PABLO DIEGO JOSE FRANCISCO DE PAULA JUANRUA RIO GRANDE DO SUL SAO PAULO MINAS CASAO JOSE DOS QU12345678SANTA RITA DE CRJ0000000000000000 000
5
5
  75600015 000004
6
- 75699999 000001000006
6
+ 75699999 000001000006
@@ -1,3 +1,3 @@
1
1
  01REMESSA01COBRANCA 00000000000000000123SOCIEDADE BRASILEIRA DE ZOOLOG237BRADESCO 140715 MX0000001 000001
2
2
  1000000000000000000000011234512345671 0000000000000000123P00000000002N 2 01 14071500000000199900000000099N140715000000000000000000000000000000000000000000000000000000000000000100012345678901PABLO DIEGO JOSE FRANCISCO DE PAULA JUANRUA RIO GRANDE DO SU SANTA RITA DE C/SP 12345678 000002
3
- 9 000003
3
+ 9 000003
@@ -3,4 +3,4 @@
3
3
  1040001300001P 01123451123456000000000001400000000000012311 200000000000000001407201500000000001999000000099N14072015000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000090000000000
4
4
  1040001300002Q 011000012345678901PABLO DIEGO JOSE FRANCISCO DE PAULA JUANRUA RIO GRANDE DO SUL SAO PAULO MINAS CASAO JOSE DOS QU12345678SANTA RITA DE CSP0000000000000000 000
5
5
  10400015 000004000000000000000000000000000000000000000000000000000000000000000000000
6
- 10499999 000001000006
6
+ 10499999 000001000006
@@ -1,3 +1,3 @@
1
1
  01REMESSA01COBRANCA 17777751042700080112SOCIEDADE BRASILEIRA DE ZOOLOG745CITIBANK 140715 01600BPI000001
2
2
  1010001234567891017777751042700080112 01000000000123 0000000000000000000000000101000000000014071500000000199907450000007N140715000000000000000000000000000000000000000000000000000000000000000100012345678901PABLO DIEGO JOSE FRANCISCO DE PAULA JUANRUA RIO GRANDE DO SUL SAO PAULO MINAS CASAO JOSE DOS12345678SANTA RITA DE CSP 9000002
3
- 9 000003
3
+ 9 000003
@@ -1,3 +1,3 @@
1
1
  01REMESSA01COBRANCA 123400123451 SOCIEDADE BRASILEIRA DE ZOOLOG341BANCO ITAU SA 140715 000001
2
2
  10100012345678910123400123451 0000 000001230000000000000123 I01000000000014071500000000199903410000099N140715000000000000000000000000000000000000000000000000000000000000000100012345678901PABLO DIEGO JOSE FRANCISCO DE RUA RIO GRANDE DO SUL SAO PAULO MINAS CASAO JOSE DOS12345678SANTA RITA DE CSP 00000003 000002
3
- 9 000003
3
+ 9 000003
@@ -1,3 +1,3 @@
1
1
  01REMESSA01COBRANCA 17777751042700080112SOCIEDADE BRASILEIRA DE ZOOLOG033SANTANDER 1407150000000000000000 000000001
2
2
  1010001234567891017777751042700080112 00000123 00000000000000000000 000000501000000000014071500000000199900330888801N140715000000000000000000000000000000000000000000000000000000000000000100012345678901PABLO DIEGO JOSE FRANCISCO DE PAULA JUANRUA RIO GRANDE DO SUL SAO PAULO MINAS CASAO JOSE DOS12345678SANTA RITA DE CSP I77 00 000002
3
- 9000003000000001999000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003
3
+ 9000003000000001999000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003
@@ -182,7 +182,7 @@ shared_examples_for 'cnab240' do
182
182
  it 'remessa deve conter os registros mais as quebras de linha' do
183
183
  remessa = objeto.gera_arquivo
184
184
 
185
- expect(remessa.size).to eq 1450
185
+ expect(remessa.size).to eq 1452
186
186
  # quebras de linha
187
187
  expect(remessa[240..241]).to eq "\r\n"
188
188
  expect(remessa[482..483]).to eq "\r\n"
@@ -81,7 +81,7 @@ shared_examples_for 'cnab400' do
81
81
 
82
82
  it 'remessa deve conter os registros mais as quebras de linha' do
83
83
  remessa = objeto.gera_arquivo
84
- expect(remessa.size).to eq 1204
84
+ expect(remessa.size).to eq 1206
85
85
 
86
86
  # registros
87
87
  expect(remessa[0..399]).to eq objeto.monta_header
@@ -96,6 +96,6 @@ shared_examples_for 'cnab400' do
96
96
  objeto.pagamentos << pagamento
97
97
  remessa = objeto.gera_arquivo
98
98
 
99
- expect(remessa.size).to eq 1606
99
+ expect(remessa.size).to eq 1608
100
100
  end
101
101
  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.9
4
+ version: 6.1.10
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-30 00:00:00.000000000 Z
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rghost