oso-cloud 1.3.0.dev.2 → 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: 399088667fdeb8cf07cbaca88553b42c7af2eca560c09323425742d67eb59ccc
4
- data.tar.gz: 22fdc6724778ebb443a8855451c05e7e1d21478e2a29837a6a11bcc05b791b45
3
+ metadata.gz: 822eaee82cfec822517e2b08f9bfb15600507ae653a81f3924e74659bef7e282
4
+ data.tar.gz: 77914d92cf832aa1f4d281b192da5364448af1cd4b7577eed5f12b76c513d3e0
5
5
  SHA512:
6
- metadata.gz: 3b6f071e3f13cb4bc665706181467c88873a868751ac0a0727ce07f2dfd02cf27375d08baf938edd288d507c877f705da1985c3a8eaa96852f9215b25f9bf2b1
7
- data.tar.gz: d45dfc511dd84c2fa3a7df6f4fc1792174878de7f4a07c32e62ba863fdbddcea5f8921137ba948a8fbc5c11f0810d8570fae385f9d3c2e69078494f5d59cd273
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?
@@ -432,7 +433,7 @@ module OsoCloud
432
433
  end
433
434
 
434
435
  if isMutation
435
- @last_offset = @response.headers[:OsoOffset]
436
+ @last_offset = response.headers[:OsoOffset]
436
437
  end
437
438
  response.body
438
439
  rescue Faraday::Error => e
data/lib/oso/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module OsoCloud
2
- VERSION = '1.3.0.dev.2'.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.2
4
+ version: 1.3.0.dev.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oso Security, Inc.