http-client-generator 0.1.21 → 0.1.22

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: b11568b03959898b529b0c5c7fa35c95a3f0501553f84eeff49c088b92fb4c14
4
- data.tar.gz: 2a287d40c99b2c217fa5e8679aba6e15179ab9cd0941212a3d2a137d65f2e73d
3
+ metadata.gz: 6c3b44fece935615e25d9474e750f49ee0954d9b1f0ce81c33f2e51bdc19519c
4
+ data.tar.gz: 7bcb19907b811dae72905ec5d70b9bc58f2733a666b2a1433a40746de32c49f7
5
5
  SHA512:
6
- metadata.gz: 21e564cdb8cdfaca86807955440d06c14d9d80ebfd2322eb2d79b784f2ca111b6ef46c167e0d7e994b10ae562eb438cdb7d84155cd6dd7e39ac6366db45b80bd
7
- data.tar.gz: 7575ecc971dc44da55858f14d39dd32fcc5cb78b7f6b9be54884737634a8e08274899ab81318b0746646c9fd1ed8f9b20f1001809c5fe8793a378023b4e2a2f2
6
+ metadata.gz: c62e8b8a284ab5aeb1d169c2758b85f5dda580ede7015153269c20eed7c61b3bf49428b68fce2fc8c09290e9542ccd9579dd09d45011994058f123753393103f
7
+ data.tar.gz: 483313ab88299445c0e888f46711a2fc2f336adfb5bc7f052e73e23edd811ced1e149aa56a584d94c7c6edad1f3a5e1b7d533bba29b9727276a620e30e2aa62a
@@ -32,7 +32,7 @@ module HttpClientGenerator
32
32
  end
33
33
 
34
34
  def namespace(_name, &block)
35
- namespaced_definition = ResourcesDefinition.new(@base, @req_plugs, @resp_plugs)
35
+ namespaced_definition = ResourcesDefinition.new(@base, @req_plugs.dup, @resp_plugs.dup)
36
36
  namespaced_definition.instance_eval(&block)
37
37
  @resources += namespaced_definition.resources
38
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpClientGenerator
4
- VERSION = '0.1.21'
4
+ VERSION = '0.1.22'
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.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Egorov