formatos-febraban 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/formatos/febraban/version.rb +1 -1
- data/lib/formatos/febraban150/febraban_150.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d63702d35e9e41f234a8a50cddfb196153286eb
|
4
|
+
data.tar.gz: f2f90c0a1ea691c1c1c41e6b35041a73412354f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d42773fc041c8354c02357024a4520e6329fb05e64623852fc5e308ca15d81698b571266e04a91d66330e6d13f39704166fcb96ea374ab293ab6e15049b0a3a
|
7
|
+
data.tar.gz: a113175812aaae3e5ac7640af00e691e7c36b00c3df182340f3931099aad4f9e65032561879cfd8d298661faf3e5cfb6ad28835e81ca676fb6f778ee4737217a
|
@@ -427,6 +427,7 @@ class Febraban150
|
|
427
427
|
end
|
428
428
|
|
429
429
|
def layout_empresa?
|
430
|
+
self.finance_collection.export_file.uploaded_file.close
|
430
431
|
self.get_header.get_codigo_remessa == 1
|
431
432
|
end
|
432
433
|
|
@@ -443,7 +444,10 @@ class Febraban150
|
|
443
444
|
path += "#{header.get_data_geracao}_#{header.get_codigo_remessa}_#{header.get_codigo_banco}_#{self.versao_layout}.bat"
|
444
445
|
end
|
445
446
|
|
446
|
-
File.open(path, 'w')
|
447
|
+
File.open(path, 'w') do |file|
|
448
|
+
file.truncate(0)
|
449
|
+
file.write(self.to_s)
|
450
|
+
end
|
447
451
|
end
|
448
452
|
|
449
453
|
protected
|