client-api-builder 0.2.6 → 0.2.7

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: 94095125b2db1864337d568c4851db76ed2998ddb1460c4e244a4967c89b3572
4
- data.tar.gz: b2bb5c5bdeeb2e2cf3d70c35af9707fbc3f1229d785fdfe91baabf74405fb596
3
+ metadata.gz: 920aa0f202c1e60cf6e3dc8bf0e44d289f3cc37ec6052b2bca3535493065bb7e
4
+ data.tar.gz: c8f534c244d2c572f36f9b42a64610bde62a7bbc8b8d54ef2ae7049982f6a1c0
5
5
  SHA512:
6
- metadata.gz: 84d8a950dc40d46406a8bf05c9941589170e06d643d8270a8d132caea2f10309e2bf3818407f36e8225fca114856040c73a28c86a0802668be8b118d76284795
7
- data.tar.gz: ad8a7edb768481560ab97c0eda80570ca6c65239a10cdd89fce84958be1d3008c23835691f36c6242e7acf7716bf9523ec4948cb8e0bf71f90b4de983fbac32b
6
+ metadata.gz: 971aea4195329e45bf445ec744bcffaf3fc9a4d1a4eed5b88ec4be973f30daa568e7bca15180bc008b7f36967144fb130df67a11a4b060a96bae93ad1fd8ce32
7
+ data.tar.gz: ded78f47f7b31dfb671fb8bcd8ee383e0e965a16c94090cabba69a2bc1eedd678f99acc9baa2e89c23a391df6d7dd3e7b4ed3634d1722bda18f13cfd505696c2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'client-api-builder'
5
- s.version = '0.2.6'
5
+ s.version = '0.2.7'
6
6
  s.licenses = ['MIT']
7
7
  s.summary = 'Develop Client API libraries faster'
8
8
  s.description = 'Utility for constructing API clients'
@@ -79,8 +79,8 @@ module ClientApiBuilder
79
79
 
80
80
  root_router.class.query_params.each(&add_query_param_proc)
81
81
  self.class.query_params.each(&add_query_param_proc)
82
- query&.each(&add_query_param_proc)
83
- options[:query]&.each(&add_query_param_proc)
82
+ query && query.each(&add_query_param_proc)
83
+ options[:query] && options[:query].each(&add_query_param_proc)
84
84
 
85
85
  self.class.build_query(query_params)
86
86
  end
@@ -333,7 +333,7 @@ module ClientApiBuilder
333
333
  end
334
334
 
335
335
  self.class.headers.each(&add_header_proc)
336
- options[:headers]&.each(&add_header_proc)
336
+ options[:headers] && options[:headers].each(&add_header_proc)
337
337
 
338
338
  headers
339
339
  end
@@ -363,8 +363,8 @@ module ClientApiBuilder
363
363
  end
364
364
 
365
365
  self.class.query_params.each(&add_query_param_proc)
366
- query&.each(&add_query_param_proc)
367
- options[:query]&.each(&add_query_param_proc)
366
+ query && query.each(&add_query_param_proc)
367
+ options[:query] && options[:query].each(&add_query_param_proc)
368
368
 
369
369
  self.class.build_query(query_params)
370
370
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client-api-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch