euax_gems_validator 1.0.0.beta → 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/euax_gems_validator/gems-service.rb +3 -2
- data/lib/euax_gems_validator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6631037e4ae6eebc270487bdc68eeda533fde6c5c3a3938ee4a5593905c6e8
|
4
|
+
data.tar.gz: 348dc875b0017603bf5cc18e301b23a5223ec3716c685624d108bce717fbd522
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 950baa822d114874946b71cd849dd76435b52d3a6672dffd28d8ef08497bdaa413ec3451454fa9865a2cbdcbfcde68931c12988f737d948545a87f35d1a310fb
|
7
|
+
data.tar.gz: 4de57d3c6f5d8ea4a2d2db8f3c8f1151f5dec4abde29795e9f806ee6dfa2e9092aff6203402036b7fd7488738c118d073f28c86cee2a04096c8799f1129502ac
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module GemsValidator
|
4
|
-
API_BASE_URL = "https://
|
4
|
+
API_BASE_URL = "https://fece-2804-14c-f288-9d8e-6f0c-1c9a-fd64-a09b.sa.ngrok.io"
|
5
5
|
class GemsService
|
6
6
|
def initialize()
|
7
7
|
@pwd = Dir.pwd
|
@@ -57,7 +57,8 @@ module GemsValidator
|
|
57
57
|
generate_file("#{@pwd}/.euax-homologated-libraries", parse_body.to_json)
|
58
58
|
parse_body
|
59
59
|
end
|
60
|
-
rescue
|
60
|
+
rescue => e
|
61
|
+
p e
|
61
62
|
puts " "
|
62
63
|
GemsValidator::OutputMessage.warn("A API das bibliotecas homologadas esta fora do ar. Para prosseguir, nesse momento os dados serão coletados do cache.")
|
63
64
|
puts " "
|