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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d531b63b5915a6b08b376c0363e3077df486261991e3db9b505ff141d1245b64
4
- data.tar.gz: f2b6bc778beac2fe00e846ea85376b2519e21cd824036ca18832592c134add90
3
+ metadata.gz: e93a62bcb460c203ebb55969f9f9f306ef2941c658bd10a14b77190c964a8fcd
4
+ data.tar.gz: ad419c4c81fe9e39057fa2acf263c953d0399c1b50ab85ef69cc2d49d803e80c
5
5
  SHA512:
6
- metadata.gz: 888622b3913bff08e64a3621c93d1af29bd73076992bc50de1cc39daf2b925744c66ceaf2ef1b3eb67ffa780c93a7b50ae9c2a3e768127756a33a996b67d2789
7
- data.tar.gz: c5c0a5bdb099ad613d7e70367ecd320a428e2b129c70fe75472ea5779170e91181fecf81245ae294a04a561b2425ceb5ad782c5630682ff629d5d1075aed43d8
6
+ metadata.gz: a350ae51529250bbc6ab5c3a204c0d5e9c7e48192dbf184d985bbcd65bdf368a9943897340aace6b0e9bbc873e903a305e9704cdcc0d000813aba792e011313f
7
+ data.tar.gz: 60cce3d79486ff09cf2e264259d0a6a9403d23caf6d82d19a361642a9d62531d2a99369129050793769483cc3272d42299757d86d315aba6881701d2bc15656c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
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
- 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
 
@@ -45,7 +45,7 @@ module GlooLang
45
45
  def save_one( name )
46
46
  ref = GlooLang::Core::Pn.new( @engine, name )
47
47
  obj = ref.resolve
48
- pn = get_full_path_name name
48
+ pn = get_full_path_names name
49
49
  fs = GlooLang::Persist::FileStorage.new( @engine, pn, obj )
50
50
  fs.save
51
51
  end
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.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-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler