afipws 1.2.1 → 1.2.2

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: c04ecc136f57b95ee4e7fa573088cc2090707a6c
4
- data.tar.gz: 6525c8ec8aaca3fa71e85ce1b0c707788d00f7c1
3
+ metadata.gz: 32dca852dd814d29f06a9d9629df8fbceec644c0
4
+ data.tar.gz: d1b5ea2ab629c221f6886045e18246e0b4d65f2f
5
5
  SHA512:
6
- metadata.gz: e72031f2743622a36234d3100804c3deefa2ceb49de6117b5753bd7af80714c003adeb547067eb9390bdd928b2bb6eb1e6cd187d44f8c77139c9b4eb05a92d15
7
- data.tar.gz: 77629e1f045924abb0335c78cd41402304cfe8d1e8dfe37fda38e2085e54d25ec52ecd4cc96f527103890337f456b765101fbb0f2cc2869ccfbb5862e81e7319
6
+ metadata.gz: 724f7f394469a3113dab67e7da79cc97b1cbb9e1422976a41cbd2fbfd06b0fb38f851e72e941bb5628d9ab370cd62f090ebeb477baef1f41b759df2b252eb712
7
+ data.tar.gz: c16a66276f6d6f334a1c453675b61d6ca57bf1f1d5524cefb93460ee2b42b65909953d81a71cd04a3be24cee932e3748276bfee0273f2c6d5a271a668f11522d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afipws (1.2.1)
4
+ afipws (1.2.2)
5
5
  activesupport
6
6
  builder
7
7
  nokogiri
@@ -1,3 +1,3 @@
1
1
  module Afipws
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -16,7 +16,7 @@ module Afipws
16
16
  @ttl = options[:ttl] || 2400
17
17
  @cuit = options[:cuit]
18
18
  @client = Client.new Hash(options[:savon]).reverse_merge(wsdl: WSDL[@env])
19
- @ta_path = File.join(Dir.pwd, 'tmp', "#{@cuit}-#{@env}-#{@service}-ta.dump")
19
+ @ta_path = options[:ta_path] || File.join(Dir.pwd, 'tmp', "#{@cuit}-#{@env}-#{@service}-ta.dump")
20
20
  end
21
21
 
22
22
  def generar_tra service, ttl
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.1
4
+ version: 1.2.2
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-07-19 00:00:00.000000000 Z
11
+ date: 2019-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec