client-api-builder 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/client-api-builder.gemspec +1 -1
- data/lib/client_api_builder/nested_router.rb +2 -2
- data/lib/client_api_builder/router.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 920aa0f202c1e60cf6e3dc8bf0e44d289f3cc37ec6052b2bca3535493065bb7e
|
|
4
|
+
data.tar.gz: c8f534c244d2c572f36f9b42a64610bde62a7bbc8b8d54ef2ae7049982f6a1c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 971aea4195329e45bf445ec744bcffaf3fc9a4d1a4eed5b88ec4be973f30daa568e7bca15180bc008b7f36967144fb130df67a11a4b060a96bae93ad1fd8ce32
|
|
7
|
+
data.tar.gz: ded78f47f7b31dfb671fb8bcd8ee383e0e965a16c94090cabba69a2bc1eedd678f99acc9baa2e89c23a391df6d7dd3e7b4ed3634d1722bda18f13cfd505696c2
|
data/client-api-builder.gemspec
CHANGED
|
@@ -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
|
|
83
|
-
options[:query]
|
|
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]
|
|
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
|
|
367
|
-
options[:query]
|
|
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
|