vmpooler-provider-vsphere 1.6.0 → 2.1.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: f81ce7049b244ac9c0d3b01c93d2b57a76ae9c2bc479d7a0dd34d08f54e833aa
4
- data.tar.gz: 2c3d7dfea7f3bc02925823c51310d4fc685f1fa4705941b8ce9ca7e939ce1c38
3
+ metadata.gz: e7facc5944e6f5a919f916566cd3399a762381f3b046dcd46739ceab2ef72b37
4
+ data.tar.gz: d8afc51cbd6aa0bfdc195d17403c4908f93733b9998d2ed4663c7243d8bc32b9
5
5
  SHA512:
6
- metadata.gz: 1bba56498047ba3f0e20bb07055991763f0a930995a29d4423a5cfbf8d45bd6253862c947eb16cff538a0455fe4495804f5ab80b8a7a2d5e83f91a140aa9793b
7
- data.tar.gz: 6b3c0e16c6ead71f7bcaedabe24e2fb1a2c455dba1ef740914bf1021ef78f07eb0b6b5f58105a79b4064bd9102b85397ffcb3a50e5df2078c30352d77243d831
6
+ metadata.gz: 8ee5e106fe90c9e26068af66a1456fda16ffd0932f1f132ff08927fb7efe5a3e0c0af62c212a2b5945605791cedb2d54b3130115ff1190740bb8c1d0547da650
7
+ data.tar.gz: 789357d7be7a20a7974c365c86564fc53721c67e4e86cfbc111f9c3c8f1e6f6b9c9650b8f974a747d50e92cb2338868fa4d78e787b32c1d7a0eab5e909c2329e
@@ -632,15 +632,13 @@ module Vmpooler
632
632
 
633
633
  # This should supercede the open_socket method in the Pool Manager
634
634
  def open_socket(host, domain = nil, timeout = 5, port = 22, &_block)
635
- Timeout.timeout(timeout) do
636
- target_host = host
637
- target_host = "#{host}.#{domain}" if domain
638
- sock = TCPSocket.new target_host, port
639
- begin
640
- yield sock if block_given?
641
- ensure
642
- sock.close
643
- end
635
+ target_host = host
636
+ target_host = "#{host}.#{domain}" if domain
637
+ sock = TCPSocket.new(target_host, port, connect_timeout: timeout)
638
+ begin
639
+ yield sock if block_given?
640
+ ensure
641
+ sock.close
644
642
  end
645
643
  end
646
644
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VmpoolerProviderVsphere
4
- VERSION = '1.6.0'
4
+ VERSION = '2.1.0'
5
5
  end
metadata CHANGED
@@ -1,32 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmpooler-provider-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '2.1'
18
+ version: '3.1'
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '4.0'
22
- name: rbvmomi
22
+ name: rbvmomi2
23
23
  prerelease: false
24
24
  type: :runtime
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '2.1'
29
+ version: '3.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4.0'
@@ -38,7 +38,7 @@ dependencies:
38
38
  version: '2.4'
39
39
  name: vmpooler
40
40
  prerelease: false
41
- type: :development
41
+ type: :runtime
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
@@ -119,7 +119,7 @@ dependencies:
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: 1.1.0
122
+ version: 1.28.2
123
123
  name: rubocop
124
124
  prerelease: false
125
125
  type: :development
@@ -127,7 +127,7 @@ dependencies:
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 1.1.0
130
+ version: 1.28.2
131
131
  - !ruby/object:Gem::Dependency
132
132
  requirement: !ruby/object:Gem::Requirement
133
133
  requirements:
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  requirements: []
207
- rubygems_version: 3.2.29
207
+ rubygems_version: 3.3.25
208
208
  signing_key:
209
209
  specification_version: 4
210
210
  summary: VMware provider for VMPooler