formatos-febraban 0.3.31 → 0.3.32

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: 9172c18a144db984fb969b31b2d299ee36714eb1
4
- data.tar.gz: 01cf4750e2a7375ee2fdc55f609da65c01a572e1
3
+ metadata.gz: a58ade05905feedda7fbf92a4c3223257f21f31f
4
+ data.tar.gz: e074d722d425680e3fa270f2fb19c750dd461c6a
5
5
  SHA512:
6
- metadata.gz: a0cbcc8556108b6f225d116e6686a1af678c98df8415b6d4371fd4f6d1d7c6454f45cff3ab2187f1b90409a4c463a5138bfad90d8c6e872577703576b10c4847
7
- data.tar.gz: a793d3723640108aaf6bcfd38a6dbeffa463fdd10254032e953f5f37b21f103ac4c029992362778434b553f1b9f227ffe372cd3ef44b9151e3ae3d689b82faf1
6
+ metadata.gz: b1050bf52a6982c8314822093ac9f609e9535aab10be1be37e655587d3d8fc07e866158af23c251185144d1809faebe8b1159fc469447e3d187c6a9cd91fac6a
7
+ data.tar.gz: c52198f582217239d1d95aeabc2a7f8415e7a812f557a5244dbd54153fd81bb3f99e83500e6d47accd1de5e35644d9f0d85e6284776f7797a25edfe703a5e7d3
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.31'
3
+ VERSION = '0.3.32'
4
4
  end
5
5
  end
@@ -87,7 +87,7 @@ class Febraban150
87
87
  codigo_banco, nome_banco, numero_sequencial)
88
88
 
89
89
  if self.get_header.nil?
90
- section = self.get_new_section("A")
90
+ section = self.get_new_section('A')
91
91
 
92
92
  section.set_codigo_remessa codigo_remessa
93
93
  section.set_codigo_convenio codigo_convenio
@@ -96,14 +96,14 @@ class Febraban150
96
96
  section.set_nome_banco nome_banco
97
97
  section.set_data_geracao Time.new
98
98
  section.set_numero_sequencial numero_sequencial
99
- section.set_versao_layout Febraban150::VERSAO
99
+ section.set_versao_layout @versao
100
100
  section.set_identificacao_servico Febraban150A::ID_SERVICO
101
- section.set_reservado ""
101
+ section.set_reservado ''
102
102
 
103
103
  self.add_section_from_business section
104
104
 
105
105
  else
106
- raise "Header já declarado!"
106
+ raise 'Header já declarado!'
107
107
  end
108
108
  end
109
109
 
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.31
4
+ version: 0.3.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida