soullab 0.0.2 → 0.0.3
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/soullab.rb +8 -9
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4312e7b4276dc63cb19459356b5d70d74de926c5
|
|
4
|
+
data.tar.gz: b44052685ee95b04059b1ff465f089fd289d7e28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4b31a8b11314de47f6fc1952537cfc63c2a127017228041456f4a642db4cee9e9a2b1abf29761ff7a8d65b943babf0df1aef2695e935ce3d7b2cb8767ce725d
|
|
7
|
+
data.tar.gz: 3cac52e156aba203e53d2de4d98ab18d49f3a665354c9e0c19f2b52f1bd35ae7a15c2faac305473d84c35abc35dc7dcdaeccc51a2cc9a5ac28ee5e218593d04b
|
data/lib/soullab.rb
CHANGED
|
@@ -160,15 +160,14 @@ class Soullab
|
|
|
160
160
|
:accept => :json
|
|
161
161
|
)
|
|
162
162
|
|
|
163
|
-
wsreturn = JSON.parse(response.body)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
puts "
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
163
|
+
#wsreturn = JSON.parse(response.body)
|
|
164
|
+
#begin
|
|
165
|
+
#raise CampoInvalido.new("login","Este parâmetro deve ser alfanumérico") if wsreturn['message'] == "23"
|
|
166
|
+
#rescue CampoInvalido => e
|
|
167
|
+
#puts "campo: #{e.campo}"
|
|
168
|
+
#puts "motivo: #{e.motivo}"
|
|
169
|
+
#end
|
|
170
|
+
|
|
172
171
|
return JSON.parse(response.body)
|
|
173
172
|
end
|
|
174
173
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: soullab
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Augusto Russo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: restclient
|
|
@@ -53,7 +53,7 @@ dependencies:
|
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 3.2.4
|
|
55
55
|
description: 'Want to integrate your system with soullab? This gem provides all you
|
|
56
|
-
need. Know more about soullab at: www.soullab.com.br'
|
|
56
|
+
need. Know more about soullab at: www.soullab.com.br and see docs at www.soullab.com.br/integracaoRuby'
|
|
57
57
|
email: augusto.russo@inovaz.com.br
|
|
58
58
|
executables: []
|
|
59
59
|
extensions: []
|