popito 0.0.5.alpha → 0.0.7.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: b58e07c048aa5f7e962ee86b515726e89974f5180c646dde771d2a023cb8b7bc
4
- data.tar.gz: 31949642b3549e1f3921bf0bda7843a4fb8fb283cb90a42442aaf73897c774d1
3
+ metadata.gz: 6e2be13dac05fb75e5aaf3be210a1a193574732d8c5c5e1eca1e96c374d3b639
4
+ data.tar.gz: 88b56b6c0800773f4c592a3a02de28a058ceda00ba274732b515dc226a5ecbfd
5
5
  SHA512:
6
- metadata.gz: 427df89a3fb3482382397425b50a8d704b86610b01c835f915aa24ea35e59e7a25ae6a938f6ffe166223ab6faf757a44addf16e42e40211a97bc6d7b16504109
7
- data.tar.gz: db3d8b1b3dcdc91a3d2ab2c841bbbbd4cc16beabb59c0bfa79d1aec5b1e1ce499ab00ecdf0959217a74f9bc02fbc46b0f7a2411346aa1be82f678b2c8199701d
6
+ metadata.gz: 1690ec1e5a35d91cb1f60a7f7509b8476cead83873eedba99e82021e0204f90a09967e7682ea263ce432cee5bc460120d7dbf81bafb734f2bea8dd678d09f4e8
7
+ data.tar.gz: c120219eb063731215970a82868fc5312134546de46ee971c23e181f57fada6ab6cef0ac16a4f2a772f5d9e7fcb9b896546fab7b25cd2455cdacfe01dbf5caea
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.7.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
@@ -13,7 +13,10 @@ module Popito
13
13
  private
14
14
 
15
15
  def parse_error(err)
16
- JSON.parse(err.response.body)["message"]
16
+ info=JSON.parse(err.response.body)
17
+ puts "Message: " + info["message"]
18
+ puts ("Debug:\n" + info["debug_data"]) if info["debug_data"]
19
+ info["message"]
17
20
  rescue StandardError
18
21
  "An error has been occurred."
19
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Popito
4
- VERSION = "0.0.5.alpha"
4
+ VERSION = "0.0.7.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.5.alpha
4
+ version: 0.0.7.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