fdis 0.1.2 → 0.1.4

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: 61862a25533516f04612462be1b3d9da71e814ada5a7aa70bab14a64e9ac240f
4
- data.tar.gz: b6b2af0195aabc3ae7595923057e7a887f9e808aa1ba8143874ef1b66ec3e6dd
3
+ metadata.gz: 2f555a3706777fe8d5425a1d7cca9f79bb4b34d6dc4411868aa50e8a19b9822e
4
+ data.tar.gz: 17a4190069accb20e5b228a2c289827320bda98cd2fee2ee37fd4526b51266af
5
5
  SHA512:
6
- metadata.gz: f9d2ee23340021c086f127a8db4d4121786be5fad8cf55a1cadde0193ed461a71ae8c43f934a219b51e291a1417fbb5d83eeef5f33dcc030f8dcb0aad2f7f82f
7
- data.tar.gz: 79112d66a35cc3b657ec418a1da848c182bffa08a9b0f090255c67fb685778b79175219f664cb721516edef4f1b215b3a04be7ce778f93a7b4ecd0cec1250af8
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.2"
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.2
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