Afip 0.9.5 → 0.9.6

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
  SHA256:
3
- metadata.gz: f7abe798b5a18acd3ec59c483827b89dc9106117adf832ecc8585266229f96e8
4
- data.tar.gz: 05d82eb34cb61ecdff0bf01cfd0b215eb87ce72cd9e037bfc85f35efe422fa16
3
+ metadata.gz: 7dfc38a84b240b9940d1a50374cfa9d2d03dd16cb34faa10b108d30c0577e4e8
4
+ data.tar.gz: a3d610fb117a37f0e5c4be51f7f0129527c25ad4fd5b5e5c2ba7bd132efe0dc1
5
5
  SHA512:
6
- metadata.gz: dcf2fcddaf872c8338947de0c5b21dfe76d01e489ca1540ddac974ead66e347f5d8ac989a6eefdd07c4a6cfa0820a309894e7c420144dc3982ba38bff47939ce
7
- data.tar.gz: f64cf6b1afa440775e5fafe34204aeed77cc113017431ed37b91e9b28eb8d0cb3f9662e211cc074b7b929f27be73b2d8eddf9c345d0231d15e57859b821b0529
6
+ metadata.gz: 85e19db6c0270948241ff298124c506daf6ccb575d19a8b5f6614ae76ac6fc702ed1b92acf35253c0ce8bf794887b698ba12ae6f11536266504b3002c78bd04e
7
+ data.tar.gz: f7b5d63225144da2d7b6c0680ff6ba5b712da95ba4b1a81509e2a1c4178a9695913cde9cd5e972d79b4112a7b355abcc37046a298e5eb72307f22f163b049f28
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Afip (0.9.4)
4
+ Afip (0.9.5)
5
5
  httpi
6
6
  savon
7
7
 
data/lib/Afip/bill.rb CHANGED
@@ -25,7 +25,7 @@ module Afip
25
25
  @gravado = attrs[:gravado] || 0.0
26
26
  @exento = attrs[:exento] || 0.0
27
27
  @otros_imp = attrs[:otros_imp] || 0.0
28
- @total = net + iva_sum + exento + gravado + otros_imp
28
+ @total = net.to_f + iva_sum.to_f + exento.to_f + no_gravado.to_f + otros_imp.to_f
29
29
  @tributos = attrs[:tributos] || []
30
30
  end
31
31
 
data/lib/Afip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Afip
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Afip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-29 00:00:00.000000000 Z
11
+ date: 2019-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon