oso-cloud 1.4.0.dev.2 → 1.4.0

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: 15e2c4e47ed8fca8947b2e7ca216775deed37663897411d78d52b342b52927c7
4
- data.tar.gz: f7a4c423f1ba49bebeec9c55969ad1e8f149f1816333e5c19ca34af5e0acbb3f
3
+ metadata.gz: 7cd2119868a2abbe622d6407dc78aa07ee13065145d32b566645f607de594259
4
+ data.tar.gz: 7d39612599e9ae9cab250d3a954c9b510a07c2f14f0975ed746198fbbd655489
5
5
  SHA512:
6
- metadata.gz: 19157f67ccff6f1867b5f32b6743db835f1d80e4c68ffaf8a0a8da88dd272feb5c213a333e861dc8d20350bd1e10bd4e4f44eabb86af8c00738fbca906cbbbf2
7
- data.tar.gz: 0f22be0cb29d807e2d9576fa4fb034b543186693c860a17da2854b377494efd898cc92ffae5b78573ca250723f1a0de32c2711b9da12c5c065930bbca9c9315d
6
+ metadata.gz: e568154a43523df7260a16123328fccf4176dedf982fcb5938b551973f26059a7df73781a0d5950fb699e4310ce3381941aa041833befacef9f8793a07034c7a
7
+ data.tar.gz: eeffb701a6bbc5cceaf0934f0f5660a2d232d2951eb4ae54bb36ee43c837fe59a68d719fad86dc63cb45e885366bd20bfdeab15ba7f538f3d30d2cb780f630bb
data/Gemfile.lock CHANGED
@@ -1,20 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oso-cloud (1.4.0.dev.2)
4
+ oso-cloud (1.4.0)
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 :net_http
250
+ faraday.adapter :net_http_persistent, pool_size: 10
250
251
  end
251
252
  end
252
253
 
data/lib/oso/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module OsoCloud
2
- VERSION = '1.4.0.dev.2'.freeze
2
+ VERSION = '1.4.0'.freeze
3
3
  end
data/oso-cloud.gemspec CHANGED
@@ -22,5 +22,6 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_dependency 'faraday', '~> 2.5.2'
24
24
  spec.add_dependency 'faraday-retry', '~> 2.0.0'
25
+ spec.add_dependency 'faraday-net_http_persistent', '~> 2.0'
25
26
  spec.add_development_dependency 'minitest', '~> 5.15'
26
27
  end
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.2
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oso Security, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-13 00:00:00.000000000 Z
11
+ date: 2023-10-25 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
@@ -52,7 +66,7 @@ dependencies:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '5.15'
55
- description:
69
+ description:
56
70
  email:
57
71
  - support@osohq.com
58
72
  executables: []
@@ -77,7 +91,7 @@ homepage: https://www.osohq.com/
77
91
  licenses:
78
92
  - Apache-2.0
79
93
  metadata: {}
80
- post_install_message:
94
+ post_install_message:
81
95
  rdoc_options: []
82
96
  require_paths:
83
97
  - lib
@@ -88,12 +102,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
102
  version: 3.0.0
89
103
  required_rubygems_version: !ruby/object:Gem::Requirement
90
104
  requirements:
91
- - - ">"
105
+ - - ">="
92
106
  - !ruby/object:Gem::Version
93
- version: 1.3.1
107
+ version: '0'
94
108
  requirements: []
95
109
  rubygems_version: 3.2.33
96
- signing_key:
110
+ signing_key:
97
111
  specification_version: 4
98
112
  summary: Oso Cloud Ruby client
99
113
  test_files: []