gloo-lang 1.4.0 → 1.4.1
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
- 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: 88ed378c66726646a394b8dd00de44f7d41c7ae31f141d95ece292d827caad81
|
4
|
+
data.tar.gz: 856f6958f2f55e5c4d6c1002d8ea89a297b7070ad55f9bc8b314bca268d57a95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d5ce627bd7958eddb1308c4771b718ebf86f71ad6697bbf8e7031d628f7d478f6e0ec7d0995f0245f35a2f1d55f2495a31809c4f0fe6ca53931cb34864a055
|
7
|
+
data.tar.gz: 4920b8d24b4a13e5906d7c66e39ec3b61553c2bdec049ab7bd24ceac33a46cb9d22bb5c23a75539e503f047d1cd5c5e928923faec1d8b1c6889b3c3ffd94c966
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1
|
@@ -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.1
|
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-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|