http-client-generator 0.1.24 → 0.1.25

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: f685763f801978967e103fadca27d8c086614b71e1b47ddf6929aead1bce8eb7
4
- data.tar.gz: 116aafaf9d236c62c2aa5a627720f98c20b000cc20e51249e4c0e1e56b46fe97
3
+ metadata.gz: 0e631d6496a32223a78647bd0e8e20351460609198fcb39120cbc6ee8dcb5e89
4
+ data.tar.gz: 8eceda8b7ce7eb04814e7646bcec2c2aba7e156688e585d228ba075da87b8105
5
5
  SHA512:
6
- metadata.gz: 0a4ac673ad4adafa842e6877eb0ad989327801d71047981c95af0a021f9e9f6c2af8c1a2002fc9b14e276b89d696b45f4c5301b5edcc4acfb49417e1747712bc
7
- data.tar.gz: 91a7be067d35bd83217715208884e80e773b22beb6da7ab3552dfd1f5ef48f232561f7482633743a1570fa454ce56ec547e1e0d4661c11fc269ca1cfacdbff2d
6
+ metadata.gz: 525fd231428f4978cf354812a02101a43b006e29b40e0b00c66ea0d4f529a684dda5ea7ee91ddc2f10ef06b20426e725d4f01ad366c51cf4f7fa4c0f629a0f18
7
+ data.tar.gz: b6da1d6c14f39bfbcfb402fd741e693315765c75791570efdd27e290cee0feda98c323abaad0fa43dd68ec3a135ff1c36f08f549225198dd636d12d271cd1652
@@ -38,7 +38,7 @@ module HttpClientGenerator
38
38
  return req unless @schema_helper.respond_to?(schema_name)
39
39
 
40
40
  req.response_body = @schema_helper.public_send(schema_name, req.response_body)
41
- .value_or { |e| req.raise_message(e.inspect) }
41
+ .value_or { |e| req.raise_message("Unexpected #{e.inspect} in #{req.response_body}") }
42
42
 
43
43
  req
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpClientGenerator
4
- VERSION = '0.1.24'
4
+ VERSION = '0.1.25'
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.24
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Egorov