wolf_core 0.1.19 → 0.1.20

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: a8d785615c5fa7343c041f85cd0bec684b52b244437e7671aafabe23b69bf2e7
4
- data.tar.gz: 25eb82ff8cd06ec0b3f7c3790c001ce729947f331b0efbd2875d6d061ff06c55
3
+ metadata.gz: acd792d3dc73de1d8eabdf890a23180731ed688350000fc03dec3ec7ca26c2b2
4
+ data.tar.gz: 27805804ca2cf78917d463d36003a837b9456b8248e6e774c064234ee122bd36
5
5
  SHA512:
6
- metadata.gz: 9065f29a4dab595510a105c8f3685d929a7698069594d197341b311c980c98abba12d2b9adc8b2f54f0b779ebe591ec12ae0bf72552d558b41ae99ac1981525e
7
- data.tar.gz: 43147cb03ed97383467f552f0dfb0a7331495c26891405c499ea2c2dec8bc75e98b5c63d188149834c0957d61272199bc14dec6da8f4088119b3b78b85fe5078
6
+ metadata.gz: 23439fb5b879807ffd2d3409fc7d03cd7b1dbb8f9214515201118a92bdad2a66e2df9c04b9b4eb0bdda5e465e920144915a4bc5c2bd8ade9e66a654e3ee7cf98
7
+ data.tar.gz: c023e26ce8cbada2460d470a1886b2cfa5641dc373f70d833a101a4a03dfc2897ef7270b4f1377d0bc404acfcdb6f076203b3e6808ff9fd9577438ed5c801ce8
@@ -2,14 +2,26 @@ module WolfCore
2
2
  module HttpOperations
3
3
  include WolfCore::ExceptionOperations
4
4
 
5
+ def async_http_get(**args)
6
+ fork { http_get(**args) }
7
+ end
8
+
5
9
  def http_get(url:, headers: {}, query: nil)
6
10
  WolfCore::HttpDataSource.http_get(url: url, headers: headers, query: query)
7
11
  end
8
12
 
13
+ def async_http_post(**args)
14
+ fork { http_post(**args) }
15
+ end
16
+
9
17
  def http_post(url:, headers: {}, body: nil, query: nil)
10
18
  WolfCore::HttpDataSource.http_post(url: url, headers: headers, query: query, body: body)
11
19
  end
12
20
 
21
+ def async_http_put(**args)
22
+ fork { http_put(**args) }
23
+ end
24
+
13
25
  def http_put(url:, headers: {}, body: nil, query: nil)
14
26
  WolfCore::HttpDataSource.http_put(url: url, headers: headers, query: query, body: body)
15
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.19"
4
+ VERSION = "0.1.20"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo