http-client-generator 0.1.19 → 0.1.20

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: 796fa455e62adaafc95d3c213d52f5c0647efcbc96597c1cb52b4d4116eb7bf7
4
- data.tar.gz: 2a6763039f05c5b6720ab163420f133f432355c5bf5604cd213ffd40cd63435d
3
+ metadata.gz: 6dad1a9311f8ed3a1e2ed19c09ad0880374376faaf043f380465d9481ceca185
4
+ data.tar.gz: a6ba9caa0b086a5523803da58f6df9706daf1fe72a091be24afcb6226b2c374d
5
5
  SHA512:
6
- metadata.gz: 7888c6ae59d9721a417c37394daf294382aad6d37f72d7cd2f8322e1322fb12c3d600db4b206625735bce0273e1e92e804a5617973e1c625f3870186a4a98fa3
7
- data.tar.gz: c3c5f66284c72cb9bd524fd229c5681d3889c24027591220f74c9bf4a23548510d1ef948156295d9d4040490c8c6c528529219a575cc091b53cb9b5b9793a176
6
+ metadata.gz: 631a723643730d1339821b3b38458523123f9e30658ac81c4a6a6692f703fdc1c3488f50d36a2a12f2aea7d559284b9eeba9a2cb3db1fdeb0e061649d28f3052
7
+ data.tar.gz: 4beff091ffaf387e71b0d1233f9a74eeb77ad1beb4f023d0ced6e2b69b506d2e641505a424c291ed0c655ecf1e9f0955e0befb0f1f4fb191f8618627985f7321
@@ -28,7 +28,7 @@ module HttpClientGenerator
28
28
 
29
29
  return req unless @schema_helper.respond_to?(schema_name)
30
30
 
31
- req.response_body = @schema_helper.public_send(schema_name)
31
+ req.response_body = @schema_helper.public_send(schema_name, req.response_body)
32
32
  .value_or { |e| req.raise_message(e) }
33
33
 
34
34
  req
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpClientGenerator
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: http-client-generator
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
  - Pavel Egorov