oso-cloud 1.3.0.dev.3 → 1.3.0.dev.4
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/Gemfile.lock +1 -1
- data/lib/oso/api.rb +3 -2
- data/lib/oso/version.rb +1 -1
- 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: 822eaee82cfec822517e2b08f9bfb15600507ae653a81f3924e74659bef7e282
|
|
4
|
+
data.tar.gz: 77914d92cf832aa1f4d281b192da5364448af1cd4b7577eed5f12b76c513d3e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12e44eb71effe07a28910df9f14d96b73416dd8edb2b29ef05aeb108083ecfdb1671056b24e592c3956fd76701cbf04c61fed522f19a12b747bfa59fc70bb6a7
|
|
7
|
+
data.tar.gz: 92df3b977c7bc5fe8328fe0e21bd311fa6c34c40efb41280229b2ed739c43eecfc86dfc0d395e6ffa6a321df24b82eef4680c92f963c2ced95f059ba3763e3cb
|
data/Gemfile.lock
CHANGED
data/lib/oso/api.rb
CHANGED
|
@@ -397,8 +397,9 @@ module OsoCloud
|
|
|
397
397
|
|
|
398
398
|
def POST_BATCH(path, params, body_array, isMutation)
|
|
399
399
|
connection = get_connection(options: nil)
|
|
400
|
-
responses =
|
|
401
|
-
|
|
400
|
+
responses = []
|
|
401
|
+
connection.in_parallel do
|
|
402
|
+
responses = body_array.map do |body|
|
|
402
403
|
connection.post("api#{path}") do |req|
|
|
403
404
|
req.params = params unless params.nil?
|
|
404
405
|
req.body = OsoCloud::Helpers.to_hash(body) unless body.nil?
|
data/lib/oso/version.rb
CHANGED