formatos-febraban 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07d6f5b100b7e2b8e835d49da7e4cb044f1feb00
4
- data.tar.gz: 8d099eee065626cd14b854ab4c0a7bca621808ab
3
+ metadata.gz: aeda7067c92d035a0641123fa12bd2a7d7dd997a
4
+ data.tar.gz: b50c6049fadebb2372538842aa23ea538143fbd2
5
5
  SHA512:
6
- metadata.gz: c31094dca22bbb4993a139b44e32a4463cbddcc341c80ad80f7aba950f9d771a1213b24b845751a600605efe2c29926f5e7479ad54f5636b14b1ae8277a01b16
7
- data.tar.gz: 884456b4aa675eb7b995f33e433427cead0eb23b6711d332c60ffafe881b06df40ac21325a408ca16c9aced206daf6c6bbeb7c3996b215b0dd6c6c9d8aaee657
6
+ metadata.gz: e8ac9780c35db47cc53992773e2cfb9519990a4735c64bd0a394dfaa5cdb08d892de5ea4ef1003331163bd03c3e6255384c10b8ff107e845d73c52f135f32a1f
7
+ data.tar.gz: 22b71d78d4e74f870d8babe817eb27a1c736f9da7064fef3898db54f2e1242b516f7b923c89eb7926da5b5d2acc8003e34cfb69e1a48caaafdd3cb7b9269b6d1
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = "0.2.7"
3
+ VERSION = "0.2.8"
4
4
  end
5
5
  end
@@ -72,8 +72,6 @@ class Febraban150
72
72
  codigo_banco, nome_banco, numero_sequencial)
73
73
 
74
74
  if self.get_header.nil?
75
- data = Time.new
76
-
77
75
  section = self.get_new_section("A")
78
76
 
79
77
  section.set_codigo_remessa codigo_remessa
@@ -81,7 +79,7 @@ class Febraban150
81
79
  section.set_nome_empresa nome_empresa
82
80
  section.set_codigo_banco codigo_banco
83
81
  section.set_nome_banco nome_banco
84
- section.set_data_geracao data.strftime("%Y%m%d")
82
+ section.set_data_geracao Time.new
85
83
  section.set_numero_sequencial numero_sequencial
86
84
  section.set_versao_layout Febraban150::VERSAO
87
85
  section.set_identificacao_servico Febraban150A::ID_SERVICO
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.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - josé Ricardo Almeida