fdis2 0.1.53 → 0.1.54

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: 911131683186fff1a478e997560c37282d631361ca274f65942b623417b2bb42
4
- data.tar.gz: 95ae5cfa8ff45ef4d248d1f3aecb298b2b0dba3647ed176ce516ea574706ee20
3
+ metadata.gz: 6d58085cb6ad0a083114bdbd6550e6260fb8efaf299036876d512800b655ccf9
4
+ data.tar.gz: a74364b45c32c4cd36dd89e97c11a77f2260dff63bf75c90d499f8aafec4ce04
5
5
  SHA512:
6
- metadata.gz: 17d5bcd42dfcaa5f4b65150cb2fa299d42dd4c977ace1ed69af3d854e3d42ba73897ca8f95971e7888263134b53ba01093f4736502fff75b1c08f02292181088
7
- data.tar.gz: 875d7abb79edc2077b5add671a626b7c4cb7d83c662c4a11dbc82d5bddb658a6b659830d357e4715642cf9361e048f6e18f13e8e8b1905bb1d3a3eb587dd3443
6
+ metadata.gz: 729484e86cbe3047d048ee287ad7aea4808cdb49b369ad7db5be1cbf60374aca7c8e07ef760a7bbad73df916033b9e2bfbd1160e337e911a58e73494e805cd6a
7
+ data.tar.gz: addb44c03d4094b77a51faec632799038297dc5a8240de23a20a53cd4a1e80f81c608b2fbb51c85fec57fa351cdfa918ac431e16118045510a2b2d00dd301587
@@ -249,6 +249,7 @@ module Fdis2
249
249
 
250
250
  req_options = {
251
251
  use_ssl: uri.scheme == "https",
252
+ verify_mode: OpenSSL::SSL::VERIFY_NONE
252
253
  }
253
254
 
254
255
  json_response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
@@ -350,6 +351,7 @@ module Fdis2
350
351
 
351
352
  req_options = {
352
353
  use_ssl: uri.scheme == "https",
354
+ verify_mode: OpenSSL::SSL::VERIFY_NONE
353
355
  }
354
356
 
355
357
  json_response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
@@ -727,6 +729,7 @@ module Fdis2
727
729
 
728
730
  req_options = {
729
731
  use_ssl: uri.scheme == "https",
732
+ verify_mode: OpenSSL::SSL::VERIFY_NONE
730
733
  }
731
734
 
732
735
  json_response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
data/lib/fdis2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fdis2
2
- VERSION = "0.1.53"
2
+ VERSION = "0.1.54"
3
3
  end
data/lib/fdis2.rb CHANGED
@@ -15,3 +15,16 @@ require 'nokogiri'
15
15
  module Fdis2
16
16
 
17
17
  end
18
+
19
+
20
+ # example
21
+ # @sw = Fdis2::Facturacion.new(
22
+ # "PAMA891110MP9",
23
+ # sat.rfc,
24
+ # sat.razon,
25
+ # sat.regimen_fiscal,
26
+ # ActiveStorage::Blob.service.path_for(sat.key_archive.key),
27
+ # sat.key_pass,
28
+ # ActiveStorage::Blob.service.path_for(sat.cer_archive.key),
29
+ # Rails.env.production?
30
+ # )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdis2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.53
4
+ version: 0.1.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Padilla
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-18 00:00:00.000000000 Z
11
+ date: 2025-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubygems_version: 3.1.6
140
+ rubygems_version: 3.0.1
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Gem used to fetch the CFDIS Web API