async-rest 0.13.0 → 0.14.0

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: 6a36f4148f0e9f165370b96bd494036289b5b1d669a4218c5823ffc3e7d90dfb
4
- data.tar.gz: 93a3b829c129a26172d612f7e0f5c606132d9bd1cdc864e809eb09ce81f2c170
3
+ metadata.gz: e7750b0f06535c7c980e2774a768b5c2b2617959964965adeb3dfbcced0e76f0
4
+ data.tar.gz: ff05ab03fe24812120d5c3d1a50e0a029c641c7338c6ad413fa5cd8be0fe8b6d
5
5
  SHA512:
6
- metadata.gz: be6940b7aa4f462a888d1c2c4171f1c0d9501033d3a7aea7cdf7dfb79b4b2b14232badbc8f66ca73dd7432de710b1e5ab06f805284e204d612e71e4489cb8eba
7
- data.tar.gz: d964f6876354324a8e8200ee4c9ea2320a6aa6254cbfba996e872a5f4e259e3eaa6ab657459b51058defcf01227eb3ad456ddd1c053eddea84b9e56ee280e1ac
6
+ metadata.gz: 2416bb4bebe3af462c90b42f94d4a3a20e73f3d3faac9ef2c8b69ff40175aa16601fb84f2807d76d48ecfa068d1538a35f2deeac0de8cc7691012390c7273f52
7
+ data.tar.gz: 22c58ca1c2e508f6199ab41fc7e8c6072267b7aef1f644f94545769e0fc1fe90541f95e95d1e3cd165a50e34309b0c09920779f996a8625007d25d59150e04b3
checksums.yaml.gz.sig CHANGED
Binary file
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module REST
8
- VERSION = "0.13.0"
8
+ VERSION = "0.14.0"
9
9
  end
10
10
  end
@@ -53,7 +53,7 @@ module Async
53
53
  return response
54
54
  end
55
55
 
56
- class Unsupported < HTTP::Body::Wrapper
56
+ class Unsupported < ::Protocol::HTTP::Body::Wrapper
57
57
  def join
58
58
  raise UnsupportedError, super
59
59
  end
@@ -33,13 +33,13 @@ module Async
33
33
  if payload
34
34
  request.headers['content-type'] = @content_type
35
35
 
36
- request.body = HTTP::Body::Buffered.new([
36
+ request.body = ::Protocol::HTTP::Body::Buffered.new([
37
37
  ::JSON.dump(payload)
38
38
  ])
39
39
  end
40
40
  end
41
41
 
42
- class Parser < HTTP::Body::Wrapper
42
+ class Parser < ::Protocol::HTTP::Body::Wrapper
43
43
  def join
44
44
  ::JSON.parse(super, symbolize_names: true)
45
45
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -40,7 +40,7 @@ cert_chain:
40
40
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
41
41
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
42
42
  -----END CERTIFICATE-----
43
- date: 2024-04-09 00:00:00.000000000 Z
43
+ date: 2024-09-10 00:00:00.000000000 Z
44
44
  dependencies:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: async-http
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.5.3
111
+ rubygems_version: 3.5.11
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: A library for RESTful clients (and hopefully servers).
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- N�*&�������v\�2�)�iHD+�@o�h����CNN"��>��Y��}�uc0�h}�8�Gd�_H�P���Yg� d� \ԍ����ԡ�}�����P+}�c���w��镮�K�� |��w g9��tJ��|�d��?\g^,�E�휑&��*��x[�I�������%��3*(9�Y���v�cX�:�X�D�"�v�:�G�
2
-
1
+ B��Q!9 ��ǣ�g�<��r�����Д����n�[qZ 0����%�ےY�}��