oso-cloud 1.3.0.dev.3 → 1.3.0.dev.4

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: 75c0b57a46025c665c2098566134bbdc8e9e5a577706b6efc318b35a7a60ca57
4
- data.tar.gz: c6482fd3885bb7736c95ec2cf744b6f9b8111da1f9daf62c9ff56fd5636d475e
3
+ metadata.gz: 822eaee82cfec822517e2b08f9bfb15600507ae653a81f3924e74659bef7e282
4
+ data.tar.gz: 77914d92cf832aa1f4d281b192da5364448af1cd4b7577eed5f12b76c513d3e0
5
5
  SHA512:
6
- metadata.gz: a0f41beb06adcdc1fdefeaefedb705d45b128c4a40533ba8356922e7903acddd566a481ac1a15910eb9aaeddc904b7091ef13e0023618cdca343c74b74ab7214
7
- data.tar.gz: 027de9f7060481d03b7da46a837525d39391e130fb247dc140e7b0f7cf8db43e017da000ce6a02c4cb19032783e5888d5d36e92b90e1a618fe5324ffb955dab9
6
+ metadata.gz: 12e44eb71effe07a28910df9f14d96b73416dd8edb2b29ef05aeb108083ecfdb1671056b24e592c3956fd76701cbf04c61fed522f19a12b747bfa59fc70bb6a7
7
+ data.tar.gz: 92df3b977c7bc5fe8328fe0e21bd311fa6c34c40efb41280229b2ed739c43eecfc86dfc0d395e6ffa6a321df24b82eef4680c92f963c2ced95f059ba3763e3cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oso-cloud (1.3.0.dev.2)
4
+ oso-cloud (1.3.0.dev.3)
5
5
  faraday (~> 2.5.2)
6
6
  faraday-retry (~> 2.0.0)
7
7
  faraday-typhoeus (~> 1.0.0)
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 = connection.in_parallel do
401
- body_array.map do |body|
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
@@ -1,3 +1,3 @@
1
1
  module OsoCloud
2
- VERSION = '1.3.0.dev.3'.freeze
2
+ VERSION = '1.3.0.dev.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oso-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.dev.3
4
+ version: 1.3.0.dev.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oso Security, Inc.