Sha256: ce5e1c137a125778cb7917565439bf529ecdf4392b2963babd1a67e2d05ada4a
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
module VagrantVbguest # A Vagrant middleware which checks the installed VirtualBox Guest # Additions to match the installed VirtualBox installation on the # host system. class Middleware def initialize(app, env, options = {}) @app = app @env = env @vm = env[:vm] end def call(env) options = @vm.config.vbguest.to_hash VagrantVbguest::Installer.new(@vm, options).run @app.call(env) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-vbguest-0.4.0 | lib/vagrant-vbguest/middleware.rb |