Sha256: 0794949a25f7d03b29d5c339d2fb6b479e0227f2a1e730738c4ef4cea9baef52
Contents?: true
Size: 544 Bytes
Versions: 40
Compression:
Stored size: 544 Bytes
Contents
require 'vagrant/action/general/package' module Vagrant module Action module Box # Packages a box which has already been unpackaged (such as # for the `vagrant box repackage` command) by leveraging the # general packager middleware. class Package < General::Package # Alias instead of calling super for testability alias_method :general_call, :call def call(env) env["package.directory"] = env["box_directory"] general_call(env) end end end end end
Version data entries
40 entries across 40 versions & 6 rubygems