http-client-generator 0.1.30 → 0.1.32

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: 438bc8f1ea685db474f035bf63f255ab08dca8a04c29cdb6257989fac8131200
4
- data.tar.gz: 28f34fbea182ee2d04ea761ad795356e1c479615e73abe70812a92b919845927
3
+ metadata.gz: 4658a4cbf25aebedf77a8a41b7e0e3f3c33cf4e4df10d10f8f029978b28b4d45
4
+ data.tar.gz: d4dee02d62badb2d9cf4b25b1836fd9b982679d2f5df25988a7370d7b48510a2
5
5
  SHA512:
6
- metadata.gz: 61286bf0e127604db8cbf95622e1341841fb8ee600f646b2b096059a731d8f44762943c9868e775e44b6a74b19418252b9795586093f5937d3770a42124ef9a8
7
- data.tar.gz: b9452428bdb610ca52630a2d85163695f59f7071f08f409b4125447efc02aa7015ca94668af6d14729563391ef30582b96b3624fc0d35dd08b78507d08ce3db5
6
+ metadata.gz: 52f1cca6f0cc66f6f437f2ad7b5581de414ae6582bfbfb5862addbe5f23880c801643da2bbfa3bdf7b97653e3f348696f2006d3f4bd6c17a03292188dc7e3830
7
+ data.tar.gz: f3f27c21ce776877592ff60b9c8a3325fca79cd8f6a371a88c051f948e18b076c29b7d8ed6c1ed9c6e8473f9a5580490672c0d404ac4d6b243f46e08191b0189
@@ -10,7 +10,7 @@ module HttpClientGenerator
10
10
  end
11
11
 
12
12
  def call(req)
13
- schema_name = :"#{req.name}_#{req.verb}"
13
+ schema_name = :"#{req.verb}_#{req.name}"
14
14
 
15
15
  return req unless @schema_helper.respond_to?(schema_name)
16
16
 
@@ -10,7 +10,7 @@ module HttpClientGenerator
10
10
  end
11
11
 
12
12
  def call(req)
13
- schema_name = :"#{req.name}_#{req.verb}"
13
+ schema_name = :"#{req.verb}_#{req.name}"
14
14
 
15
15
  return req unless @schema_helper.respond_to?(schema_name)
16
16
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpClientGenerator
4
- VERSION = '0.1.30'
4
+ VERSION = '0.1.32'
5
5
  end
@@ -2,6 +2,9 @@
2
2
 
3
3
  require 'zeitwerk'
4
4
 
5
+ require 'active_support/core_ext/string/inflections'
6
+ require 'active_support/core_ext/hash/keys'
7
+
5
8
  Zeitwerk::Loader.for_gem.setup
6
9
 
7
10
  Dir["#{__dir__}/http_client_generator/plugs/*.rb"].each { |f| require f }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-client-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Egorov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http