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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d531b63b5915a6b08b376c0363e3077df486261991e3db9b505ff141d1245b64
4
- data.tar.gz: f2b6bc778beac2fe00e846ea85376b2519e21cd824036ca18832592c134add90
3
+ metadata.gz: 88ed378c66726646a394b8dd00de44f7d41c7ae31f141d95ece292d827caad81
4
+ data.tar.gz: 856f6958f2f55e5c4d6c1002d8ea89a297b7070ad55f9bc8b314bca268d57a95
5
5
  SHA512:
6
- metadata.gz: 888622b3913bff08e64a3621c93d1af29bd73076992bc50de1cc39daf2b925744c66ceaf2ef1b3eb67ffa780c93a7b50ae9c2a3e768127756a33a996b67d2789
7
- data.tar.gz: c5c0a5bdb099ad613d7e70367ecd320a428e2b129c70fe75472ea5779170e91181fecf81245ae294a04a561b2425ceb5ad782c5630682ff629d5d1075aed43d8
6
+ metadata.gz: 94d5ce627bd7958eddb1308c4771b718ebf86f71ad6697bbf8e7031d628f7d478f6e0ec7d0995f0245f35a2f1d55f2495a31809c4f0fe6ca53931cb34864a055
7
+ data.tar.gz: 4920b8d24b4a13e5906d7c66e39ec3b61553c2bdec049ab7bd24ceac33a46cb9d22bb5c23a75539e503f047d1cd5c5e928923faec1d8b1c6889b3c3ffd94c966
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
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
- data = GlooLang::Objs::HttpPost.post_json( uri, body, skip_ssl_verify? )
118
- self.update_result data
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
- result = http.request request # Net::HTTPResponse object
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.0
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-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler