kitchen-hyperv 0.7.0 → 0.9.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: 21905b2f2c54db8a9414e98231c4eaa08c66cfa8aab926bf41248a8159663b29
4
- data.tar.gz: 2ae8c16b86ee2933635c59f5e8403c42507d9ea2461c4c581c3468e409967c89
3
+ metadata.gz: a305a063dce2463b12e636f0ce8a806ff1c4dd6b52ff000b18c07c4dd793fc5d
4
+ data.tar.gz: e3d469bf18f798870c29a1f23a22b61bc2298571665fd2dc5e78e679b82cce68
5
5
  SHA512:
6
- metadata.gz: 171d1d798fad06869c129086e5b72a093b3457ed4149cfb0ddc971756e70590f5359149a042519bc0d208381b61c9ebffc6b2c5c16f28c63f128ee14edf8815c
7
- data.tar.gz: c7ff58b26dda26b67289a8acf66ae3bbdd152862b85e6bb9b2ed592833b0c2e44e980e3c4b8e17d24d1a108fe734820ed1da241778713c6d74819c9cd04ad8e0
6
+ metadata.gz: 697df92889d89138bd86f901939461e685cbf0089e32276e176f4a72580782e6b043c6a368d391a6f187dcdf755f069900ceda0e180e8e2fe6ee432323be3b50
7
+ data.tar.gz: a10d32231237d0ebb7bf8fe3a1e33ef4929244778971ed980ed842c652287e716cad96ec3c34867783cf6444c687fb8fca91bfb15431482704952092928f78bb
data/Gemfile CHANGED
@@ -1,6 +1,5 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in kitchen-pester.gemspec
4
3
  gemspec
5
4
 
6
5
  group :integration do
@@ -16,10 +16,12 @@ Gem::Specification.new do |spec|
16
16
  spec.files = %w{LICENSE kitchen-hyperv.gemspec Gemfile Rakefile support/hyperv.ps1} + Dir.glob("lib/**/*")
17
17
  spec.require_paths = ["lib"]
18
18
 
19
+ spec.required_ruby_version = ">= 2.6"
20
+
19
21
  spec.add_development_dependency "rake"
20
- spec.add_development_dependency "minitest", "~> 5.3", "< 5.15"
22
+ spec.add_development_dependency "minitest", "~> 5.3", "< 5.19"
21
23
  spec.add_development_dependency "minitest-stub-const"
22
- spec.add_development_dependency "mocha", "~> 1.1"
24
+ spec.add_development_dependency "mocha", "~> 2.0"
23
25
 
24
26
  spec.add_dependency "test-kitchen", ">= 1.4", "< 4"
25
27
  spec.add_dependency "train", "~> 3.5"
@@ -171,6 +171,7 @@ module Kitchen
171
171
  info("Creating virtual machine for #{instance.name}.")
172
172
  new_vm_object = run_ps new_vm_ps
173
173
  raise "Unable to create virtual machine for #{instance.name}." if new_vm_object.nil?
174
+
174
175
  @state[:id] = new_vm_object["Id"]
175
176
  info("Created virtual machine for #{instance.name}.")
176
177
  end
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Kitchen
19
19
  module Driver
20
- HYPERV_VERSION = "0.7.0".freeze
20
+ HYPERV_VERSION = "0.9.4".freeze
21
21
  end
22
22
  end
@@ -119,7 +119,7 @@ module Kitchen
119
119
  Generation = #{config[:vm_generation]}
120
120
  DisableSecureBoot = "#{config[:disable_secureboot]}"
121
121
  MemoryStartupBytes = #{config[:memory_startup_bytes]}
122
- StaticMacAddress = "#{config[:static_mac_address].to_s}"
122
+ StaticMacAddress = "#{config[:static_mac_address]}"
123
123
  Name = "#{instance.name}"
124
124
  Path = "#{kitchen_vm_path}"
125
125
  VHDPath = "#{differencing_disk_path}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-hyperv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-13 00:00:00.000000000 Z
11
+ date: 2023-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '5.3'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '5.15'
36
+ version: '5.19'
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '5.3'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '5.15'
46
+ version: '5.19'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: minitest-stub-const
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.1'
67
+ version: '2.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.1'
74
+ version: '2.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: test-kitchen
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +139,7 @@ homepage: https://github.com/test-kitchen/kitchen-hyperv
139
139
  licenses:
140
140
  - Apache-2.0
141
141
  metadata: {}
142
- post_install_message:
142
+ post_install_message:
143
143
  rdoc_options: []
144
144
  require_paths:
145
145
  - lib
@@ -147,15 +147,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: '0'
150
+ version: '2.6'
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - ">="
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.0.3
158
- signing_key:
157
+ rubygems_version: 3.4.10
158
+ signing_key:
159
159
  specification_version: 4
160
160
  summary: Hyper-V Driver for Test-Kitchen
161
161
  test_files: []