Afip 0.3.7 → 0.3.8

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: e1ef51530db4e55e7effac7913b0653200d48e1f
4
- data.tar.gz: 2db47521fb4f37ba2ca68748806fccea10bbb93d
3
+ metadata.gz: 14339a7526709b0500e6a277f2eaf1efff9705cd
4
+ data.tar.gz: dc8acd86308ba3d67470ce6cc5d39a4ae271d92c
5
5
  SHA512:
6
- metadata.gz: 145822a6bdbcb1ad14e1692ac6287a7371800fd579c04e3624d5c62df19781a6c6ad85ca7d42ed7a8ec3f17b9b0814ebafb345c29f4da6c2356a7e9252817622
7
- data.tar.gz: 3524696707df8b398ca765d1ad056e20fcfee0fcc42088c48d1ebd7c97bbdc57bbf30c33f98c7ab739c7d27ba7dd07f09c73eb35aba6ee3e553868a34a09cefc
6
+ metadata.gz: c221ade9aea0b0e4970f9d6739bb4fa630003c4b852994dce97e92518e83c663cffb5e652389ec32f6a4407c63931d734d86f67eb74453833629864db396099e
7
+ data.tar.gz: 8d2ffe0f90184c1377bc5fd94a4bcb07bb32751c98ea98d78bbbd58721eb6b1d89cc8e090969ebe7e28718c4df9b0ed59446da1f3e9dcf3c1b3279e838b455c3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- Afip (0.3.6)
4
+ Afip (0.3.7)
5
5
  httpi
6
6
  savon
7
7
 
@@ -49,7 +49,7 @@ module Afip
49
49
  # @return [String]
50
50
  #
51
51
  def wsaa_url
52
- Afip::URLS[environment][:wsaa]
52
+ Afip::URLS[Afip.environment][:wsaa]
53
53
  end
54
54
 
55
55
  # Returns the right wsfe url for the specific environment
@@ -57,7 +57,7 @@ module Afip
57
57
  #
58
58
  def wsfe_url
59
59
  raise 'Environment not sent to either :test or :production' unless Afip::URLS.keys.include? environment
60
- Afip::URLS[environment][:wsfe]
60
+ Afip::URLS[Afip.environment][:wsfe]
61
61
  end
62
62
 
63
63
  # Creates the data file name for a cuit number and the current day
data/lib/Afip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Afip
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
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.3.7
4
+ version: 0.3.8
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: 2018-08-27 00:00:00.000000000 Z
11
+ date: 2018-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon