vagrant-vbguest 0.29.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/vagrant-vbguest/command.rb +1 -1
- data/lib/vagrant-vbguest/installers/base.rb +10 -7
- data/lib/vagrant-vbguest/middleware.rb +1 -1
- data/vagrant-vbguest.gemspec +2 -1
- metadata +4 -6
- data/.github/dependabot.yml +0 -13
- data/.github/stale.yml +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db28f68539ee8dda59a6f5c90d7af10f12a9d2c4dc7655d1bce7a9fc64a5c034
|
4
|
+
data.tar.gz: c2c9578e6654cf80c7294de848d4fd1463bc85eaef93407955da9d79b447c7a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bb704473740a35f7b698ad0de4d7cc837c564589018670650f1c094d8d72c2b0832421eed554f07e3ad49a581b4d80d96f90a05ef2b472907ae8dc9ca736593
|
7
|
+
data.tar.gz: 77ccd750474b598241be1d29039ef09175dc66297ad5fdc866e2e47dcd1c3f0330138f0c20fbe220764b5988b3ec187bec94b69d2184b6618b1d28a13709038d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.30.0
|
@@ -94,7 +94,7 @@ module VagrantVbguest
|
|
94
94
|
options = vm.config.vbguest.to_hash.merge(options)
|
95
95
|
machine = VagrantVbguest::Machine.new(vm, options)
|
96
96
|
status = machine.state
|
97
|
-
vm.env.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant_vbguest.status.#{status}", machine.info))
|
97
|
+
vm.env.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant_vbguest.status.#{status}", **machine.info))
|
98
98
|
|
99
99
|
if _method != :status
|
100
100
|
machine.send(_method)
|
@@ -189,16 +189,18 @@ module VagrantVbguest
|
|
189
189
|
# will start _now_.
|
190
190
|
# The message includes the host and installer version strings.
|
191
191
|
def yield_installation_warning(path_to_installer)
|
192
|
-
@env.ui.warn I18n.t(
|
193
|
-
:
|
194
|
-
:
|
192
|
+
@env.ui.warn I18n.t(
|
193
|
+
"vagrant_vbguest.installing#{@options[:force] ? '_forced' : ''}",
|
194
|
+
guest_version: (guest_version || I18n.t("vagrant_vbguest.unknown")),
|
195
|
+
installer_version: (installer_version(path_to_installer) || I18n.t("vagrant_vbguest.unknown")))
|
195
196
|
end
|
196
197
|
|
197
198
|
# Helper to yield a warning message to the user, that the installation
|
198
199
|
# will be rebuild using the installed GuestAdditions.
|
199
200
|
# The message includes the host and installer version strings.
|
200
201
|
def yield_rebuild_warning
|
201
|
-
@env.ui.warn I18n.t(
|
202
|
+
@env.ui.warn I18n.t(
|
203
|
+
"vagrant_vbguest.rebuild#{@options[:force] ? '_forced' : ''}",
|
202
204
|
:guest_version => guest_version(true),
|
203
205
|
:host_version => @host.version)
|
204
206
|
end
|
@@ -210,8 +212,9 @@ module VagrantVbguest
|
|
210
212
|
# knows there could be a problem. The message includles the installer
|
211
213
|
# version.
|
212
214
|
def yield_installation_error_warning(path_to_installer)
|
213
|
-
@env.ui.warn I18n.t(
|
214
|
-
|
215
|
+
@env.ui.warn I18n.t(
|
216
|
+
"vagrant_vbguest.install_error",
|
217
|
+
installer_version: (installer_version(path_to_installer) || I18n.t("vagrant_vbguest.unknown")))
|
215
218
|
end
|
216
219
|
# alias to old method name (containing a typo) for backwards compatibility
|
217
220
|
alias_method :yield_installation_waring, :yield_installation_error_warning
|
@@ -230,7 +233,7 @@ module VagrantVbguest
|
|
230
233
|
#
|
231
234
|
# @param file [String] Path of the file to upload to the +tmp_path*
|
232
235
|
def upload(file)
|
233
|
-
env.ui.info(I18n.t("vagrant_vbguest.start_copy_iso", :
|
236
|
+
env.ui.info(I18n.t("vagrant_vbguest.start_copy_iso", from: file, to: tmp_path))
|
234
237
|
communicate.upload(file, tmp_path)
|
235
238
|
end
|
236
239
|
|
@@ -21,7 +21,7 @@ module VagrantVbguest
|
|
21
21
|
if options[:auto_update]
|
22
22
|
machine = VagrantVbguest::Machine.new vm, options
|
23
23
|
status = machine.state
|
24
|
-
vm.env.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant_vbguest.status.#{status}", machine.info))
|
24
|
+
vm.env.ui.send((:ok == status ? :success : :warn), I18n.t("vagrant_vbguest.status.#{status}", **machine.info))
|
25
25
|
machine.run
|
26
26
|
reboot(vm, options) if machine.reboot?
|
27
27
|
end
|
data/vagrant-vbguest.gemspec
CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.summary = %q{A Vagrant plugin to install the VirtualBoxAdditions into the guest VM}
|
11
11
|
s.description = %q{A Vagrant plugin which automatically installs the host's VirtualBox Guest Additions on the guest system.}
|
12
12
|
|
13
|
+
s.required_ruby_version = ">= 2.0"
|
13
14
|
s.required_rubygems_version = ">= 1.3.6"
|
14
15
|
|
15
16
|
s.add_dependency "micromachine", ">= 2", "< 4"
|
@@ -18,7 +19,7 @@ Gem::Specification.new do |s|
|
|
18
19
|
s.add_dependency "i18n"
|
19
20
|
s.add_dependency "log4r"
|
20
21
|
|
21
|
-
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|testdrive)/}) }
|
22
|
+
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|testdrive|\.github)/}) }
|
22
23
|
s.bindir = "exe"
|
23
24
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
25
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbguest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Schulze
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: micromachine
|
@@ -66,8 +66,6 @@ executables: []
|
|
66
66
|
extensions: []
|
67
67
|
extra_rdoc_files: []
|
68
68
|
files:
|
69
|
-
- ".github/dependabot.yml"
|
70
|
-
- ".github/stale.yml"
|
71
69
|
- ".gitignore"
|
72
70
|
- CHANGELOG.md
|
73
71
|
- CODE_OF_CONDUCT.md
|
@@ -123,14 +121,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
121
|
requirements:
|
124
122
|
- - ">="
|
125
123
|
- !ruby/object:Gem::Version
|
126
|
-
version: '0'
|
124
|
+
version: '2.0'
|
127
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
126
|
requirements:
|
129
127
|
- - ">="
|
130
128
|
- !ruby/object:Gem::Version
|
131
129
|
version: 1.3.6
|
132
130
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.2.15
|
134
132
|
signing_key:
|
135
133
|
specification_version: 4
|
136
134
|
summary: A Vagrant plugin to install the VirtualBoxAdditions into the guest VM
|
data/.github/dependabot.yml
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
3
|
-
# Please see the documentation for all configuration options:
|
4
|
-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
5
|
-
|
6
|
-
version: 2
|
7
|
-
updates:
|
8
|
-
- package-ecosystem: "bundler" # See documentation for possible values
|
9
|
-
directory: "/" # Location of package manifests
|
10
|
-
schedule:
|
11
|
-
interval: "daily"
|
12
|
-
ignore:
|
13
|
-
- dependency-name: "vagrant"
|
data/.github/stale.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Configuration for https://github.com/probot/stale
|
2
|
-
# Number of days of inactivity before an issue becomes stale
|
3
|
-
daysUntilStale: 60
|
4
|
-
# Number of days of inactivity before a stale issue is closed
|
5
|
-
daysUntilClose: 7
|
6
|
-
# Issues with these labels will never be considered stale
|
7
|
-
exemptLabels:
|
8
|
-
- pinned
|
9
|
-
- security
|
10
|
-
# Label to use when marking an issue as stale
|
11
|
-
staleLabel: wontfix
|
12
|
-
# Comment to post when marking an issue as stale. Set to `false` to disable
|
13
|
-
markComment: >
|
14
|
-
This issue has been automatically marked as stale because it has not had
|
15
|
-
recent activity. It will be closed if no further activity occurs. Thank you
|
16
|
-
for your contributions.
|
17
|
-
# Comment to post when closing a stale issue. Set to `false` to disable
|
18
|
-
closeComment: false
|