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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 772ad6311fd9794fa7cfb67fe2fb345f6ed11977
4
- data.tar.gz: 2582e240275a3adac6b6241b2b5ec4776b6deea5
3
+ metadata.gz: 8a9e54641b95f02c5dc2aac99b8ca96b73026c2a
4
+ data.tar.gz: 3daa5c52e3415190ada3b52f53bb3cc3327305d2
5
5
  SHA512:
6
- metadata.gz: 192332c8ab6503c666e7f9daeac31d939947469ed9f871bcf5f379f92eea405ef2a17a45017a5dbb260489d68e829a0db82cda0de6ee7db174fe529ba3379cc9
7
- data.tar.gz: e81a2cc5bfd6accb064922f2983dfcd7f2d92375b8c8526270fb73995801aa9c49783c25f6d874afff753fbbdcac6f1f5a92d7686f7a77c2408e1346ed443649
6
+ metadata.gz: b31a52b7eb61884c9ab49b53c38fe91f451ddd0d11813b9e08eee82cab77ed4c6e83219ef35ffa00b8e409e7bd211b3f5d2f82535939ae09a2b6bd165d12708d
7
+ data.tar.gz: 60b5bf492b4970abe50d08cd24a1777c15d596c250eb71fad0329287ea03e5d18bac22bea4bed36ffff9d34343cbd364a191ac31e918502d0fb551c1a0f030a9
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.15'
3
+ VERSION = '0.3.16'
4
4
  end
5
5
  end
@@ -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
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.15
4
+ version: 0.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida