wolf_core 0.1.23 → 0.1.24

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c2a6978b0c9f279a908e089a93a58ec798fc4b4c5c0200030cbe46ace25ff12
4
- data.tar.gz: 4a0df6b4c6cca1fbbd86e799d6bfd6e149e6f29d133c8d65df82cd75feb91d98
3
+ metadata.gz: '08ebd73cf594c93dc2d2daeea934fa783f1be0747425b4e8375046573a5ab330'
4
+ data.tar.gz: '082e2fc8f5fcab7767f6b84a45f5943af92d2e990e278bedc01d1a7f78bffe8f'
5
5
  SHA512:
6
- metadata.gz: d11a37001034d5d55389406c7a19f88d348871b4b7d2b7a85bf844ddad24da13084c83186b1d58f90c62d87b85b664888d102a7b1684be34c1cb6195c8401c79
7
- data.tar.gz: 5b16ad2c5e0ece947a214a136ad7fefd89f05c1eb721a4f6ee5e1b692926d395d47e7a7d7a7525a8dd58581f0b0d90de6c866c400a2f1b1b80331aea0b98aac9
6
+ metadata.gz: '0083a27a68852391cf08ee90403e0bc65ad8df93f2e7ab8a0d1e1c7bb0be5d0e6020e741172341f13318a123ee55ad145c38267aa268a7e12e11b5060d0cd3ad'
7
+ data.tar.gz: 1fd890919d474e3401fcb8c33553e3bcde6e8a59d372dd7a37eb4a93262ce88cd72e601a6a36d5205238cc1acd073e4a0d22e3750adc86b024d380a5642cb4ea
@@ -4,7 +4,12 @@ module WolfCore
4
4
  include WolfCore::AsyncUtils
5
5
 
6
6
  def async_http_get(**args)
7
- run_async { http_get(**args) }
7
+ puts "starting async_http_get"
8
+ run_async do
9
+ response = http_get(**args)
10
+ puts "async_http_get response is"
11
+ pp parse_http_response(response).to_h
12
+ end
8
13
  end
9
14
 
10
15
  def http_get(url:, headers: {}, query: nil)
@@ -12,7 +17,12 @@ module WolfCore
12
17
  end
13
18
 
14
19
  def async_http_post(**args)
15
- run_async { http_post(**args) }
20
+ puts "starting async_http_post"
21
+ run_async do
22
+ response = http_post(**args)
23
+ puts "async_http_post response is"
24
+ pp parse_http_response(response).to_h
25
+ end
16
26
  end
17
27
 
18
28
  def http_post(url:, headers: {}, body: nil, query: nil)
@@ -20,7 +30,12 @@ module WolfCore
20
30
  end
21
31
 
22
32
  def async_http_put(**args)
23
- run_async { http_put(**args) }
33
+ puts "starting async_http_put"
34
+ run_async do
35
+ response = http_put(**args)
36
+ puts "async_http_put response is"
37
+ pp parse_http_response(response).to_h
38
+ end
24
39
  end
25
40
 
26
41
  def http_put(url:, headers: {}, body: nil, query: nil)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.23"
4
+ VERSION = "0.1.24"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty