formatos-febraban 0.3.51 → 0.3.52
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 +1 -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: f3c535fa61129332e4109eebef014f5940a7af53
|
4
|
+
data.tar.gz: 8a98d725ae079f8aeb9b8624fbabb88ed5fe74bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c960f00c3e00a06d5c82a8ed88188ae3c2d47450e8aa32042be2556513c68029a58ae22e97636cbf63da2bbebd3bf24b574a58bb21f74945d71306d24b7ffe2
|
7
|
+
data.tar.gz: 10c7651324d0abbe4c6dafcd67d862c054456b48ecf5e49344f9743b89217bccbd868a3555e552b8cb987587e2f2d1cd93bcde24f06b3821ffe3157323b85e87
|
@@ -41,7 +41,7 @@ class Febraban150
|
|
41
41
|
|
42
42
|
protected
|
43
43
|
def valida_versao(file)
|
44
|
-
@versao =
|
44
|
+
@versao = (!@versao.nil? && !@versao.empty?) ? @versao : IO.readlines(file)[0][79..80]
|
45
45
|
|
46
46
|
unless Febraban150::VersaoDisponivel.include?(@versao)
|
47
47
|
raise "Versão #{@versao} não suportada.
|