httpx 0.15.3 → 0.15.4

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: e35dd08edd7da2735fbcab65f0cab8c7c41314946e64b02780b6afd17faa5622
4
- data.tar.gz: 1b34789ecb769043120c5c524657f2e747c91385c32064eed732a25106d2fa81
3
+ metadata.gz: b9ddf7801add132a755b4ae9a069d5267251780577ca68398f92ca04788ea5ba
4
+ data.tar.gz: 17a8072343c029940262b14810d66744d7761e561c2f0f0c5bb892737690c761
5
5
  SHA512:
6
- metadata.gz: b313d4468410befb74da77551484b116389fa785c643c935756f949d16077773d6a4ffe1b99ed20c6263e94385a2a4a40f82e3ec029db830d21b8c4ea03b847b
7
- data.tar.gz: 69955f7aa53181fc0a5b08dd9a5c909f5f526b45856dbc26991a65719a2916c1372264a89461d1aea91192a020bbffd9abac5d644194b9e4fc6f9c29d7837ef2
6
+ metadata.gz: bcf80ebdd6b1b767f0617e5f21c162d2beaacfb988d83061aebc2a4bbf4b7308ed7a693f2147cbc31cdee01f1dd4543087b4d57d241de61bdcf3e68d07525597
7
+ data.tar.gz: 176bfb2025dcf3039da7fc803a4abfada95d19a8221dfac746872f8806018b7b6b9b2c659ed6788183fe37bc661d7deb769094a9929b34534602bd7c4689ea01
@@ -0,0 +1,5 @@
1
+ # 0.15.4
2
+
3
+ ## Bugfixes
4
+
5
+ * Fixed `grpc` plugin, where `.marshal` was being called on the encoding protobuf object, instead of the coorrect "marshal method", which is `.encode`.
@@ -180,7 +180,7 @@ module HTTPX
180
180
  end
181
181
  end
182
182
  else
183
- input_enc.marshal(input)
183
+ input_enc.__send__(marshal_method, input)
184
184
  end
185
185
 
186
186
  call = execute(rpc_name, messages, **exec_opts)
@@ -0,0 +1,14 @@
1
+ require_relative "request"
2
+ module HTTPX
3
+ class Request
4
+ def response=(response)
5
+ return unless response
6
+
7
+ if response.status == 100
8
+ @informational_status = response.status
9
+ return
10
+ end
11
+ @response = response
12
+ end
13
+ end
14
+ end
data/lib/httpx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HTTPX
4
- VERSION = "0.15.3"
4
+ VERSION = "0.15.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.3
4
+ version: 0.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http-2-next
@@ -72,6 +72,7 @@ extra_rdoc_files:
72
72
  - doc/release_notes/0_15_1.md
73
73
  - doc/release_notes/0_15_2.md
74
74
  - doc/release_notes/0_15_3.md
75
+ - doc/release_notes/0_15_4.md
75
76
  - doc/release_notes/0_1_0.md
76
77
  - doc/release_notes/0_2_0.md
77
78
  - doc/release_notes/0_2_1.md
@@ -123,6 +124,7 @@ files:
123
124
  - doc/release_notes/0_15_1.md
124
125
  - doc/release_notes/0_15_2.md
125
126
  - doc/release_notes/0_15_3.md
127
+ - doc/release_notes/0_15_4.md
126
128
  - doc/release_notes/0_1_0.md
127
129
  - doc/release_notes/0_2_0.md
128
130
  - doc/release_notes/0_2_1.md
@@ -214,6 +216,7 @@ files:
214
216
  - lib/httpx/punycode.rb
215
217
  - lib/httpx/registry.rb
216
218
  - lib/httpx/request.rb
219
+ - lib/httpx/request2.rb
217
220
  - lib/httpx/resolver.rb
218
221
  - lib/httpx/resolver/https.rb
219
222
  - lib/httpx/resolver/native.rb