formatos-febraban 0.3.15 → 0.3.16
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 +2 -2
- 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: 8a9e54641b95f02c5dc2aac99b8ca96b73026c2a
|
4
|
+
data.tar.gz: 3daa5c52e3415190ada3b52f53bb3cc3327305d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b31a52b7eb61884c9ab49b53c38fe91f451ddd0d11813b9e08eee82cab77ed4c6e83219ef35ffa00b8e409e7bd211b3f5d2f82535939ae09a2b6bd165d12708d
|
7
|
+
data.tar.gz: 60b5bf492b4970abe50d08cd24a1777c15d596c250eb71fad0329287ea03e5d18bac22bea4bed36ffff9d34343cbd364a191ac31e918502d0fb551c1a0f030a9
|
@@ -451,10 +451,10 @@ class Febraban150
|
|
451
451
|
# Utilitários
|
452
452
|
public
|
453
453
|
def save (path)
|
454
|
-
raise "Caminho para salvamento inválido!" if path.blank?
|
455
454
|
raise "Layout atual inválido!" unless self.is_valid?
|
455
|
+
raise "Caminho para salvamento inválido!" if path.length < 0
|
456
456
|
|
457
|
-
if path.end_with?(
|
457
|
+
if path.end_with?('/')
|
458
458
|
header = self.get_header
|
459
459
|
path += "#{header.get_data_geracao}_#{header.get_codigo_remessa}_#{header.get_codigo_banco}_#{self.versao_layout}.bat"
|
460
460
|
end
|