gloo-lang 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/gloo_lang/objs/web/http_post.rb +6 -6
- data/lib/gloo_lang/persist/persist_man.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: e93a62bcb460c203ebb55969f9f9f306ef2941c658bd10a14b77190c964a8fcd
|
4
|
+
data.tar.gz: ad419c4c81fe9e39057fa2acf263c953d0399c1b50ab85ef69cc2d49d803e80c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a350ae51529250bbc6ab5c3a204c0d5e9c7e48192dbf184d985bbcd65bdf368a9943897340aace6b0e9bbc873e903a305e9704cdcc0d000813aba792e011313f
|
7
|
+
data.tar.gz: 60cce3d79486ff09cf2e264259d0a6a9403d23caf6d82d19a361642a9d62531d2a99369129050793769483cc3272d42299757d86d315aba6881701d2bc15656c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.2
|
@@ -114,8 +114,11 @@ module GlooLang
|
|
114
114
|
@engine.log.debug "posting to: #{uri}"
|
115
115
|
body = self.body_as_json
|
116
116
|
@engine.log.debug "posting body: #{body}"
|
117
|
-
|
118
|
-
|
117
|
+
result = GlooLang::Objs::HttpPost.post_json( uri, body, skip_ssl_verify? )
|
118
|
+
@engine.log.debug result.code
|
119
|
+
@engine.log.debug result.message
|
120
|
+
|
121
|
+
self.update_result result.body
|
119
122
|
end
|
120
123
|
|
121
124
|
# ---------------------------------------------------------------------
|
@@ -135,10 +138,7 @@ module GlooLang
|
|
135
138
|
request.content_type = 'application/json'
|
136
139
|
request.body = body
|
137
140
|
|
138
|
-
|
139
|
-
@engine.log.debug result.code
|
140
|
-
@engine.log.debug result.message
|
141
|
-
return result.body
|
141
|
+
return http.request( request ) # returns Net::HTTPResponse object
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gloo-lang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Crane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|