vagrant_utm 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/docs/index.md +1 -0
- data/lib/vagrant_utm/driver/meta.rb +3 -2
- data/lib/vagrant_utm/driver/version_4_7.rb +18 -0
- data/lib/vagrant_utm/version.rb +1 -1
- data/lib/vagrant_utm.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8068bfaa981ae823b8b8ff96bfdd585641b26d6b8ddde8c06eb662c4c7ba69c
|
|
4
|
+
data.tar.gz: e78d77ad7c216bb42afeaa10b467d6f5ab2f0a5f485442e2b855064cb952b291
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55ec5ebe6824831aa5aa78449b09bfae56eeaff6bc5619e2f6c5662b1d272496612314e3c2ebad7bac223322c0edbbcb3c51da7e2d147e9a4ef93b7e020d6e9d
|
|
7
|
+
data.tar.gz: a2627971b85484b30ff57beeef300466bb1455aa464f956e3b99d066bbe36fa53e83adf9222a6c9cc65decb1aad79576e867e4d4dd7e284bb3cb525be4af3b60
|
data/CHANGELOG.md
CHANGED
data/docs/index.md
CHANGED
|
@@ -24,6 +24,7 @@ allowing Vagrant to control and provision machines via UTM's API.
|
|
|
24
24
|
|
|
25
25
|
[UTM] is a free, full-featured system emulator and virtual machine host for iOS and macOS.
|
|
26
26
|
The UTM provider currently supports UTM versions
|
|
27
|
+
* 4.7.x
|
|
27
28
|
* 4.6.x
|
|
28
29
|
* 4.5.x (Obsolete, use plugin version 0.0.1)
|
|
29
30
|
|
|
@@ -55,7 +55,8 @@ module VagrantPlugins
|
|
|
55
55
|
# Instantiate the proper version driver for UTM
|
|
56
56
|
@logger.debug("Finding driver for UTM version: #{@version}")
|
|
57
57
|
driver_map = {
|
|
58
|
-
"4.6" => Version_4_6
|
|
58
|
+
"4.6" => Version_4_6,
|
|
59
|
+
"4.7" => Version_4_7
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
# UTM version < 4.6.5 doesn't have
|
|
@@ -64,7 +65,7 @@ module VagrantPlugins
|
|
|
64
65
|
# Restrict to UTM versions >= 4.6.5
|
|
65
66
|
unless Gem::Version.new(@version) >= Gem::Version.new("4.6.5")
|
|
66
67
|
raise Errors::UtmInvalidVersion,
|
|
67
|
-
supported_versions: "4.6.5 or
|
|
68
|
+
supported_versions: "4.6.5 or later"
|
|
68
69
|
end
|
|
69
70
|
|
|
70
71
|
driver_klass = nil
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require File.expand_path("version_4_6", __dir__)
|
|
4
|
+
|
|
5
|
+
module VagrantPlugins
|
|
6
|
+
module Utm
|
|
7
|
+
module Driver
|
|
8
|
+
# Driver for UTM 4.7.x
|
|
9
|
+
class Version_4_7 < Version_4_6 # rubocop:disable Naming/ClassAndModuleCamelCase
|
|
10
|
+
def initialize(uuid)
|
|
11
|
+
super
|
|
12
|
+
|
|
13
|
+
@logger = Log4r::Logger.new("vagrant::provider::utm::version_4_7")
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/lib/vagrant_utm/version.rb
CHANGED
data/lib/vagrant_utm.rb
CHANGED
|
@@ -17,6 +17,7 @@ module VagrantPlugins
|
|
|
17
17
|
autoload :Meta, lib_path.join("meta")
|
|
18
18
|
autoload :Version_4_5, lib_path.join("version_4_5") # rubocop:disable Naming/VariableNumber
|
|
19
19
|
autoload :Version_4_6, lib_path.join("version_4_6") # rubocop:disable Naming/VariableNumber
|
|
20
|
+
autoload :Version_4_7, lib_path.join("version_4_7") # rubocop:disable Naming/VariableNumber
|
|
20
21
|
end
|
|
21
22
|
|
|
22
23
|
# Drop some autoloads for the model classes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant_utm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Naveenraj M
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Vagrant UTM provider that allows you to manage UTM virtual machines.
|
|
14
14
|
email:
|
|
@@ -103,6 +103,7 @@ files:
|
|
|
103
103
|
- lib/vagrant_utm/driver/meta.rb
|
|
104
104
|
- lib/vagrant_utm/driver/version_4_5.rb
|
|
105
105
|
- lib/vagrant_utm/driver/version_4_6.rb
|
|
106
|
+
- lib/vagrant_utm/driver/version_4_7.rb
|
|
106
107
|
- lib/vagrant_utm/errors.rb
|
|
107
108
|
- lib/vagrant_utm/model/forwarded_port.rb
|
|
108
109
|
- lib/vagrant_utm/model/list_result.rb
|