br_boleto 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +1 -1
- data/README.markdown +157 -8
- data/br_boleto.gemspec +1 -1
- data/lib/br_boleto.rb +12 -1
- data/lib/br_boleto/association/have_conta.rb +31 -27
- data/lib/br_boleto/boleto/banco_brasil.rb +130 -0
- data/lib/br_boleto/boleto/santander.rb +77 -0
- data/lib/br_boleto/conta/banco_brasil.rb +156 -0
- data/lib/br_boleto/conta/itau.rb +8 -3
- data/lib/br_boleto/conta/santander.rb +208 -0
- data/lib/br_boleto/remessa/cnab240/banco_brasil.rb +132 -0
- data/lib/br_boleto/remessa/cnab240/bradesco.rb +1 -3
- data/lib/br_boleto/remessa/cnab240/itau.rb +0 -6
- data/lib/br_boleto/remessa/cnab240/santander.rb +266 -0
- data/lib/br_boleto/remessa/cnab400/banco_brasil.rb +264 -0
- data/lib/br_boleto/remessa/cnab400/bradesco.rb +1 -1
- data/lib/br_boleto/remessa/cnab400/santander.rb +215 -0
- data/lib/br_boleto/retorno/cnab240/banco_brasil.rb +10 -0
- data/lib/br_boleto/retorno/cnab240/base.rb +3 -2
- data/lib/br_boleto/retorno/cnab240/caixa.rb +3 -2
- data/lib/br_boleto/retorno/cnab240/itau.rb +1 -2
- data/lib/br_boleto/retorno/cnab240/santander.rb +38 -0
- data/lib/br_boleto/retorno/cnab240/sicoob.rb +3 -2
- data/lib/br_boleto/retorno/cnab400/banco_brasil.rb +46 -0
- data/lib/br_boleto/retorno/cnab400/bradesco.rb +4 -3
- data/lib/br_boleto/retorno/cnab400/itau.rb +2 -2
- data/lib/br_boleto/retorno/cnab400/santander.rb +44 -0
- data/lib/br_boleto/retorno/cnab400/sicoob.rb +3 -2
- data/lib/br_boleto/retorno/cnab400/sicredi.rb +20 -6
- data/lib/br_boleto/retorno/pagamento.rb +28 -7
- data/lib/br_boleto/version.rb +1 -1
- data/test/br_boleto/boleto/banco_brasil_test.rb +183 -0
- data/test/br_boleto/boleto/santander_test.rb +122 -0
- data/test/br_boleto/conta/banco_brasil_test.rb +209 -0
- data/test/br_boleto/conta/santantader_test.rb +222 -0
- data/test/br_boleto/remessa/cnab240/banco_brasil_test.rb +187 -0
- data/test/br_boleto/remessa/cnab240/itau_test.rb +4 -0
- data/test/br_boleto/remessa/cnab240/santander_test.rb +144 -0
- data/test/br_boleto/remessa/cnab400/banco_brasil_test.rb +285 -0
- data/test/br_boleto/remessa/cnab400/bradesco_test.rb +7 -0
- data/test/br_boleto/remessa/cnab400/santander_test.rb +174 -0
- data/test/br_boleto/retorno/cnab240/banco_brasil_test.rb +271 -0
- data/test/br_boleto/retorno/cnab240/base_test.rb +20 -10
- data/test/br_boleto/retorno/cnab240/bradesco_test.rb +15 -15
- data/test/br_boleto/retorno/cnab240/caixa_test.rb +10 -10
- data/test/br_boleto/retorno/cnab240/cecred_test.rb +55 -138
- data/test/br_boleto/retorno/cnab240/itau_test.rb +15 -15
- data/test/br_boleto/retorno/cnab240/santander_test.rb +282 -0
- data/test/br_boleto/retorno/cnab240/sicoob_test.rb +25 -15
- data/test/br_boleto/retorno/cnab240/sicredi_test.rb +15 -15
- data/test/br_boleto/retorno/cnab240/unicred_test.rb +15 -15
- data/test/br_boleto/retorno/cnab400/banco_brasil_test.rb +7 -0
- data/test/br_boleto/retorno/cnab400/bradesco_test.rb +24 -12
- data/test/br_boleto/retorno/cnab400/itau_test.rb +6 -4
- data/test/br_boleto/retorno/cnab400/santander_test.rb +7 -0
- data/test/br_boleto/retorno/cnab400/sicoob_test.rb +20 -10
- data/test/br_boleto/retorno/cnab400/sicredi_test.rb +97 -1
- data/test/br_boleto/retorno/cnab400/unicred.rb +18 -18
- data/test/br_boleto/retorno/pagamento_test.rb +2 -2
- data/test/factories/boleto/boleto_banco_brasil.rb +18 -0
- data/test/factories/boleto/boleto_santander.rb +18 -0
- data/test/factories/conta/banco_brasil.rb +16 -0
- data/test/factories/conta/santander.rb +15 -0
- data/test/factories/remessa/cnab240/banco_brasil.rb +9 -0
- data/test/factories/remessa/cnab240/santander.rb +9 -0
- data/test/factories/remessa/cnab400/banco_brasil.rb +8 -0
- data/test/factories/remessa/cnab400/santander.rb +8 -0
- data/test/fixtures/retorno/cnab240/banco_brasil.ret +74 -0
- data/test/fixtures/retorno/cnab240/cecred.ret +10 -0
- data/test/fixtures/retorno/cnab240/santander.ret +16 -0
- data/test/fixtures/retorno/cnab400/sicredi.ret +4 -0
- metadata +64 -7
@@ -2,6 +2,102 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
describe BrBoleto::Retorno::Cnab400::Sicredi do
|
4
4
|
subject { BrBoleto::Retorno::Cnab400::Sicredi.new(file) }
|
5
|
-
|
5
|
+
let(:file) { open_fixture('retorno/cnab400/sicredi.ret') }
|
6
6
|
|
7
|
+
it "Deve ler o código do banco" do
|
8
|
+
subject.codigo_banco.must_equal '748'
|
9
|
+
end
|
10
|
+
|
11
|
+
it "Deve carregar 2 pagamentos" do
|
12
|
+
subject.pagamentos.size.must_equal 2
|
13
|
+
end
|
14
|
+
|
15
|
+
describe "deve setar as informações corretas para os pagamentos" do
|
16
|
+
it "valores para o pagamento 1" do
|
17
|
+
pagamento = subject.pagamentos[0]
|
18
|
+
pagamento.agencia_com_dv.must_be_nil
|
19
|
+
pagamento.agencia_sem_dv.must_be_nil
|
20
|
+
pagamento.numero_conta_dv.must_be_nil
|
21
|
+
pagamento.numero_conta_sem_dv.must_be_nil
|
22
|
+
pagamento.banco_recebedor.must_be_nil
|
23
|
+
pagamento.agencia_recebedora_com_dv.must_be_nil
|
24
|
+
pagamento.sacado_documento.must_be_nil
|
25
|
+
pagamento.data_credito.must_be_nil
|
26
|
+
pagamento.codigo_pagador_cooperativa.must_equal "00000"
|
27
|
+
pagamento.codigo_pagador_associado.must_equal "00000"
|
28
|
+
pagamento.nosso_numero.must_equal "162000017"
|
29
|
+
pagamento.nosso_numero_sem_dv.must_equal "16200001"
|
30
|
+
pagamento.nosso_numero_dv.must_equal "7"
|
31
|
+
pagamento.carteira.must_equal "C"
|
32
|
+
pagamento.numero_documento.must_equal ""
|
33
|
+
pagamento.data_vencimento.must_be_nil
|
34
|
+
pagamento.valor_titulo.must_equal 5.0
|
35
|
+
pagamento.valor_tarifa.must_equal 0.0
|
36
|
+
pagamento.valor_juros_multa.must_equal 0.0
|
37
|
+
pagamento.valor_desconto.must_equal 0.0
|
38
|
+
pagamento.valor_abatimento.must_equal 0.0
|
39
|
+
pagamento.valor_pago.must_equal 5.0
|
40
|
+
pagamento.valor_liquido.must_equal 5.0
|
41
|
+
pagamento.valor_outras_despesas.must_equal 0.0
|
42
|
+
pagamento.valor_outros_creditos.must_equal 0.0
|
43
|
+
pagamento.data_ocorrencia.must_equal Date.parse('05/12/2016')
|
44
|
+
pagamento.data_ocorrencia_sacado.must_equal Date.parse('05/12/2016')
|
45
|
+
pagamento.valor_ocorrencia_sacado.must_equal 5.0
|
46
|
+
pagamento.especie_titulo.must_equal ''
|
47
|
+
pagamento.codigo_ocorrencia_sacado.must_be_nil
|
48
|
+
pagamento.dv_conta_e_agencia.must_be_nil
|
49
|
+
pagamento.identificacao_titulo_empresa.must_be_nil
|
50
|
+
pagamento.codigo_moeda.must_be_nil
|
51
|
+
pagamento.sacado_tipo_documento.must_be_nil
|
52
|
+
pagamento.sacado_nome.must_be_nil
|
53
|
+
pagamento.numero_contrato.must_be_nil
|
54
|
+
pagamento.motivo_ocorrencia.must_be_nil
|
55
|
+
pagamento.complemento_ocorrencia_sacado.must_be_nil
|
56
|
+
pagamento.codigo_ocorrencia_banco_correspondente.must_be_nil
|
57
|
+
pagamento.nosso_numero_banco_correspondente.must_be_nil
|
58
|
+
end
|
59
|
+
it "valores para o pagamento 2" do
|
60
|
+
pagamento = subject.pagamentos[1]
|
61
|
+
pagamento.agencia_com_dv.must_be_nil
|
62
|
+
pagamento.agencia_sem_dv.must_be_nil
|
63
|
+
pagamento.numero_conta_dv.must_be_nil
|
64
|
+
pagamento.numero_conta_sem_dv.must_be_nil
|
65
|
+
pagamento.banco_recebedor.must_be_nil
|
66
|
+
pagamento.agencia_recebedora_com_dv.must_be_nil
|
67
|
+
pagamento.sacado_documento.must_be_nil
|
68
|
+
pagamento.data_credito.must_be_nil
|
69
|
+
pagamento.codigo_pagador_cooperativa.must_equal "00000"
|
70
|
+
pagamento.codigo_pagador_associado.must_equal "00000"
|
71
|
+
pagamento.nosso_numero.must_equal "162000017"
|
72
|
+
pagamento.nosso_numero_sem_dv.must_equal "16200001"
|
73
|
+
pagamento.nosso_numero_dv.must_equal "7"
|
74
|
+
pagamento.carteira.must_equal "C"
|
75
|
+
pagamento.numero_documento.must_equal ""
|
76
|
+
pagamento.data_vencimento.must_be_nil
|
77
|
+
pagamento.valor_titulo.must_equal 2.5
|
78
|
+
pagamento.valor_tarifa.must_equal 0.0
|
79
|
+
pagamento.valor_juros_multa.must_equal 0.0
|
80
|
+
pagamento.valor_desconto.must_equal 0.0
|
81
|
+
pagamento.valor_abatimento.must_equal 0.0
|
82
|
+
pagamento.valor_pago.must_equal 5.0
|
83
|
+
pagamento.valor_liquido.must_equal 5.0
|
84
|
+
pagamento.valor_outras_despesas.must_equal 0.0
|
85
|
+
pagamento.valor_outros_creditos.must_equal 0.0
|
86
|
+
pagamento.data_ocorrencia.must_equal Date.parse('05/12/2016')
|
87
|
+
pagamento.data_ocorrencia_sacado.must_equal Date.parse('05/12/2016')
|
88
|
+
pagamento.valor_ocorrencia_sacado.must_equal 5.0
|
89
|
+
pagamento.especie_titulo.must_equal ''
|
90
|
+
pagamento.codigo_ocorrencia_sacado.must_be_nil
|
91
|
+
pagamento.dv_conta_e_agencia.must_be_nil
|
92
|
+
pagamento.identificacao_titulo_empresa.must_be_nil
|
93
|
+
pagamento.codigo_moeda.must_be_nil
|
94
|
+
pagamento.sacado_tipo_documento.must_be_nil
|
95
|
+
pagamento.sacado_nome.must_be_nil
|
96
|
+
pagamento.numero_contrato.must_be_nil
|
97
|
+
pagamento.motivo_ocorrencia.must_be_nil
|
98
|
+
pagamento.complemento_ocorrencia_sacado.must_be_nil
|
99
|
+
pagamento.codigo_ocorrencia_banco_correspondente.must_be_nil
|
100
|
+
pagamento.nosso_numero_banco_correspondente.must_be_nil
|
101
|
+
end
|
102
|
+
end
|
7
103
|
end
|
@@ -13,10 +13,10 @@ describe BrBoleto::Retorno::Cnab400::Unicred do
|
|
13
13
|
it "valores para o pagamento 1" do
|
14
14
|
pagamento = subject.pagamentos[0]
|
15
15
|
pagamento.agencia_sem_dv.must_equal "01467"
|
16
|
-
pagamento.
|
16
|
+
pagamento.numero_conta.must_equal "0019669"
|
17
17
|
pagamento.numero_conta_dv.must_equal "9"
|
18
|
-
pagamento.
|
19
|
-
pagamento.
|
18
|
+
pagamento.numero_conta_sem_dv.must_equal "001966"
|
19
|
+
pagamento.nosso_numero_sem_dv.must_equal "000000000303"
|
20
20
|
pagamento.carteira.must_equal "09"
|
21
21
|
pagamento.numero_documento.must_equal "0030"
|
22
22
|
pagamento.data_vencimento.must_equal Date.parse('25/05/2015')
|
@@ -54,10 +54,10 @@ describe BrBoleto::Retorno::Cnab400::Unicred do
|
|
54
54
|
it "valores para o pagamento 2" do
|
55
55
|
pagamento = subject.pagamentos[1]
|
56
56
|
pagamento.agencia_sem_dv.must_equal "01467"
|
57
|
-
pagamento.
|
57
|
+
pagamento.numero_conta.must_equal "0019669"
|
58
58
|
pagamento.numero_conta_dv.must_equal "9"
|
59
|
-
pagamento.
|
60
|
-
pagamento.
|
59
|
+
pagamento.numero_conta_sem_dv.must_equal "001966"
|
60
|
+
pagamento.nosso_numero_sem_dv.must_equal "51350000004P"
|
61
61
|
pagamento.carteira.must_equal "09"
|
62
62
|
pagamento.numero_documento.must_equal "1146"
|
63
63
|
pagamento.data_vencimento.must_equal Date.parse('25/05/2015')
|
@@ -94,10 +94,10 @@ describe BrBoleto::Retorno::Cnab400::Unicred do
|
|
94
94
|
it "valores para o pagamento 3" do
|
95
95
|
pagamento = subject.pagamentos[2]
|
96
96
|
pagamento.agencia_sem_dv.must_equal "01467"
|
97
|
-
pagamento.
|
97
|
+
pagamento.numero_conta.must_equal "0019669"
|
98
98
|
pagamento.numero_conta_dv.must_equal "9"
|
99
|
-
pagamento.
|
100
|
-
pagamento.
|
99
|
+
pagamento.numero_conta_sem_dv.must_equal "001966"
|
100
|
+
pagamento.nosso_numero_sem_dv.must_equal "513500000074"
|
101
101
|
pagamento.carteira.must_equal "09"
|
102
102
|
pagamento.numero_documento.must_equal "1142"
|
103
103
|
pagamento.data_vencimento.must_equal Date.parse('25/05/2015')
|
@@ -134,10 +134,10 @@ describe BrBoleto::Retorno::Cnab400::Unicred do
|
|
134
134
|
it "valores para o pagamento 4" do
|
135
135
|
pagamento = subject.pagamentos[3]
|
136
136
|
pagamento.agencia_sem_dv.must_equal "01467"
|
137
|
-
pagamento.
|
137
|
+
pagamento.numero_conta.must_equal "0019669"
|
138
138
|
pagamento.numero_conta_dv.must_equal "9"
|
139
|
-
pagamento.
|
140
|
-
pagamento.
|
139
|
+
pagamento.numero_conta_sem_dv.must_equal "001966"
|
140
|
+
pagamento.nosso_numero_sem_dv.must_equal "513500000090"
|
141
141
|
pagamento.carteira.must_equal "09"
|
142
142
|
pagamento.numero_documento.must_equal "1145"
|
143
143
|
pagamento.data_vencimento.must_equal Date.parse('12/06/2015')
|
@@ -174,10 +174,10 @@ describe BrBoleto::Retorno::Cnab400::Unicred do
|
|
174
174
|
it "valores para o pagamento 5" do
|
175
175
|
pagamento = subject.pagamentos[4]
|
176
176
|
pagamento.agencia_sem_dv.must_equal "01467"
|
177
|
-
pagamento.
|
177
|
+
pagamento.numero_conta.must_equal "0019669"
|
178
178
|
pagamento.numero_conta_dv.must_equal "9"
|
179
|
-
pagamento.
|
180
|
-
pagamento.
|
179
|
+
pagamento.numero_conta_sem_dv.must_equal "001966"
|
180
|
+
pagamento.nosso_numero_sem_dv.must_equal "513500000112"
|
181
181
|
pagamento.carteira.must_equal "09"
|
182
182
|
pagamento.numero_documento.must_equal "1144"
|
183
183
|
pagamento.data_vencimento.must_equal Date.parse('25/05/2015')
|
@@ -214,10 +214,10 @@ describe BrBoleto::Retorno::Cnab400::Unicred do
|
|
214
214
|
it "valores para o pagamento 6" do
|
215
215
|
pagamento = subject.pagamentos[5]
|
216
216
|
pagamento.agencia_sem_dv.must_equal "01467"
|
217
|
-
pagamento.
|
217
|
+
pagamento.numero_conta.must_equal "0019669"
|
218
218
|
pagamento.numero_conta_dv.must_equal "9"
|
219
|
-
pagamento.
|
220
|
-
pagamento.
|
219
|
+
pagamento.numero_conta_sem_dv.must_equal "001966"
|
220
|
+
pagamento.nosso_numero_sem_dv.must_equal "509800000028"
|
221
221
|
pagamento.carteira.must_equal "09"
|
222
222
|
pagamento.numero_documento.must_equal "1053"
|
223
223
|
pagamento.data_vencimento.must_equal Date.parse('06/05/2015')
|
@@ -177,9 +177,9 @@ describe BrBoleto::Retorno::Pagamento do
|
|
177
177
|
end
|
178
178
|
describe "#numero_conta_com_dv" do
|
179
179
|
it "deve converter o valor numero_conta concatenado com o numero_conta_dv" do
|
180
|
-
subject.
|
180
|
+
subject.numero_conta_sem_dv = '12345'
|
181
181
|
subject.numero_conta_dv = '0'
|
182
|
-
subject.
|
182
|
+
subject.numero_conta.must_equal '123450'
|
183
183
|
end
|
184
184
|
end
|
185
185
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
FactoryGirl.define do
|
4
|
+
factory :boleto_banco_brasil, class: BrBoleto::Boleto::BancoBrasil do
|
5
|
+
conta { FactoryGirl.build(:conta_banco_brasil) }
|
6
|
+
pagador { FactoryGirl.build(:pagador) }
|
7
|
+
numero_documento '111'
|
8
|
+
data_vencimento { Date.tomorrow }
|
9
|
+
data_documento { Date.current }
|
10
|
+
valor_documento 30.33
|
11
|
+
instrucoes1 'instrucoes1'
|
12
|
+
instrucoes2 'instrucoes2'
|
13
|
+
instrucoes3 'instrucoes3'
|
14
|
+
instrucoes4 'instrucoes4'
|
15
|
+
instrucoes5 'instrucoes5'
|
16
|
+
instrucoes6 'instrucoes6'
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
FactoryGirl.define do
|
4
|
+
factory :boleto_santander, class: BrBoleto::Boleto::Santander do
|
5
|
+
conta { FactoryGirl.build(:conta_santander) }
|
6
|
+
pagador { FactoryGirl.build(:pagador) }
|
7
|
+
numero_documento '111'
|
8
|
+
data_vencimento { Date.tomorrow }
|
9
|
+
data_documento { Date.current }
|
10
|
+
valor_documento 700.00
|
11
|
+
instrucoes1 'instrucoes1'
|
12
|
+
instrucoes2 'instrucoes2'
|
13
|
+
instrucoes3 'instrucoes3'
|
14
|
+
instrucoes4 'instrucoes4'
|
15
|
+
instrucoes5 'instrucoes5'
|
16
|
+
instrucoes6 'instrucoes6'
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
FactoryGirl.define do
|
4
|
+
factory :conta_banco_brasil, class: BrBoleto::Conta::BancoBrasil do
|
5
|
+
codigo_cedente '9090144'
|
6
|
+
conta_corrente '89755'
|
7
|
+
conta_corrente_dv '8'
|
8
|
+
agencia '4697'
|
9
|
+
carteira '18'
|
10
|
+
# codigo_carteira '1'
|
11
|
+
razao_social 'Razao Social emitente'
|
12
|
+
cpf_cnpj '98137264000196' # Gerado pelo gerador de cnpj
|
13
|
+
endereco 'Rua nome da rua, 9999'
|
14
|
+
codigo_empresa '1234'
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
FactoryGirl.define do
|
4
|
+
factory :conta_santander, class: BrBoleto::Conta::Santander do
|
5
|
+
codigo_cedente '9090144'
|
6
|
+
conta_corrente '89755'
|
7
|
+
conta_corrente_dv '8'
|
8
|
+
agencia '4697'
|
9
|
+
carteira '101'
|
10
|
+
razao_social 'Razao Social emitente'
|
11
|
+
cpf_cnpj '98137264000196' # Gerado pelo gerador de cnpj
|
12
|
+
endereco 'Rua nome da rua, 9999'
|
13
|
+
codigo_empresa '1234'
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
FactoryGirl.define do
|
4
|
+
factory :remessa_cnab240_banco_brasil, class: BrBoleto::Remessa::Cnab240::BancoBrasil do
|
5
|
+
lotes { FactoryGirl.build(:remessa_lote) }
|
6
|
+
conta { FactoryGirl.build(:conta_banco_brasil) }
|
7
|
+
sequencial_remessa 1
|
8
|
+
end
|
9
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
00100000 2356438990001450019999570014 0123450000000054321 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxBANCO DO BRASIL 22912201101431900210803000000920674440PROCESSAMEN
|
2
|
+
00100011T0100020 20356438990001450019999570014 0123450000000054321 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 000000002912201100000000 000000000
|
3
|
+
0010001300001T 170123450000000054321 14499570000020673 7 00000000000000000034400001020850 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
4
|
+
0010001300002U 170000000000000090000000000000010000000000000020000000000000030000000000344000000000000342970000000000000040000000000000052912201102012012 000000000000000 000
|
5
|
+
0010001300003T 170123450000000054321 14499570000020807 7 00000000000000000032117237003210 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
6
|
+
0010001300004U 170000000000000000000000000000000000000000000000000000000000000000000000321170000000000320140000000000000000000000000000002912201102012012 000000000000000 000
|
7
|
+
0010001300005T 170123450000000054321 14499570000020821 7 00000000000000000075147237003210 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
8
|
+
0010001300006U 170000000000000000000000000000000000000000000000000000000000000000000000751470000000000750440000000000000000000000000000002912201102012012 000000000000000 000
|
9
|
+
0010001300007T 170123450000000054321 14499570000020823 7 00000000000000000086618001043915 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
10
|
+
0010001300008U 170000000000000000000000000000000000000000000000000000000000000000000000866180000000000865150000000000000000000000000000002912201102012012 000000000000000 000
|
11
|
+
0010001300009T 170123450000000054321 14499570000020826 7 00000000000000000083000237021340 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
12
|
+
0010001300010U 170000000000000000000000000000000000000000000000000000000000000000000000830000000000000828970000000000000000000000000000002912201102012012 000000000000000 000
|
13
|
+
0010001300011T 170123450000000054321 14499570000020830 7 00000000000000000206255237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
14
|
+
0010001300012U 170000000000000000000000000000000000000000000000000000000000000000000002062550000000002061520000000000000000000000000000002912201102012012 000000000000000 000
|
15
|
+
0010001300013T 170123450000000054321 14499570000020831 7 00000000000000000084993237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
16
|
+
0010001300014U 170000000000000000000000000000000000000000000000000000000000000000000000849930000000000848900000000000000000000000000000002912201102012012 000000000000000 000
|
17
|
+
0010001300015T 170123450000000054321 14499570000020832 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
18
|
+
0010001300016U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
19
|
+
0010001300017T 170123450000000054321 14499570000020833 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
20
|
+
0010001300018U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
21
|
+
0010001300019T 170123450000000054321 14499570000020834 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
22
|
+
0010001300020U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
23
|
+
0010001300021T 170123450000000054321 14499570000020835 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
24
|
+
0010001300022U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
25
|
+
0010001300023T 170123450000000054321 14499570000020836 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
26
|
+
0010001300024U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
27
|
+
0010001300025T 170123450000000054321 14499570000020839 7 0000000000000000003668600104301X 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
28
|
+
0010001300026U 170000000000000000000000000000000000000000000000000000000000000000000000366860000000000365830000000000000000000000000000002912201102012012 000000000000000 000
|
29
|
+
0010001300027T 170123450000000054321 14499570000020846 7 00000000000000000089829001015334 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
30
|
+
0010001300028U 170000000000000000000000000000000000000000000000000000000000000000000000898290000000000897260000000000000000000000000000002912201102012012 000000000000000 000
|
31
|
+
0010001300029T 170123450000000054321 14499570000020847 7 00000000000000000105147422001610 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
32
|
+
0010001300030U 170000000000000000000000000000000000000000000000000000000000000000000001051470000000001050440000000000000000000000000000002912201102012012 000000000000000 000
|
33
|
+
0010001300031T 170123450000000054321 14499570000020855 7 00000000000000000054500001026239 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
34
|
+
0010001300032U 170000000000000000000000000000000000000000000000000000000000000000000000545000000000000543970000000000000000000000000000002912201102012012 000000000000000 000
|
35
|
+
0010001300033T 170123450000000054321 14499570000020864 7 00000000000000000018167001011061 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
36
|
+
0010001300034U 170000000000000000000000000000000000000000000000000000000000000000000000181670000000000180640000000000000000000000000000002912201102012012 000000000000000 000
|
37
|
+
0010001300035T 170123450000000054321 14499570000020867 7 00000000000000000036686001005991 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
38
|
+
0010001300036U 170000000000000000000000000000000000000000000000000000000000000000000000366860000000000365830000000000000000000000000000002912201102012012 000000000000000 000
|
39
|
+
0010001300037T 170123450000000054321 14499570000020868 7 00000000000000000018167001011061 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
40
|
+
0010001300038U 170000000000000000000000000000000000000000000000000000000000000000000000181670000000000180640000000000000000000000000000002912201102012012 000000000000000 000
|
41
|
+
0010001300039T 170123450000000054321 14499570000020877 7 00000000000000000035000237021730 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
42
|
+
0010001300040U 170000000000000000000000000000000000000000000000000000000000000000000000350000000000000348970000000000000000000000000000002912201102012012 000000000000000 000
|
43
|
+
0010001300041T 170123450000000054321 14499570000020884 7 00000000000000000086618399013620 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
44
|
+
0010001300042U 170000000000000000000000000000000000000000000000000000000000000000000000866180000000000865150000000000000000000000000000002912201102012012 000000000000000 000
|
45
|
+
0010001300043T 170123450000000054321 14499570000020910 7 00000000000000000017985104007370 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
46
|
+
0010001300044U 170000000000000000000000000000000000000000000000000000000000000000000000179850000000000178820000000000000000000000000000002912201102012012 000000000000000 000
|
47
|
+
0010001300045T 170123450000000054321 14499570000020911 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
48
|
+
0010001300046U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
49
|
+
0010001300047T 170123450000000054321 14499570000020912 7 00000000000000000013625237003210 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
50
|
+
0010001300048U 170000000000000000000000000000000000000000000000000000000000000000000000136250000000000135220000000000000000000000000000002912201102012012 000000000000000 000
|
51
|
+
0010001300049T 170123450000000054321 14499570000020917 7 00000000000000000025108237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
52
|
+
0010001300050U 170000000000000000000000000000000000000000000000000000000000000000000000251080000000000250050000000000000000000000000000002912201102012012 000000000000000 000
|
53
|
+
0010001300051T 170123450000000054321 14499570000020925 7 00000000000000000050682237011020 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
54
|
+
0010001300052U 170000000000000000000000000000000000000000000000000000000000000000000000506820000000000505790000000000000000000000000000002912201102012012 000000000000000 000
|
55
|
+
0010001300053T 170123450000000054321 14499570000020931 7 00000000000000000040578237035930 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
56
|
+
0010001300054U 170000000000000000000000000000000000000000000000000000000000000000000000405780000000000404750000000000000000000000000000002912201102012012 000000000000000 000
|
57
|
+
0010001300055T 170123450000000054321 14499570000020934 7 00000000000000000049691001031836 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
58
|
+
0010001300056U 170000000000000000000000000000000000000000000000000000000000000000000000496910000000000495880000000000000000000000000000002912201102012012 000000000000000 000
|
59
|
+
0010001300057T 170123450000000054321 14499570000020947 7 00000000000000000065400001020354 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
60
|
+
0010001300058U 170000000000000000000000000000000000000000000000000000000000000000000000654000000000000652970000000000000000000000000000002912201102012012 000000000000000 000
|
61
|
+
0010001300059T 170123450000000054321 14499570000020986 7 00000000000000000030000001005428 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
62
|
+
0010001300060U 170000000000000000000000000000000000000000000000000000000000000000000000300000000000000298970000000000000000000000000000002912201102012012 000000000000000 000
|
63
|
+
0010001300061T 170123450000000054321 14499570000020987 7 00000000000000000030000001005428 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
64
|
+
0010001300062U 170000000000000000000000000000000000000000000000000000000000000000000000300000000000000298970000000000000000000000000000002912201102012012 000000000000000 000
|
65
|
+
0010001300063T 170123450000000054321 14499570000021024 7 0000000000000000006000000104847X 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
66
|
+
0010001300064U 170000000000000000000000000000000000000000000000000000000000000000000000600000000000000598970000000000000000000000000000002912201102012012 000000000000000 000
|
67
|
+
0010001300065T 170123450000000054321 14499570000021066 7 00000000000000000302400104025580 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
68
|
+
0010001300066U 170000000000000000000000000000000000000000000000000000000000000000000003024000000000003022970000000000000000000000000000002912201102012012 000000000000000 000
|
69
|
+
0010001300067T 170123450000000054321 14499570007451637 7 00000000000000000077203237004540 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
70
|
+
0010001300068U 170000000000000000000000000000000000000000000000000000000000000000000000772030000000000771000000000000000000000000000000002912201102012012 000000000000000 000
|
71
|
+
0010001300069T 170123450000000054321 14499570007451702 7 00000000000000000038000001043699 0900000000000000000000000000000000000000000000000000000 000000000000000000000010303 170191449957
|
72
|
+
0010001300070U 170000000000000000000000000000000000000000000000000000000000000000000000380000000000000378970000000000000000000000000000002912201102012012 000000000000000 000
|
73
|
+
00100015 000072000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
74
|
+
00199999 000001000074000000 00000000000000000000000000000
|
@@ -0,0 +1,10 @@
|
|
1
|
+
08500000 2150021740001600001010040000 0306900000000777778 NOME DA EMPRESA SACADO LTDA 20812201604171900000408400000
|
2
|
+
08500001T01 043 20150021740001600001010040000 0306900000000777778 NOME DA EMPRESA SACADO LTDA 000000040812201607122016
|
3
|
+
0850000300001T 020306900000000777778000777778000000076 100000000000007620122016000000000026000085030690 902111111111111111EMPRESA DO CLIENTE1 LTDA 0000000000000000000000000
|
4
|
+
0850000300002U 020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000712201600000000 000000000000000 00000000000000000000000
|
5
|
+
0850000300003T 060306900000000777778000777778000000071 100000000000007107122016000000000069000033001473 902222222222222222EMPRESA DO CLIENTE2 - ME 000000000000000000000040033
|
6
|
+
0850000300004U 060000000000000000000000000000000000000000000000000000000000000000000000690000000000000690000000000000000000000000000000000712201608122016 000000000000000 00000000000000000000000
|
7
|
+
0850000300005T 060306900000000777778000777778000000027 100000000000002710122016000000000036500237031178 902333333333333333NOVA EMPRESA DO CLIENTE3 LTDA - ME 000000000000000000000040033
|
8
|
+
0850000300006U 060000000000000000000000000000000000000000000000000000000000000000000000365000000000000365000000000000000000000000000000000712201608122016 000000000000000 00000000000000000000000
|
9
|
+
08500005 00000800006100000000001744926000000000000000000000000000000000000000000000000000000000000000000000
|
10
|
+
08599999 000001000010000000
|
@@ -0,0 +1,16 @@
|
|
1
|
+
03300000 2013021784000186999991234567891 007125577 XPTAVARES S.A BANCO SANTANDER (BRASIL) S/A 228042016 000000040
|
2
|
+
03308241T01 040 2013021784000186007125577 999991234567891 XPTAVARES S.A 0000000028042016
|
3
|
+
0330824300001T 02999991234567891 00000000000012 0505201600000000000102503312340 001000033806987840XUNDA 12345678910000000000002610000000000
|
4
|
+
0330824300002U 020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002804201628042016000000000000000000000000000 000
|
5
|
+
0330824300003T 02999991234567891 00000000000022 0505201600000000010587703312340 002013021784000186XUNDA 12345678910000000000002610000000000
|
6
|
+
0330824300004U 020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002804201628042016000000000000000000000000000 000
|
7
|
+
0330824300005T 02999991234567891 00000000000032 2804201600000000000012603312340 002013021784000186XUNDA 12345678910000000000002610000000000
|
8
|
+
0330824300006U 020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002804201628042016000000000000000000000000000 000
|
9
|
+
0330824300007T 02999991234567891 00000000000042 2804201600000000000012703312340 001000033806987840XUNDA 12345678910000000000002610000000000
|
10
|
+
0330824300008U 020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002804201628042016000000000000000000000000000 000
|
11
|
+
0330824300009T 06999991234567891 00000000000042 2804201600000000000012700112340 001000033806987840XUNDA 12345678910000000000000000400000000
|
12
|
+
0330824300010U 060000000000000000000000000000000000000000000000000000000000000000000000001270000000000001270000000000000000000000000000002804201629042016000000000000000000000000000 000
|
13
|
+
0330824300011T 17999991234567891 00000002896471 2804201600000000000012600112340 002000000000000000 12345678910000000000006000400000000
|
14
|
+
0330824300012U 170000000000000000000000000000000000000000000000000000000000000000000000001260000000000001260000000000000000000000000000002804201629042016000000000000000000000000000 000
|
15
|
+
03308245 0000120000030000000000010702800000000000000000000000000000000000000000000000000000000000000000000000000001
|
16
|
+
03308249 000001000016
|
@@ -0,0 +1,4 @@
|
|
1
|
+
02RETORNO01COBRANCA 9999906303131000124 748BANSICREDI 20161206 0000005 1.00000001
|
2
|
+
1 C0000000000 162000017 06051216 COMPE 0000000000500 00000000000000000000000000000000000050000000000000000000000000000 H5 20161207 000002
|
3
|
+
1 C0000000000 162000017 28051216 COMPE 0000000000250 00000000000000000000000000000000000050000000000000000000000000000 B3 20161205 000003
|
4
|
+
9274899999 000004
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_boleto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno M. Mergen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11
|
11
|
+
date: 2016-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -87,11 +87,13 @@ files:
|
|
87
87
|
- lib/br_boleto/association/have_conta.rb
|
88
88
|
- lib/br_boleto/association/have_pagador.rb
|
89
89
|
- lib/br_boleto/association/have_pagamentos.rb
|
90
|
+
- lib/br_boleto/boleto/banco_brasil.rb
|
90
91
|
- lib/br_boleto/boleto/base.rb
|
91
92
|
- lib/br_boleto/boleto/bradesco.rb
|
92
93
|
- lib/br_boleto/boleto/caixa.rb
|
93
94
|
- lib/br_boleto/boleto/cecred.rb
|
94
95
|
- lib/br_boleto/boleto/itau.rb
|
96
|
+
- lib/br_boleto/boleto/santander.rb
|
95
97
|
- lib/br_boleto/boleto/sicoob.rb
|
96
98
|
- lib/br_boleto/boleto/sicredi.rb
|
97
99
|
- lib/br_boleto/boleto/unicred.rb
|
@@ -108,11 +110,13 @@ files:
|
|
108
110
|
- lib/br_boleto/calculos/modulo11_fator_de9a2.rb
|
109
111
|
- lib/br_boleto/calculos/modulo11_fator_de9a2_resto_x.rb
|
110
112
|
- lib/br_boleto/calculos/modulo_numero_de_controle.rb
|
113
|
+
- lib/br_boleto/conta/banco_brasil.rb
|
111
114
|
- lib/br_boleto/conta/base.rb
|
112
115
|
- lib/br_boleto/conta/bradesco.rb
|
113
116
|
- lib/br_boleto/conta/caixa.rb
|
114
117
|
- lib/br_boleto/conta/cecred.rb
|
115
118
|
- lib/br_boleto/conta/itau.rb
|
119
|
+
- lib/br_boleto/conta/santander.rb
|
116
120
|
- lib/br_boleto/conta/sicoob.rb
|
117
121
|
- lib/br_boleto/conta/sicredi.rb
|
118
122
|
- lib/br_boleto/conta/unicred.rb
|
@@ -122,6 +126,7 @@ files:
|
|
122
126
|
- lib/br_boleto/helper/number.rb
|
123
127
|
- lib/br_boleto/pagador.rb
|
124
128
|
- lib/br_boleto/remessa/base.rb
|
129
|
+
- lib/br_boleto/remessa/cnab240/banco_brasil.rb
|
125
130
|
- lib/br_boleto/remessa/cnab240/base.rb
|
126
131
|
- lib/br_boleto/remessa/cnab240/bradesco.rb
|
127
132
|
- lib/br_boleto/remessa/cnab240/caixa.rb
|
@@ -135,32 +140,39 @@ files:
|
|
135
140
|
- lib/br_boleto/remessa/cnab240/helper/trailer_arquivo.rb
|
136
141
|
- lib/br_boleto/remessa/cnab240/helper/trailer_lote.rb
|
137
142
|
- lib/br_boleto/remessa/cnab240/itau.rb
|
143
|
+
- lib/br_boleto/remessa/cnab240/santander.rb
|
138
144
|
- lib/br_boleto/remessa/cnab240/sicoob.rb
|
139
145
|
- lib/br_boleto/remessa/cnab240/sicredi.rb
|
140
146
|
- lib/br_boleto/remessa/cnab240/unicred.rb
|
147
|
+
- lib/br_boleto/remessa/cnab400/banco_brasil.rb
|
141
148
|
- lib/br_boleto/remessa/cnab400/base.rb
|
142
149
|
- lib/br_boleto/remessa/cnab400/bradesco.rb
|
143
150
|
- lib/br_boleto/remessa/cnab400/helper/detalhe.rb
|
144
151
|
- lib/br_boleto/remessa/cnab400/helper/header.rb
|
145
152
|
- lib/br_boleto/remessa/cnab400/helper/trailer.rb
|
146
153
|
- lib/br_boleto/remessa/cnab400/itau.rb
|
154
|
+
- lib/br_boleto/remessa/cnab400/santander.rb
|
147
155
|
- lib/br_boleto/remessa/cnab400/sicoob.rb
|
148
156
|
- lib/br_boleto/remessa/cnab400/sicredi.rb
|
149
157
|
- lib/br_boleto/remessa/cnab400/unicred.rb
|
150
158
|
- lib/br_boleto/remessa/lote.rb
|
151
159
|
- lib/br_boleto/remessa/pagamento.rb
|
152
160
|
- lib/br_boleto/retorno/base.rb
|
161
|
+
- lib/br_boleto/retorno/cnab240/banco_brasil.rb
|
153
162
|
- lib/br_boleto/retorno/cnab240/base.rb
|
154
163
|
- lib/br_boleto/retorno/cnab240/bradesco.rb
|
155
164
|
- lib/br_boleto/retorno/cnab240/caixa.rb
|
156
165
|
- lib/br_boleto/retorno/cnab240/cecred.rb
|
157
166
|
- lib/br_boleto/retorno/cnab240/itau.rb
|
167
|
+
- lib/br_boleto/retorno/cnab240/santander.rb
|
158
168
|
- lib/br_boleto/retorno/cnab240/sicoob.rb
|
159
169
|
- lib/br_boleto/retorno/cnab240/sicredi.rb
|
160
170
|
- lib/br_boleto/retorno/cnab240/unicred.rb
|
171
|
+
- lib/br_boleto/retorno/cnab400/banco_brasil.rb
|
161
172
|
- lib/br_boleto/retorno/cnab400/base.rb
|
162
173
|
- lib/br_boleto/retorno/cnab400/bradesco.rb
|
163
174
|
- lib/br_boleto/retorno/cnab400/itau.rb
|
175
|
+
- lib/br_boleto/retorno/cnab400/santander.rb
|
164
176
|
- lib/br_boleto/retorno/cnab400/sicoob.rb
|
165
177
|
- lib/br_boleto/retorno/cnab400/sicredi.rb
|
166
178
|
- lib/br_boleto/retorno/cnab400/unicred.rb
|
@@ -173,11 +185,13 @@ files:
|
|
173
185
|
- test/br_boleto/association/have_conta_test.rb
|
174
186
|
- test/br_boleto/association/have_pagador_test.rb
|
175
187
|
- test/br_boleto/association/have_pagamentos_test.rb
|
188
|
+
- test/br_boleto/boleto/banco_brasil_test.rb
|
176
189
|
- test/br_boleto/boleto/base_test.rb
|
177
190
|
- test/br_boleto/boleto/bradesco_test.rb
|
178
191
|
- test/br_boleto/boleto/caixa_test.rb
|
179
192
|
- test/br_boleto/boleto/cecred_test.rb
|
180
193
|
- test/br_boleto/boleto/itau_test.rb
|
194
|
+
- test/br_boleto/boleto/santander_test.rb
|
181
195
|
- test/br_boleto/boleto/sicoob_test.rb
|
182
196
|
- test/br_boleto/boleto/sicredi_test.rb
|
183
197
|
- test/br_boleto/boleto/unicred_test.rb
|
@@ -194,17 +208,20 @@ files:
|
|
194
208
|
- test/br_boleto/calculos/modulo11_fator_de9a2_test.rb
|
195
209
|
- test/br_boleto/calculos/modulo11_test.rb
|
196
210
|
- test/br_boleto/calculos/modulo_numero_de_controle_test.rb
|
211
|
+
- test/br_boleto/conta/banco_brasil_test.rb
|
197
212
|
- test/br_boleto/conta/base_test.rb
|
198
213
|
- test/br_boleto/conta/bradesco_test.rb
|
199
214
|
- test/br_boleto/conta/caixa_test.rb
|
200
215
|
- test/br_boleto/conta/cecred_test.rb
|
201
216
|
- test/br_boleto/conta/itau_test.rb
|
217
|
+
- test/br_boleto/conta/santantader_test.rb
|
202
218
|
- test/br_boleto/conta/sicoob_test.rb
|
203
219
|
- test/br_boleto/conta/sicredi_test.rb
|
204
220
|
- test/br_boleto/conta/unicred_test.rb
|
205
221
|
- test/br_boleto/helper/number_test.rb
|
206
222
|
- test/br_boleto/pagador_test.rb
|
207
223
|
- test/br_boleto/remessa/base_test.rb
|
224
|
+
- test/br_boleto/remessa/cnab240/banco_brasil_test.rb
|
208
225
|
- test/br_boleto/remessa/cnab240/base_test.rb
|
209
226
|
- test/br_boleto/remessa/cnab240/bradesco_test.rb
|
210
227
|
- test/br_boleto/remessa/cnab240/caixa_test.rb
|
@@ -218,61 +235,76 @@ files:
|
|
218
235
|
- test/br_boleto/remessa/cnab240/helper/trailer_arquivo_test.rb
|
219
236
|
- test/br_boleto/remessa/cnab240/helper/trailer_lote_test.rb
|
220
237
|
- test/br_boleto/remessa/cnab240/itau_test.rb
|
238
|
+
- test/br_boleto/remessa/cnab240/santander_test.rb
|
221
239
|
- test/br_boleto/remessa/cnab240/sicoob_test.rb
|
222
240
|
- test/br_boleto/remessa/cnab240/sicredi_test.rb
|
223
241
|
- test/br_boleto/remessa/cnab240/unicred_test.rb
|
242
|
+
- test/br_boleto/remessa/cnab400/banco_brasil_test.rb
|
224
243
|
- test/br_boleto/remessa/cnab400/base_test.rb
|
225
244
|
- test/br_boleto/remessa/cnab400/bradesco_test.rb
|
226
245
|
- test/br_boleto/remessa/cnab400/itau_test.rb
|
246
|
+
- test/br_boleto/remessa/cnab400/santander_test.rb
|
227
247
|
- test/br_boleto/remessa/cnab400/sicoob_test.rb
|
228
248
|
- test/br_boleto/remessa/cnab400/sicredi_test.rb
|
229
249
|
- test/br_boleto/remessa/cnab400/unicred_test.rb
|
230
250
|
- test/br_boleto/remessa/lote_test.rb
|
231
251
|
- test/br_boleto/remessa/pagamento_test.rb
|
232
252
|
- test/br_boleto/retorno/base_test.rb
|
253
|
+
- test/br_boleto/retorno/cnab240/banco_brasil_test.rb
|
233
254
|
- test/br_boleto/retorno/cnab240/base_test.rb
|
234
255
|
- test/br_boleto/retorno/cnab240/bradesco_test.rb
|
235
256
|
- test/br_boleto/retorno/cnab240/caixa_test.rb
|
236
257
|
- test/br_boleto/retorno/cnab240/cecred_test.rb
|
237
258
|
- test/br_boleto/retorno/cnab240/itau_test.rb
|
259
|
+
- test/br_boleto/retorno/cnab240/santander_test.rb
|
238
260
|
- test/br_boleto/retorno/cnab240/sicoob_test.rb
|
239
261
|
- test/br_boleto/retorno/cnab240/sicredi_test.rb
|
240
262
|
- test/br_boleto/retorno/cnab240/unicred_test.rb
|
263
|
+
- test/br_boleto/retorno/cnab400/banco_brasil_test.rb
|
241
264
|
- test/br_boleto/retorno/cnab400/bradesco_test.rb
|
242
265
|
- test/br_boleto/retorno/cnab400/itau_test.rb
|
266
|
+
- test/br_boleto/retorno/cnab400/santander_test.rb
|
243
267
|
- test/br_boleto/retorno/cnab400/sicoob_test.rb
|
244
268
|
- test/br_boleto/retorno/cnab400/sicredi_test.rb
|
245
269
|
- test/br_boleto/retorno/cnab400/unicred.rb
|
246
270
|
- test/br_boleto/retorno/pagamento_test.rb
|
247
271
|
- test/factories/boleto/base.rb
|
272
|
+
- test/factories/boleto/boleto_banco_brasil.rb
|
248
273
|
- test/factories/boleto/boleto_bradesco.rb
|
249
274
|
- test/factories/boleto/boleto_caixa.rb
|
250
275
|
- test/factories/boleto/boleto_cecred.rb
|
251
276
|
- test/factories/boleto/boleto_itau.rb
|
277
|
+
- test/factories/boleto/boleto_santander.rb
|
252
278
|
- test/factories/boleto/boleto_sicoob.rb
|
253
279
|
- test/factories/boleto/boleto_sicredi.rb
|
254
280
|
- test/factories/boleto/boleto_unicred.rb
|
281
|
+
- test/factories/conta/banco_brasil.rb
|
255
282
|
- test/factories/conta/base.rb
|
256
283
|
- test/factories/conta/bradesco.rb
|
257
284
|
- test/factories/conta/caixa.rb
|
258
285
|
- test/factories/conta/cecred.rb
|
259
286
|
- test/factories/conta/itau.rb
|
287
|
+
- test/factories/conta/santander.rb
|
260
288
|
- test/factories/conta/sicoob.rb
|
261
289
|
- test/factories/conta/sicredi.rb
|
262
290
|
- test/factories/conta/unicred.rb
|
263
291
|
- test/factories/pagador.rb
|
264
292
|
- test/factories/remessa/base.rb
|
293
|
+
- test/factories/remessa/cnab240/banco_brasil.rb
|
265
294
|
- test/factories/remessa/cnab240/base.rb
|
266
295
|
- test/factories/remessa/cnab240/bradesco.rb
|
267
296
|
- test/factories/remessa/cnab240/caixa.rb
|
268
297
|
- test/factories/remessa/cnab240/cecred.rb
|
269
298
|
- test/factories/remessa/cnab240/itau.rb
|
299
|
+
- test/factories/remessa/cnab240/santander.rb
|
270
300
|
- test/factories/remessa/cnab240/sicoob.rb
|
271
301
|
- test/factories/remessa/cnab240/sicredi.rb
|
272
302
|
- test/factories/remessa/cnab240/unicred.rb
|
303
|
+
- test/factories/remessa/cnab400/banco_brasil.rb
|
273
304
|
- test/factories/remessa/cnab400/base.rb
|
274
305
|
- test/factories/remessa/cnab400/bradesco.rb
|
275
306
|
- test/factories/remessa/cnab400/itau.rb
|
307
|
+
- test/factories/remessa/cnab400/santander.rb
|
276
308
|
- test/factories/remessa/cnab400/sicoob.rb
|
277
309
|
- test/factories/remessa/cnab400/sicredi.rb
|
278
310
|
- test/factories/remessa/cnab400/unicred.rb
|
@@ -283,11 +315,15 @@ files:
|
|
283
315
|
- test/fixtures/remessa/cnab240/cecred.rem
|
284
316
|
- test/fixtures/remessa/cnab240/sicoob.rem
|
285
317
|
- test/fixtures/remessa/cnab240/unicred.rem
|
318
|
+
- test/fixtures/retorno/cnab240/banco_brasil.ret
|
286
319
|
- test/fixtures/retorno/cnab240/caixa.ret
|
320
|
+
- test/fixtures/retorno/cnab240/cecred.ret
|
287
321
|
- test/fixtures/retorno/cnab240/padrao240.ret
|
322
|
+
- test/fixtures/retorno/cnab240/santander.ret
|
288
323
|
- test/fixtures/retorno/cnab400/bradesco.ret
|
289
324
|
- test/fixtures/retorno/cnab400/itau.ret
|
290
325
|
- test/fixtures/retorno/cnab400/sicoob.ret
|
326
|
+
- test/fixtures/retorno/cnab400/sicredi.ret
|
291
327
|
- test/inheritance/boleto_test.rb
|
292
328
|
- test/inheritance/sicoob_test.rb
|
293
329
|
- test/test_helper.rb
|
@@ -301,12 +337,9 @@ require_paths:
|
|
301
337
|
- lib
|
302
338
|
required_ruby_version: !ruby/object:Gem::Requirement
|
303
339
|
requirements:
|
304
|
-
- - "
|
305
|
-
- !ruby/object:Gem::Version
|
306
|
-
version: '2.2'
|
307
|
-
- - "~>"
|
340
|
+
- - ">="
|
308
341
|
- !ruby/object:Gem::Version
|
309
|
-
version:
|
342
|
+
version: 2.2.0
|
310
343
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
344
|
requirements:
|
312
345
|
- - ">="
|
@@ -322,11 +355,13 @@ test_files:
|
|
322
355
|
- test/br_boleto/association/have_conta_test.rb
|
323
356
|
- test/br_boleto/association/have_pagador_test.rb
|
324
357
|
- test/br_boleto/association/have_pagamentos_test.rb
|
358
|
+
- test/br_boleto/boleto/banco_brasil_test.rb
|
325
359
|
- test/br_boleto/boleto/base_test.rb
|
326
360
|
- test/br_boleto/boleto/bradesco_test.rb
|
327
361
|
- test/br_boleto/boleto/caixa_test.rb
|
328
362
|
- test/br_boleto/boleto/cecred_test.rb
|
329
363
|
- test/br_boleto/boleto/itau_test.rb
|
364
|
+
- test/br_boleto/boleto/santander_test.rb
|
330
365
|
- test/br_boleto/boleto/sicoob_test.rb
|
331
366
|
- test/br_boleto/boleto/sicredi_test.rb
|
332
367
|
- test/br_boleto/boleto/unicred_test.rb
|
@@ -343,17 +378,20 @@ test_files:
|
|
343
378
|
- test/br_boleto/calculos/modulo11_fator_de9a2_test.rb
|
344
379
|
- test/br_boleto/calculos/modulo11_test.rb
|
345
380
|
- test/br_boleto/calculos/modulo_numero_de_controle_test.rb
|
381
|
+
- test/br_boleto/conta/banco_brasil_test.rb
|
346
382
|
- test/br_boleto/conta/base_test.rb
|
347
383
|
- test/br_boleto/conta/bradesco_test.rb
|
348
384
|
- test/br_boleto/conta/caixa_test.rb
|
349
385
|
- test/br_boleto/conta/cecred_test.rb
|
350
386
|
- test/br_boleto/conta/itau_test.rb
|
387
|
+
- test/br_boleto/conta/santantader_test.rb
|
351
388
|
- test/br_boleto/conta/sicoob_test.rb
|
352
389
|
- test/br_boleto/conta/sicredi_test.rb
|
353
390
|
- test/br_boleto/conta/unicred_test.rb
|
354
391
|
- test/br_boleto/helper/number_test.rb
|
355
392
|
- test/br_boleto/pagador_test.rb
|
356
393
|
- test/br_boleto/remessa/base_test.rb
|
394
|
+
- test/br_boleto/remessa/cnab240/banco_brasil_test.rb
|
357
395
|
- test/br_boleto/remessa/cnab240/base_test.rb
|
358
396
|
- test/br_boleto/remessa/cnab240/bradesco_test.rb
|
359
397
|
- test/br_boleto/remessa/cnab240/caixa_test.rb
|
@@ -367,61 +405,76 @@ test_files:
|
|
367
405
|
- test/br_boleto/remessa/cnab240/helper/trailer_arquivo_test.rb
|
368
406
|
- test/br_boleto/remessa/cnab240/helper/trailer_lote_test.rb
|
369
407
|
- test/br_boleto/remessa/cnab240/itau_test.rb
|
408
|
+
- test/br_boleto/remessa/cnab240/santander_test.rb
|
370
409
|
- test/br_boleto/remessa/cnab240/sicoob_test.rb
|
371
410
|
- test/br_boleto/remessa/cnab240/sicredi_test.rb
|
372
411
|
- test/br_boleto/remessa/cnab240/unicred_test.rb
|
412
|
+
- test/br_boleto/remessa/cnab400/banco_brasil_test.rb
|
373
413
|
- test/br_boleto/remessa/cnab400/base_test.rb
|
374
414
|
- test/br_boleto/remessa/cnab400/bradesco_test.rb
|
375
415
|
- test/br_boleto/remessa/cnab400/itau_test.rb
|
416
|
+
- test/br_boleto/remessa/cnab400/santander_test.rb
|
376
417
|
- test/br_boleto/remessa/cnab400/sicoob_test.rb
|
377
418
|
- test/br_boleto/remessa/cnab400/sicredi_test.rb
|
378
419
|
- test/br_boleto/remessa/cnab400/unicred_test.rb
|
379
420
|
- test/br_boleto/remessa/lote_test.rb
|
380
421
|
- test/br_boleto/remessa/pagamento_test.rb
|
381
422
|
- test/br_boleto/retorno/base_test.rb
|
423
|
+
- test/br_boleto/retorno/cnab240/banco_brasil_test.rb
|
382
424
|
- test/br_boleto/retorno/cnab240/base_test.rb
|
383
425
|
- test/br_boleto/retorno/cnab240/bradesco_test.rb
|
384
426
|
- test/br_boleto/retorno/cnab240/caixa_test.rb
|
385
427
|
- test/br_boleto/retorno/cnab240/cecred_test.rb
|
386
428
|
- test/br_boleto/retorno/cnab240/itau_test.rb
|
429
|
+
- test/br_boleto/retorno/cnab240/santander_test.rb
|
387
430
|
- test/br_boleto/retorno/cnab240/sicoob_test.rb
|
388
431
|
- test/br_boleto/retorno/cnab240/sicredi_test.rb
|
389
432
|
- test/br_boleto/retorno/cnab240/unicred_test.rb
|
433
|
+
- test/br_boleto/retorno/cnab400/banco_brasil_test.rb
|
390
434
|
- test/br_boleto/retorno/cnab400/bradesco_test.rb
|
391
435
|
- test/br_boleto/retorno/cnab400/itau_test.rb
|
436
|
+
- test/br_boleto/retorno/cnab400/santander_test.rb
|
392
437
|
- test/br_boleto/retorno/cnab400/sicoob_test.rb
|
393
438
|
- test/br_boleto/retorno/cnab400/sicredi_test.rb
|
394
439
|
- test/br_boleto/retorno/cnab400/unicred.rb
|
395
440
|
- test/br_boleto/retorno/pagamento_test.rb
|
396
441
|
- test/factories/boleto/base.rb
|
442
|
+
- test/factories/boleto/boleto_banco_brasil.rb
|
397
443
|
- test/factories/boleto/boleto_bradesco.rb
|
398
444
|
- test/factories/boleto/boleto_caixa.rb
|
399
445
|
- test/factories/boleto/boleto_cecred.rb
|
400
446
|
- test/factories/boleto/boleto_itau.rb
|
447
|
+
- test/factories/boleto/boleto_santander.rb
|
401
448
|
- test/factories/boleto/boleto_sicoob.rb
|
402
449
|
- test/factories/boleto/boleto_sicredi.rb
|
403
450
|
- test/factories/boleto/boleto_unicred.rb
|
451
|
+
- test/factories/conta/banco_brasil.rb
|
404
452
|
- test/factories/conta/base.rb
|
405
453
|
- test/factories/conta/bradesco.rb
|
406
454
|
- test/factories/conta/caixa.rb
|
407
455
|
- test/factories/conta/cecred.rb
|
408
456
|
- test/factories/conta/itau.rb
|
457
|
+
- test/factories/conta/santander.rb
|
409
458
|
- test/factories/conta/sicoob.rb
|
410
459
|
- test/factories/conta/sicredi.rb
|
411
460
|
- test/factories/conta/unicred.rb
|
412
461
|
- test/factories/pagador.rb
|
413
462
|
- test/factories/remessa/base.rb
|
463
|
+
- test/factories/remessa/cnab240/banco_brasil.rb
|
414
464
|
- test/factories/remessa/cnab240/base.rb
|
415
465
|
- test/factories/remessa/cnab240/bradesco.rb
|
416
466
|
- test/factories/remessa/cnab240/caixa.rb
|
417
467
|
- test/factories/remessa/cnab240/cecred.rb
|
418
468
|
- test/factories/remessa/cnab240/itau.rb
|
469
|
+
- test/factories/remessa/cnab240/santander.rb
|
419
470
|
- test/factories/remessa/cnab240/sicoob.rb
|
420
471
|
- test/factories/remessa/cnab240/sicredi.rb
|
421
472
|
- test/factories/remessa/cnab240/unicred.rb
|
473
|
+
- test/factories/remessa/cnab400/banco_brasil.rb
|
422
474
|
- test/factories/remessa/cnab400/base.rb
|
423
475
|
- test/factories/remessa/cnab400/bradesco.rb
|
424
476
|
- test/factories/remessa/cnab400/itau.rb
|
477
|
+
- test/factories/remessa/cnab400/santander.rb
|
425
478
|
- test/factories/remessa/cnab400/sicoob.rb
|
426
479
|
- test/factories/remessa/cnab400/sicredi.rb
|
427
480
|
- test/factories/remessa/cnab400/unicred.rb
|
@@ -432,11 +485,15 @@ test_files:
|
|
432
485
|
- test/fixtures/remessa/cnab240/cecred.rem
|
433
486
|
- test/fixtures/remessa/cnab240/sicoob.rem
|
434
487
|
- test/fixtures/remessa/cnab240/unicred.rem
|
488
|
+
- test/fixtures/retorno/cnab240/banco_brasil.ret
|
435
489
|
- test/fixtures/retorno/cnab240/caixa.ret
|
490
|
+
- test/fixtures/retorno/cnab240/cecred.ret
|
436
491
|
- test/fixtures/retorno/cnab240/padrao240.ret
|
492
|
+
- test/fixtures/retorno/cnab240/santander.ret
|
437
493
|
- test/fixtures/retorno/cnab400/bradesco.ret
|
438
494
|
- test/fixtures/retorno/cnab400/itau.ret
|
439
495
|
- test/fixtures/retorno/cnab400/sicoob.ret
|
496
|
+
- test/fixtures/retorno/cnab400/sicredi.ret
|
440
497
|
- test/inheritance/boleto_test.rb
|
441
498
|
- test/inheritance/sicoob_test.rb
|
442
499
|
- test/test_helper.rb
|