fdis2 0.1.44 → 0.1.45

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
  SHA256:
3
- metadata.gz: 1f7821abcc5bf80c46a51ed952ca9bac9bb62f4100af183d1b483277f1313097
4
- data.tar.gz: cafa883502bf620e3457c0912d5db2caaa2a693aa4de8f305b3b8a6a43b36039
3
+ metadata.gz: 3247c783050777dc9542023795a03249592ca1ad5f31b0416b1ea8e954fd4961
4
+ data.tar.gz: 543e17b91798e50dbd39023606487eb1090a3f827b61eca0a4891b376945ebae
5
5
  SHA512:
6
- metadata.gz: 0a8e5e9bf145f072a9ae5248d766c1f042b06eff28f58f16da3418ca9cfd3de1aa5229f7f26c87bd72eee590c42f17b41c4bd38d9c517a699a6f4160802bc2ac
7
- data.tar.gz: ffc7494484d5e95d5e95de9799ecd7c5b7ff08fa4b305b7463627d22310646c56a93214da522b9d59997c585c8541775a6a1456a9523f3935351a776cefbaeed
6
+ metadata.gz: a58a06fbd2b5e8ccc7ba086508f9a42d5a11c93e783ec93bf85521a162fb369db9dd3ea9c52381e44282a3fb388fcc0985f714fad0a52909f0491f7619b4cee7
7
+ data.tar.gz: 38dbffb1a1ffcafa401664cf7233b12f0871e52c0f3d6872ea71017252d20ee541b32caa8ccb84ed0668db34c6a41c2a3a0aeb5b5bf1bbcb2ae880aef19a3e0d
@@ -166,7 +166,7 @@ module Fdis2
166
166
 
167
167
  child_pago_relacionado['ImpSaldoAnt'] = saldo_anterior.round(2).to_s
168
168
  child_pago_relacionado['ImpPagado'] = total.round(2).to_s
169
- child_pago_relacionado['ImpSaldoInsoluto'] = (saldo_anterior - total).round(2).to_s
169
+ child_pago_relacionado['ImpSaldoInsoluto'] = (saldo_anterior - total).round(2).abs.to_s
170
170
  child_pago_relacionado['ObjetoImpDR'] = '02'
171
171
 
172
172
  impuestos_dr = Nokogiri::XML::Node.new "pago20:ImpuestosDR", xml
data/lib/fdis2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis2
2
- VERSION = "0.1.44"
2
+ VERSION = "0.1.45"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdis2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.44
4
+ version: 0.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-31 00:00:00.000000000 Z
11
+ date: 2023-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler