formatos-febraban 0.3.13 → 0.3.14

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: 2d395c344f9eab9293e25de97025d64a07ed3a91
4
- data.tar.gz: 60630586acb062ccae71ad35eb14f1154964909d
3
+ metadata.gz: 3760a9bb1d9d90aa061dbe961509ea6848f1ee11
4
+ data.tar.gz: 8d710f3250361136974582ab66105062e5ce0384
5
5
  SHA512:
6
- metadata.gz: 92df0aff64a3dc8ff895b8c1fd7dc7cb00a74ff83dfe1108445acea5b1c18c31944d30cd1f6d8de24f842e1ad11c95a5c01501ef9d42950e547e1e6b6857f68e
7
- data.tar.gz: 06e6697b37b5f66dcf9f2b1a8ea7c0826a43306535855d61d668e7826ee58c7640788e9f01e2221c040dea63f9920aca40479a0788f795582d7ab0183168356b
6
+ metadata.gz: 4b4deeff79efb6bee273d2449f855c0b56a2a32f9a3fd1615782e66ce74e3c7f9fc00444fb67f1a2b078baaf057f81800679ee46686850b12edbaf7c7a625500
7
+ data.tar.gz: aad28ad32ad243c8c6424d1aa670188363cf1c4cf3ca14de5156b471e868854e9394f4a9932d46be5081eb54cd84da58221b5987cc028037b6cf6b7784203066
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = '0.3.13'
3
+ VERSION = '0.3.14'
4
4
  end
5
5
  end
@@ -169,7 +169,12 @@ class Febraban150E < FormatSection
169
169
  end
170
170
 
171
171
  def get_cod_movimento
172
- self.get_section_value(11).to_i
172
+ case @versao
173
+ when '04'
174
+ self.get_section_value(9).to_i
175
+ when '05'
176
+ self.get_section_value(11).to_i
177
+ end
173
178
  end
174
179
 
175
180
  #-------------------------------------------------------------------
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.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Ricardo Almeida