formatos-febraban 0.3.03 → 0.3.04

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: d65af601bbc4de70f40e17ddc34bffec72d116eb
4
- data.tar.gz: b1ca0f72262124801b75bf49280982fd2d298cc4
3
+ metadata.gz: 747e59d33db1ce0264ae20c2c46dfd96eb98875e
4
+ data.tar.gz: 4073f31375a382059a9b0b9c1613afa06d99119c
5
5
  SHA512:
6
- metadata.gz: b75463276b0f89c7188eb9964a2895610c05e9f4a6eadc1f9f60086e9610e299ac40b3f9a3fdb26bbacb9f6dd68c9ab4cd1ba2226ad0664cea508b68560afc24
7
- data.tar.gz: 7ef2cab94dd3a248297d0640d541b9bff9a4db056e4d2ce1c9829a965000b4365d15aa169d82cf1e0f260f0a5e85a484472efaa85aa869b5325cf0ac235c93f3
6
+ metadata.gz: 490c36c8586cd1df6ffaaa2420b9a22351d53f48f80981e84ff8066bf3b44e5ab45dbd6cb32af2eef8e493a46d86a0da9a29f8cadb1b37525ab62b9512939f9f
7
+ data.tar.gz: 4b6ef4ad4aa16edd22cb61b056215660caaa3ad6f0bf440bc7856fd68368b3c54dfae73d7aa9dfe5ce7fdf3d6079edaff39f2ea700a5de989ed532b8dbbaee9a
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.03'
3
+ VERSION = '0.3.04'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ class Febraban150
3
3
  require 'date'
4
4
  require 'enumerate_it'
5
5
 
6
- VersaoDisponivel = [ versao_04 = '04', versao_05 = '05' ]
6
+ VersaoDisponivel = [ '04', '05' ]
7
7
  VERSAO = '05'
8
8
 
9
9
  # Carrega todas as dependências de Layout
@@ -33,7 +33,7 @@ class Febraban150
33
33
  #-------------------------------------------------------------------
34
34
  #-------------------------------------------------------------------
35
35
  # Construtor
36
- def initialize(file = '', versao = VersaoDisponivel[versao_05])
36
+ def initialize(file = '', versao = VersaoDisponivel[Febraban150::VERSAO])
37
37
  @sections = []
38
38
  @versao = versao
39
39
 
@@ -7,7 +7,7 @@ class Febraban150A < FormatSection
7
7
 
8
8
  ID_SERVICO = "DÉBITO AUTOMÁTICO"
9
9
 
10
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
10
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
11
11
  super(master, true, true, false)
12
12
 
13
13
  case versao
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Cadastro Débito Automático - Banco
5
5
  class Febraban150B < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, false)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Ocorrências - Empresa
5
5
  class Febraban150C < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, false, true)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Alteração da Identificação Cliente/Empresa - Empresa
5
5
  class Febraban150D < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, false, true)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Débito em Conta - Empresa
5
5
  class Febraban150E < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, false, true)
8
8
 
9
9
  case versao
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Retorno do Débito Automático - Banco
5
5
  class Febraban150F < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, false)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Ocorrência da Alteração Cliente/Empresa - Banco
5
5
  class Febraban150H < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, false)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Incentivo de Débito Automático - Empresa
5
5
  class Febraban150I < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, false, true)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Confirmação de Processamento - Empresa/Banco
5
5
  class Febraban150J < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, true)
8
8
 
9
9
  @section = Section.new({
@@ -4,7 +4,7 @@
4
4
  # Lei 10833, Cobrança não-cumulativa COFINS - Empresa
5
5
  # http://www.planalto.gov.br/ccivil_03/leis/2003/L10.833compilado.htm
6
6
  class Febraban150K < FormatSection
7
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
7
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
8
8
  super(master, false, true)
9
9
 
10
10
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Cronograma de Faturamento Contas/Tributos - Empresa
5
5
  class Febraban150L < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, false, true)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Total de Clientes debitados - Banco
5
5
  class Febraban150T < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, false)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Relação de Agências - Banco
5
5
  class Febraban150X < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, false, false)
8
8
 
9
9
  @section = Section.new({
@@ -3,7 +3,7 @@
3
3
  #-------------------------------------------------------------------
4
4
  # Footer/Trailler - Empresa/Banco
5
5
  class Febraban150Z < FormatSection
6
- def initialize(master, versao = Febraban150.VersaoDisponivel[versao_05])
6
+ def initialize(master, versao = Febraban150.VersaoDisponivel[Febraban150::VERSAO])
7
7
  super(master, true, true, false)
8
8
 
9
9
  case versao
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatos-febraban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.03
4
+ version: 0.3.04
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida