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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6dfc1596f691d8c51a7231d5e0b2bdf7eb8a264d
4
- data.tar.gz: afe91b15dd06ed5f245342e6bb477cbf1762f4ad
3
+ metadata.gz: f3c535fa61129332e4109eebef014f5940a7af53
4
+ data.tar.gz: 8a98d725ae079f8aeb9b8624fbabb88ed5fe74bc
5
5
  SHA512:
6
- metadata.gz: 87a580e74fc59201757c0a1a284f21dcd0c96fb4970a07fcb05c10b3b0b50c6c9e8efa1641a002aac114a6e04bba66fc7e9d056d4395e5c4f94588562a7e15b5
7
- data.tar.gz: 6e7e12717901538cc95a36b383d7ca7e9c58c794106ce1c9222df4cb60bb59d7ac488ff76c955d6c1cbcf34fa60b2ebf23032e1d7a93b4db369bb8dcb625c6f1
6
+ metadata.gz: 9c960f00c3e00a06d5c82a8ed88188ae3c2d47450e8aa32042be2556513c68029a58ae22e97636cbf63da2bbebd3bf24b574a58bb21f74945d71306d24b7ffe2
7
+ data.tar.gz: 10c7651324d0abbe4c6dafcd67d862c054456b48ecf5e49344f9743b89217bccbd868a3555e552b8cb987587e2f2d1cd93bcde24f06b3821ffe3157323b85e87
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.51'
3
+ VERSION = '0.3.52'
4
4
  end
5
5
  end
@@ -41,7 +41,7 @@ class Febraban150
41
41
 
42
42
  protected
43
43
  def valida_versao(file)
44
- @versao = @versao ? (!@versao.nil? && !@versao.empty?) : IO.readlines(file)[0][79..80]
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.
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.51
4
+ version: 0.3.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida