popito 0.0.5.alpha → 0.0.6.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/lib/popito/deployer/client/client_base.rb +5 -1
- data/lib/popito/deployer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f356449a48844b0978ff411d2abade787d388e9de08d902a098dbe0e9a4ad965
|
4
|
+
data.tar.gz: 637efab63db68b93cdf36eb1ad95d34f9294f4922c10f0da7dbefe1dd9aaaeaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3189e2cc6b3ea5394b27e41df20797a08738538c99143cf0378b866a33edc31cd1b7f8b762a2d21f53327de992bdce465eb60940039bfdf46113718e73b8bbb
|
7
|
+
data.tar.gz: '09d513b18d5f79b80f42ad72f1cea7c7f440e38a0f916b5307ba6bab4ab0ce8e8a7ae9bec2595ddd69a773cf3e31abccc89f59694a361a29c216ba2fa2e36f1b'
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
popito (0.0.
|
4
|
+
popito (0.0.6.alpha)
|
5
5
|
deep_merge (~> 1.2)
|
6
6
|
erb (~> 2.2)
|
7
7
|
json (~> 2.5)
|
@@ -12,19 +12,19 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
cgi (0.2
|
16
|
-
deep_merge (1.2.
|
15
|
+
cgi (0.3.2)
|
16
|
+
deep_merge (1.2.2)
|
17
17
|
domain_name (0.5.20190701)
|
18
18
|
unf (>= 0.0.5, < 1.0.0)
|
19
19
|
erb (2.2.3)
|
20
20
|
cgi
|
21
21
|
http-accept (1.7.0)
|
22
|
-
http-cookie (1.0.
|
22
|
+
http-cookie (1.0.5)
|
23
23
|
domain_name (~> 0.5)
|
24
|
-
json (2.
|
25
|
-
mime-types (3.
|
24
|
+
json (2.6.2)
|
25
|
+
mime-types (3.4.1)
|
26
26
|
mime-types-data (~> 3.2015)
|
27
|
-
mime-types-data (3.
|
27
|
+
mime-types-data (3.2022.0105)
|
28
28
|
minitar (0.9)
|
29
29
|
netrc (0.11.0)
|
30
30
|
rake (13.0.3)
|
@@ -35,8 +35,8 @@ GEM
|
|
35
35
|
netrc (~> 0.8)
|
36
36
|
unf (0.1.4)
|
37
37
|
unf_ext
|
38
|
-
unf_ext (0.0.8)
|
39
|
-
yaml (0.
|
38
|
+
unf_ext (0.0.8.2)
|
39
|
+
yaml (0.2.0)
|
40
40
|
|
41
41
|
PLATFORMS
|
42
42
|
ruby
|
@@ -47,4 +47,4 @@ DEPENDENCIES
|
|
47
47
|
rake (~> 13.0)
|
48
48
|
|
49
49
|
BUNDLED WITH
|
50
|
-
2.
|
50
|
+
2.3.17
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'rest-client'
|
2
2
|
require 'json'
|
3
3
|
require 'minitar'
|
4
|
+
require 'byebug'
|
4
5
|
module Popito
|
5
6
|
class ClientBase
|
6
7
|
API_HOST = 'http://localhost:3000'.freeze
|
@@ -13,7 +14,10 @@ module Popito
|
|
13
14
|
private
|
14
15
|
|
15
16
|
def parse_error(err)
|
16
|
-
JSON.parse(err.response.body)
|
17
|
+
info=JSON.parse(err.response.body)
|
18
|
+
puts "Message: " + info["message"]
|
19
|
+
puts ("Debug:\n" + info["debug_data"]) if info["debug_data"]
|
20
|
+
info["message"]
|
17
21
|
rescue StandardError
|
18
22
|
"An error has been occurred."
|
19
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: popito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wagner Caixeta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deep_merge
|