snoopy_afip 4.1.0 → 4.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 694608362f999627a333c8ddf14fe9d7150186aed5a2b175f6a35e329432ceff
|
4
|
+
data.tar.gz: 801c21bbbab57815fb9e4b73782e52baeb4c2eddf718e183e7a4ff19fab8bdef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efc8c215810ab33ad8141ee5d4c046db40adcae31999137bbd774ff2c60ee5d5a5bfd11ce2414af2eaf958fbf582e9e0efb3406ec8ee0326e658ea0dd231d605
|
7
|
+
data.tar.gz: 0751d4decaadc34c8a7d0450c83e18945e4aa458fee02c061bd088e72321fa6f0c143f9eac09f5226cbea6a88a3c8f9de0a1856ba9a66527ede2e9186c39a0da
|
@@ -185,7 +185,7 @@ module Snoopy
|
|
185
185
|
{ :wsdl => Snoopy.service_url,
|
186
186
|
:headers => { "Accept-Encoding" => "gzip, deflate", "Connection" => "Keep-Alive" },
|
187
187
|
:namespaces => {"xmlns" => "http://ar.gov.afip.dif.FEV1/"},
|
188
|
-
:ssl_version =>
|
188
|
+
:ssl_version => ::Snoopy::SNOOPY_SSL_VERSION,
|
189
189
|
:read_timeout => Snoopy.read_timeout,
|
190
190
|
:open_timeout => Snoopy.open_timeout,
|
191
191
|
:ssl_cert_file => cert,
|
@@ -1,4 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
1
|
module Snoopy
|
3
2
|
CBTE_TYPE = { '01' => 'Factura A',
|
4
3
|
'02' => 'Nota de Débito A',
|
@@ -21,6 +20,9 @@ module Snoopy
|
|
21
20
|
'63' => 'Liquidacion A',
|
22
21
|
'64' => 'Liquidacion B' }
|
23
22
|
|
23
|
+
# [:TLSv1_2, :TLSv1_1, :TLSv1, :SSLv3, :SSLv23, :SSLv2]
|
24
|
+
SNOOPY_SSL_VERSION = (ENV['SNOOPY_SSL_VERSION'] || 'TLSv1').to_sym
|
25
|
+
|
24
26
|
RESPONSABLE_INSCRIPTO = :responsable_inscripto
|
25
27
|
RESPONSABLE_MONOTRIBUTO = :responsable_monotributo
|
26
28
|
|
data/lib/snoopy_afip/version.rb
CHANGED