fdis2 0.1.53 → 0.1.55
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 +4 -4
- data/lib/fdis2/facturacion.rb +3 -0
- data/lib/fdis2/version.rb +1 -1
- data/lib/fdis2.rb +13 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d651665fa60778f9eaa30d2250d4f52368f0c2e0250ced7ab71b1bfed670082e
|
|
4
|
+
data.tar.gz: 930307662ff9156dc5770ed03ceecf1d7b1aa563a3b6fad541e711e8a972542b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c33fa917d4db2e1a1243948580c2e412c023048f0f21df1b55fc5bedff1c9d9feed2fe9d6c0abe13a956765fc4dd91fa19689114d7b86a693c7e94e153d0c752
|
|
7
|
+
data.tar.gz: 1be22cc56b8f7c8e0e76429ae2975d29a7b14a4aa675c7428c5b8d16da55a64b9ce47eddc534eee16ee76b4b39ac2ff1a2aa81dc65095ea9929747b04badd997
|
data/lib/fdis2/facturacion.rb
CHANGED
|
@@ -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
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.
|
|
4
|
+
version: 0.1.55
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Angel Padilla
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 1.
|
|
61
|
+
version: 1.13.9
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 1.
|
|
68
|
+
version: 1.13.9
|
|
69
69
|
description: Gem used to fetch the CFDIS API for the mexican billing system (SAT).
|
|
70
70
|
email:
|
|
71
71
|
- angelpadillam@gmail.com
|
|
@@ -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
|
|
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
|