formatos-febraban 0.2.12 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8a56ecfa6008cf4b3675c291a245c37602be9bd
4
- data.tar.gz: d1c633d483697917042daf764d51e5589c07fd98
3
+ metadata.gz: 77b220d2ec011b2e7cb53cb7bf17004c0d18260a
4
+ data.tar.gz: 19d9b348d532775bd2a55325b217293b62a8eebf
5
5
  SHA512:
6
- metadata.gz: cab3f57278d0543fac4239639e7abf7a18e950080857b6e458330fc7db41c3aaa210f16d8a0186106d0cd25707a3824a238380ec8f820b50a2dec59afce75a89
7
- data.tar.gz: cd8ad0651a99430c0268ceda4fede66d2b016f11979c50f048d3d44ed83b89c4e1057a89764dbc965c7cca803484c1006f49cd56df9e659029f4c1b16da81269
6
+ metadata.gz: 26c2079def0a9c4804ffe41ecb8956200a613e664ca8af859d1207667decef2cca9849ff6c4673d08b3d093846892cd2ea177acebbff08ac56860c78f31ad18e
7
+ data.tar.gz: 2ab7581d1cf73107b471604311a81d8e11a9b53438ca02c06f8728959f6ec652d52626219c2ae3ddee590b214bd9886296d0cdf8ab78db729d242b57aa6137b3
@@ -1,5 +1,5 @@
1
1
  module Formatos
2
2
  module Febraban
3
- VERSION = "0.2.12"
3
+ VERSION = "0.2.13"
4
4
  end
5
5
  end
@@ -444,8 +444,8 @@ class Febraban150
444
444
 
445
445
  protected
446
446
  def calculate_valor_total
447
- self.get_section("E").inject(0) do |sum, cost|
448
- sum += cost.value
447
+ self.get_section("E").inject(0) do |sum, section|
448
+ sum += section.get_valor_debito
449
449
  end
450
450
  end
451
451
 
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.2.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - josé Ricardo Almeida