fdis 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: c337d618729f2cdd7c3dc107727a17246944273113957da9fa30d1960424f8ab
4
- data.tar.gz: d753c95c3237fe660277be384f8baf1381d649b90d1ff47c67f26e09f780608b
3
+ metadata.gz: 2f555a3706777fe8d5425a1d7cca9f79bb4b34d6dc4411868aa50e8a19b9822e
4
+ data.tar.gz: 17a4190069accb20e5b228a2c289827320bda98cd2fee2ee37fd4526b51266af
5
5
  SHA512:
6
- metadata.gz: 4db9dde1909668a4d4881aae86a58d6a217b17320f716fc8175c526c55794f564186715e44835cb4774fc26424ce6ba8e9418dd70c11c1f75234c5a49acfb088
7
- data.tar.gz: 962a56345068aa8bedd2c3705e5aa16385f10f5539ce80789aebfd3a728b59d57eacf41264eae9661d5b0c4b998c43c2f38eb45007207d6743b2eacd4f27bf71
6
+ metadata.gz: 5c8b36fe4e65f960ae587c9686990504a842c5988783a92e3726bda007192cb50c393ba4e9e2a6323bd59fef222caebcf4ab600df9d752cb9ddf9500b3002d13
7
+ data.tar.gz: 56323b116dc3cd4f6a3feedd028b643e6669a6b9243fede5c8adc485b786757e599b93da1f2b5d46266ead8c9dcd11a5c6a4637c2376823e7ffce504dc6d34e1
data/lib/fdis/config.rb CHANGED
@@ -15,6 +15,15 @@ module Fdis
15
15
  @doc_cer_path = doc_cer_path
16
16
  @production = production
17
17
 
18
+ puts "------ Fdis: Config inicial ---"
19
+ puts "-- id servicio: #{@id_servicio}"
20
+ puts "-- rfc: #{@rfc}"
21
+ puts "-- razon: #{@razon}"
22
+ puts "-- regimen_fiscal: #{@regimen_fiscal}"
23
+ puts "-- key_path: #{@doc_key_path}"
24
+ puts "-- cer_path: #{@doc_cer_path}"
25
+ puts "-- production: #{@production}"
26
+
18
27
  key_to_pem
19
28
  serial_number
20
29
  cer_cadena
@@ -773,9 +773,11 @@ module Fdis
773
773
  json_response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
774
774
  http.request(request)
775
775
  end
776
- puts "-- #{json_response.code} --"
777
- puts "-- #{json_response.message} --"
778
- puts "-- #{json_response} --"
776
+
777
+ puts "---- Fdis: Respuesta"
778
+ puts "-- Codigo: #{json_response.code} --"
779
+ puts "-- Mensaje: #{json_response.message} --"
780
+ puts "-- Body: #{json_response.body} --"
779
781
 
780
782
  response = JSON.parse(json_response.body)
781
783
 
data/lib/fdis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler