afipws 1.2.2 → 1.2.3

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: 32dca852dd814d29f06a9d9629df8fbceec644c0
4
- data.tar.gz: d1b5ea2ab629c221f6886045e18246e0b4d65f2f
3
+ metadata.gz: aa39778b8e0d2cd190663dc18a11075178425fe4
4
+ data.tar.gz: ffc46bd9ce2880550d29c6e77d6a87c78d34f3f3
5
5
  SHA512:
6
- metadata.gz: 724f7f394469a3113dab67e7da79cc97b1cbb9e1422976a41cbd2fbfd06b0fb38f851e72e941bb5628d9ab370cd62f090ebeb477baef1f41b759df2b252eb712
7
- data.tar.gz: c16a66276f6d6f334a1c453675b61d6ca57bf1f1d5524cefb93460ee2b42b65909953d81a71cd04a3be24cee932e3748276bfee0273f2c6d5a271a668f11522d
6
+ metadata.gz: 088072496f518c58b02a3323a3f6f69393196250dcfcc636bac81d9c49e62b1511ea38fcb39425cbdccca8346be09f49fe6242998085af66233430132eff99da
7
+ data.tar.gz: 6196a67c4a0bd86c6c7a11bfd71e1bce6360d8982f8d670ff33a2ba47391907511f31bb24260c63938d0edb0086e97c3260b658be9566d22fc9442d7802b78e1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afipws (1.2.2)
4
+ afipws (1.2.3)
5
5
  activesupport
6
6
  builder
7
7
  nokogiri
@@ -59,7 +59,7 @@ GEM
59
59
  mocha (0.9.10)
60
60
  rake
61
61
  nenv (0.3.0)
62
- nokogiri (1.10.3)
62
+ nokogiri (1.10.4)
63
63
  mini_portile2 (~> 2.4.0)
64
64
  nori (2.6.0)
65
65
  notiffany (0.1.1)
@@ -1,3 +1,3 @@
1
1
  module Afipws
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
@@ -89,7 +89,7 @@ module Afipws
89
89
  end
90
90
 
91
91
  def restore_ta
92
- Marshal.load(File.read(@ta_path)) if File.exist?(@ta_path)
92
+ Marshal.load(File.read(@ta_path)) if File.exist?(@ta_path) && !File.zero?(@ta_path)
93
93
  end
94
94
 
95
95
  def persist_ta ta
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afipws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emmanuel Nicolau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-02 00:00:00.000000000 Z
11
+ date: 2019-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec