popito 0.0.4.alpha → 0.0.6.alpha

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: 54bafeba7b6374adfb205c90127fd7f242fdb44e773071d3a98640dc2eea8d67
4
- data.tar.gz: 36153ff1ade6486382c933c983acd8df5f6ef12ceeb175610070cb650fea134b
3
+ metadata.gz: f356449a48844b0978ff411d2abade787d388e9de08d902a098dbe0e9a4ad965
4
+ data.tar.gz: 637efab63db68b93cdf36eb1ad95d34f9294f4922c10f0da7dbefe1dd9aaaeaa
5
5
  SHA512:
6
- metadata.gz: c926366fbae27378623274a9d6f28a8c769c9dbeddc2fe11fce9ff095f0cb0bc2236aced45ef597cbfde7a9b6209161d25cd5dd8f126bd2708531651d79d62f6
7
- data.tar.gz: 1ef977a728676570910a8fcd6cf48c93bba4fe025f74e40da863a12958bdbe42ba3543fcdf477a6da2aaf2d1b3a63f7a69f6c39123330e98b50d53d870f16e45
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.3.alpha)
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.0)
16
- deep_merge (1.2.1)
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.4)
22
+ http-cookie (1.0.5)
23
23
  domain_name (~> 0.5)
24
- json (2.5.1)
25
- mime-types (3.3.1)
24
+ json (2.6.2)
25
+ mime-types (3.4.1)
26
26
  mime-types-data (~> 3.2015)
27
- mime-types-data (3.2021.0901)
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.1.1)
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.2.24
50
+ 2.3.17
@@ -34,7 +34,7 @@ module Popito
34
34
  def docker_push
35
35
  tags.each do |tag|
36
36
  puts "#{self.class.name}: docker push #{image}:#{tag}"
37
- system "docker push #{image}:#{tag}, exception: true"
37
+ system "docker push #{image}:#{tag}", exception: true
38
38
  end
39
39
  end
40
40
 
@@ -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)["message"]
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Popito
4
- VERSION = "0.0.4.alpha"
4
+ VERSION = "0.0.6.alpha"
5
5
  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.alpha
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-08-18 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge