oso-cloud 1.4.0.dev.2 → 1.4.0.dev.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -0
- data/lib/oso/api.rb +3 -1
- data/lib/oso/version.rb +1 -1
- data/oso-cloud.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19949c28883d1f93bb356398c58d7bf7eff4846c518f4555fe7aa9ac58d5bda6
|
4
|
+
data.tar.gz: 7191bcd23b76ee1bf649de8121275f8bb893c34272fe78fa732a10e97bbaba39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 521880120751ab6bc7f22403b5b182b5e43d1c00ccfca4f53aba279b471ebe858ac0cc36d4ac95a7c3ffb2a8e6405764ae60989e617c56377028dd45a3349fb9
|
7
|
+
data.tar.gz: 07e1aafd27d027a5f3d20ed095df62b5cd8f27fa39b50d6d340a87f6bab305e6138ac0d11bc48e41963ef6b4ec592119769a04d08877f7d7fa20f61ab14c358d
|
data/Gemfile.lock
CHANGED
@@ -3,18 +3,25 @@ PATH
|
|
3
3
|
specs:
|
4
4
|
oso-cloud (1.4.0.dev.2)
|
5
5
|
faraday (~> 2.5.2)
|
6
|
+
faraday-net_http_persistent (~> 2.0)
|
6
7
|
faraday-retry (~> 2.0.0)
|
7
8
|
|
8
9
|
GEM
|
9
10
|
remote: https://rubygems.org/
|
10
11
|
specs:
|
12
|
+
connection_pool (2.4.1)
|
11
13
|
faraday (2.5.2)
|
12
14
|
faraday-net_http (>= 2.0, < 3.1)
|
13
15
|
ruby2_keywords (>= 0.0.4)
|
14
16
|
faraday-net_http (3.0.2)
|
17
|
+
faraday-net_http_persistent (2.1.0)
|
18
|
+
faraday (~> 2.5)
|
19
|
+
net-http-persistent (~> 4.0)
|
15
20
|
faraday-retry (2.0.0)
|
16
21
|
faraday (~> 2.0)
|
17
22
|
minitest (5.18.0)
|
23
|
+
net-http-persistent (4.0.2)
|
24
|
+
connection_pool (~> 2.2)
|
18
25
|
rake (12.3.3)
|
19
26
|
ruby2_keywords (0.0.5)
|
20
27
|
|
data/lib/oso/api.rb
CHANGED
@@ -2,6 +2,7 @@ require 'json'
|
|
2
2
|
require 'uri'
|
3
3
|
require 'faraday'
|
4
4
|
require 'faraday/retry'
|
5
|
+
require 'faraday/net_http_persistent'
|
5
6
|
|
6
7
|
require 'oso/helpers'
|
7
8
|
require 'oso/version'
|
@@ -246,7 +247,7 @@ module OsoCloud
|
|
246
247
|
end
|
247
248
|
end
|
248
249
|
else
|
249
|
-
faraday.adapter :
|
250
|
+
faraday.adapter :net_http_persistent, pool_size: 10
|
250
251
|
end
|
251
252
|
end
|
252
253
|
|
@@ -451,6 +452,7 @@ module OsoCloud
|
|
451
452
|
|
452
453
|
def handle_faraday_error(error)
|
453
454
|
resp = error.response
|
455
|
+
puts resp[:body]
|
454
456
|
err = if resp.respond_to? :body
|
455
457
|
resp.body[:message]
|
456
458
|
else
|
data/lib/oso/version.rb
CHANGED
data/oso-cloud.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oso-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.0.dev.
|
4
|
+
version: 1.4.0.dev.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oso Security, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: faraday-net_http_persistent
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: minitest
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|