br_boleto 2.2.8 → 2.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -0
- data/.travis.yml +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +0 -0
- data/History.txt +0 -0
- data/LICENSE +0 -0
- data/README.markdown +10 -10
- data/Rakefile +0 -0
- data/br_boleto.gemspec +0 -0
- data/lib/br_boleto.rb +0 -0
- data/lib/br_boleto/active_model_base.rb +0 -0
- data/lib/br_boleto/association/have_conta.rb +0 -0
- data/lib/br_boleto/association/have_pagador.rb +0 -0
- data/lib/br_boleto/association/have_pagamentos.rb +0 -0
- data/lib/br_boleto/boleto/banco_brasil.rb +0 -0
- data/lib/br_boleto/boleto/base.rb +0 -0
- data/lib/br_boleto/boleto/bradesco.rb +0 -0
- data/lib/br_boleto/boleto/caixa.rb +0 -0
- data/lib/br_boleto/boleto/cecred.rb +0 -0
- data/lib/br_boleto/boleto/itau.rb +0 -0
- data/lib/br_boleto/boleto/santander.rb +0 -0
- data/lib/br_boleto/boleto/sicoob.rb +0 -0
- data/lib/br_boleto/boleto/unicred.rb +0 -0
- data/lib/br_boleto/calculos/digitos.rb +0 -0
- data/lib/br_boleto/calculos/fator_vencimento.rb +0 -0
- data/lib/br_boleto/calculos/fatores_de_multiplicacao.rb +0 -0
- data/lib/br_boleto/calculos/linha_digitavel.rb +0 -0
- data/lib/br_boleto/calculos/modulo10.rb +0 -0
- data/lib/br_boleto/calculos/modulo11.rb +0 -0
- data/lib/br_boleto/calculos/modulo11_fator3197.rb +0 -0
- data/lib/br_boleto/calculos/modulo11_fator_de2a7.rb +0 -0
- data/lib/br_boleto/calculos/modulo11_fator_de2a9.rb +0 -0
- data/lib/br_boleto/calculos/modulo11_fator_de2a9_resto_zero.rb +0 -0
- data/lib/br_boleto/calculos/modulo11_fator_de9a2.rb +0 -0
- data/lib/br_boleto/calculos/modulo11_fator_de9a2_resto_x.rb +0 -0
- data/lib/br_boleto/calculos/modulo_numero_de_controle.rb +0 -0
- data/lib/br_boleto/conta/banco_brasil.rb +0 -0
- data/lib/br_boleto/conta/base.rb +0 -0
- data/lib/br_boleto/conta/bradesco.rb +0 -0
- data/lib/br_boleto/conta/caixa.rb +0 -0
- data/lib/br_boleto/conta/cecred.rb +0 -0
- data/lib/br_boleto/conta/itau.rb +0 -0
- data/lib/br_boleto/conta/santander.rb +0 -0
- data/lib/br_boleto/conta/sicoob.rb +0 -0
- data/lib/br_boleto/conta/sicredi.rb +0 -0
- data/lib/br_boleto/conta/unicred.rb +10 -2
- data/lib/br_boleto/helper/cpf_cnpj.rb +0 -0
- data/lib/br_boleto/helper/default_codes.rb +0 -0
- data/lib/br_boleto/helper/format_value.rb +0 -0
- data/lib/br_boleto/helper/number.rb +0 -0
- data/lib/br_boleto/pagador.rb +0 -0
- data/lib/br_boleto/remessa/base.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/banco_brasil.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/base.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/bradesco.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/cecred.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/helper/header_arquivo.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/helper/header_lote.rb +5 -2
- data/lib/br_boleto/remessa/cnab240/helper/segmento_q.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/helper/segmento_r.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/helper/segmento_s.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/helper/trailer_arquivo.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/helper/trailer_lote.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/itau.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/santander.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/sicoob.rb +10 -1
- data/lib/br_boleto/remessa/cnab240/sicredi.rb +0 -0
- data/lib/br_boleto/remessa/cnab240/unicred.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/banco_brasil.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/base.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/bradesco.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/caixa.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/helper/detalhe.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/helper/header.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/helper/trailer.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/itau.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/santander.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/sicoob.rb +0 -0
- data/lib/br_boleto/remessa/cnab400/sicredi.rb +3 -2
- data/lib/br_boleto/remessa/cnab400/unicred.rb +204 -28
- data/lib/br_boleto/remessa/lote.rb +0 -0
- data/lib/br_boleto/remessa/pagamento.rb +0 -0
- data/lib/br_boleto/retorno/base.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/banco_brasil.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/base.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/bradesco.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/caixa.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/cecred.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/itau.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/santander.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/sicoob.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/sicredi.rb +0 -0
- data/lib/br_boleto/retorno/cnab240/unicred.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/banco_brasil.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/base.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/bradesco.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/caixa.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/itau.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/santander.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/sicoob.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/sicredi.rb +0 -0
- data/lib/br_boleto/retorno/cnab400/unicred.rb +0 -0
- data/lib/br_boleto/retorno/pagamento.rb +0 -0
- data/lib/br_boleto/string_methods.rb +0 -0
- data/lib/br_boleto/validations.rb +0 -0
- data/lib/br_boleto/version.rb +1 -1
- data/lib/config/locales/br-boleto-en.yml +0 -0
- data/lib/config/locales/br-boleto-pt-BR.yml +0 -0
- data/test/br_boleto/association/have_conta_test.rb +0 -0
- data/test/br_boleto/association/have_pagador_test.rb +0 -0
- data/test/br_boleto/association/have_pagamentos_test.rb +0 -0
- data/test/br_boleto/boleto/banco_brasil_test.rb +0 -0
- data/test/br_boleto/boleto/base_test.rb +0 -0
- data/test/br_boleto/boleto/bradesco_test.rb +0 -0
- data/test/br_boleto/boleto/caixa_test.rb +0 -0
- data/test/br_boleto/boleto/cecred_test.rb +0 -0
- data/test/br_boleto/boleto/itau_test.rb +0 -0
- data/test/br_boleto/boleto/santander_test.rb +0 -0
- data/test/br_boleto/boleto/sicoob_test.rb +0 -0
- data/test/br_boleto/boleto/unicred_test.rb +10 -10
- data/test/br_boleto/calculos/digitos_test.rb +0 -0
- data/test/br_boleto/calculos/fator_vencimento_test.rb +0 -0
- data/test/br_boleto/calculos/fatores_de_multiplicacao_test.rb +0 -0
- data/test/br_boleto/calculos/linha_digitavel_test.rb +0 -0
- data/test/br_boleto/calculos/modulo10_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_fator3197_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_fator_de2a7_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_fator_de2a9_resto_zero_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_fator_de2a9_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_fator_de9a2_resto_x_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_fator_de9a2_test.rb +0 -0
- data/test/br_boleto/calculos/modulo11_test.rb +0 -0
- data/test/br_boleto/calculos/modulo_numero_de_controle_test.rb +0 -0
- data/test/br_boleto/conta/banco_brasil_test.rb +0 -0
- data/test/br_boleto/conta/base_test.rb +0 -0
- data/test/br_boleto/conta/bradesco_test.rb +0 -0
- data/test/br_boleto/conta/caixa_test.rb +0 -0
- data/test/br_boleto/conta/cecred_test.rb +0 -0
- data/test/br_boleto/conta/itau_test.rb +0 -0
- data/test/br_boleto/conta/santantader_test.rb +0 -0
- data/test/br_boleto/conta/sicoob_test.rb +0 -0
- data/test/br_boleto/conta/sicredi_test.rb +0 -0
- data/test/br_boleto/conta/unicred_test.rb +3 -3
- data/test/br_boleto/helper/number_test.rb +0 -0
- data/test/br_boleto/pagador_test.rb +0 -0
- data/test/br_boleto/remessa/base_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/banco_brasil_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/base_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/bradesco_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/caixa_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/cecred_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/header_arquivo_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/header_lote_test.rb +14 -14
- data/test/br_boleto/remessa/cnab240/helper/segmento_p_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/segmento_q_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/segmento_r_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/segmento_s_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/trailer_arquivo_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/helper/trailer_lote_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/itau_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/santander_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/sicoob_test.rb +32 -31
- data/test/br_boleto/remessa/cnab240/sicredi_test.rb +0 -0
- data/test/br_boleto/remessa/cnab240/unicred_test.rb +21 -21
- data/test/br_boleto/remessa/cnab400/banco_brasil_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/base_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/bradesco_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/caixa_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/itau_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/santander_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/sicoob_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/sicredi_test.rb +0 -0
- data/test/br_boleto/remessa/cnab400/unicred_test.rb +40 -66
- data/test/br_boleto/remessa/lote_test.rb +0 -0
- data/test/br_boleto/remessa/pagamento_test.rb +0 -0
- data/test/br_boleto/retorno/base_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/banco_brasil_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/base_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/bradesco_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/caixa_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/cecred_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/itau_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/santander_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/sicoob_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/sicredi_test.rb +0 -0
- data/test/br_boleto/retorno/cnab240/unicred_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/banco_brasil_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/bradesco_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/caixa_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/itau_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/santander_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/sicoob_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/sicredi_test.rb +0 -0
- data/test/br_boleto/retorno/cnab400/unicred.rb +0 -0
- data/test/br_boleto/retorno/pagamento_test.rb +0 -0
- data/test/factories/boleto/base.rb +0 -0
- data/test/factories/boleto/boleto_banco_brasil.rb +0 -0
- data/test/factories/boleto/boleto_bradesco.rb +0 -0
- data/test/factories/boleto/boleto_caixa.rb +0 -0
- data/test/factories/boleto/boleto_cecred.rb +0 -0
- data/test/factories/boleto/boleto_itau.rb +0 -0
- data/test/factories/boleto/boleto_santander.rb +0 -0
- data/test/factories/boleto/boleto_sicoob.rb +0 -0
- data/test/factories/boleto/boleto_sicredi.rb +0 -0
- data/test/factories/boleto/boleto_unicred.rb +0 -0
- data/test/factories/conta/banco_brasil.rb +0 -0
- data/test/factories/conta/base.rb +0 -0
- data/test/factories/conta/bradesco.rb +0 -0
- data/test/factories/conta/caixa.rb +0 -0
- data/test/factories/conta/cecred.rb +0 -0
- data/test/factories/conta/itau.rb +0 -0
- data/test/factories/conta/santander.rb +0 -0
- data/test/factories/conta/sicoob.rb +0 -0
- data/test/factories/conta/sicredi.rb +0 -0
- data/test/factories/conta/unicred.rb +0 -0
- data/test/factories/pagador.rb +0 -0
- data/test/factories/remessa/base.rb +0 -0
- data/test/factories/remessa/cnab240/banco_brasil.rb +0 -0
- data/test/factories/remessa/cnab240/base.rb +0 -0
- data/test/factories/remessa/cnab240/bradesco.rb +0 -0
- data/test/factories/remessa/cnab240/caixa.rb +0 -0
- data/test/factories/remessa/cnab240/cecred.rb +0 -0
- data/test/factories/remessa/cnab240/itau.rb +0 -0
- data/test/factories/remessa/cnab240/santander.rb +0 -0
- data/test/factories/remessa/cnab240/sicoob.rb +0 -0
- data/test/factories/remessa/cnab240/sicredi.rb +0 -0
- data/test/factories/remessa/cnab240/unicred.rb +0 -0
- data/test/factories/remessa/cnab400/banco_brasil.rb +0 -0
- data/test/factories/remessa/cnab400/base.rb +0 -0
- data/test/factories/remessa/cnab400/bradesco.rb +0 -0
- data/test/factories/remessa/cnab400/caixa.rb +0 -0
- data/test/factories/remessa/cnab400/itau.rb +0 -0
- data/test/factories/remessa/cnab400/santander.rb +0 -0
- data/test/factories/remessa/cnab400/sicoob.rb +0 -0
- data/test/factories/remessa/cnab400/sicredi.rb +0 -0
- data/test/factories/remessa/cnab400/unicred.rb +0 -0
- data/test/factories/remessa/lote.rb +0 -0
- data/test/factories/remessa/pagamento.rb +0 -0
- data/test/factories/retorno/pagamento.rb +0 -0
- data/test/fixtures/remessa/cnab240/caixa.rem +1 -1
- data/test/fixtures/remessa/cnab240/cecred.rem +0 -0
- data/test/fixtures/remessa/cnab240/sicoob.rem +1 -1
- data/test/fixtures/remessa/cnab240/unicred.rem +7 -7
- data/test/fixtures/retorno/cnab240/banco_brasil.ret +0 -0
- data/test/fixtures/retorno/cnab240/caixa.ret +0 -0
- data/test/fixtures/retorno/cnab240/cecred.ret +0 -0
- data/test/fixtures/retorno/cnab240/padrao240.ret +0 -0
- data/test/fixtures/retorno/cnab240/santander.ret +0 -0
- data/test/fixtures/retorno/cnab400/bradesco.ret +0 -0
- data/test/fixtures/retorno/cnab400/itau.ret +0 -0
- data/test/fixtures/retorno/cnab400/sicoob.ret +0 -0
- data/test/fixtures/retorno/cnab400/sicredi.ret +0 -0
- data/test/inheritance/boleto_test.rb +0 -0
- data/test/inheritance/sicoob_test.rb +0 -0
- data/test/test_helper.rb +0 -0
- metadata +3 -3
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
10400000 2334864510001300000000000000000000007506082819600000000EMPRESA EMITENTE CAIXA ECONOMICA FEDERAL 1141120160931470000010500000000000000000000000000000000000000000000000000
|
2
|
-
10400011R0100030
|
2
|
+
10400011R0100030 2033486451000130828196000000000000000750608281960000000 EMPRESA EMITENTE 000000011411201600000000
|
3
3
|
1040001300001P 0107506082819600000000000141400000000000001222000000000002 1411201600000000000100000000002N1411201631611201600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023001060090000000000
|
4
4
|
1040001300002Q 011000078793321112BENJAMIN FRANCISCO MARCOS VINICIUS FERNARUA PRINCIPAL S/N 881 CENTRO 79210972ANASTACIO MS0000000000000000
|
5
5
|
1040001300003R 01000000000000000000000000000000000000000000000000315112016000000000000000 0000000000000000 000000000000 0
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
75600000 233486451000130
|
1
|
+
75600000 233486451000130 03040600000005484300EMPRESA EMITENTE SICOOB 10609201609435200001108100000
|
2
2
|
75600011R01 040 2033486451000130 0304060000000548430 EMPRESA EMITENTE 000000110609201600000000
|
3
3
|
7560001300001P 010304060000000548430 000015780401014 10 220000000001578040609201600000000001478900000 02N06092016107092016000000000000025000000000000000000000000000000000000000000000000000000 3000000090000000000
|
4
4
|
7560001300002Q 011000078793321112BENJAMIN FRANCISCO MARCOS VINICIUS FERNARUA PRINCIPAL S/N 881 CENTRO 79210972ANASTACIO MS0000000000000000 000
|
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
13600000 233486451000130000000000000000828190750600000013548439 EMPRESA EMITENTE UNICRED 110112016092745000001082000000000000000000000000000000000000000000000
|
2
|
+
13600011R0100041 2033486451000130000000000000000828190750600000013548439 EMPRESA EMITENTE 000000011011201600000000
|
3
|
+
1360001300001P 010750600000013548439 000000000011 112220000000000000011312201600000000000500000000 02N10112016315122016000000000000000000000000000000000000000000000000000000000000000000000 3000000090000000000
|
4
|
+
1360001300002Q 011000078793321112BENJAMIN FRANCISCO MARCOS VINICIUS FERNARUA PRINCIPAL S/N 881 CENTRO 79210972ANASTACIO MS2033486451000130EMPRESA EMITENTE 000
|
5
|
+
1360001300003R 01000000000000000000000000000000000000000000000000314122016000000000000000 0000000000000000 000000000000 0
|
6
|
+
13600015 0000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
7
|
+
13699999 000001000007000000
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/test_helper.rb
CHANGED
File without changes
|
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.2.
|
4
|
+
version: 2.2.9
|
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:
|
11
|
+
date: 2020-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -352,7 +352,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
352
|
version: '0'
|
353
353
|
requirements: []
|
354
354
|
rubyforge_project:
|
355
|
-
rubygems_version: 2.
|
355
|
+
rubygems_version: 2.7.9
|
356
356
|
signing_key:
|
357
357
|
specification_version: 4
|
358
358
|
summary: Emissão de Boletos Bancários em Ruby
|