Sha256: 6c2b2dfff229630e6b8731a20bddea2d8c543839c1122a753452abee8a4fbf0e
Contents?: true
Size: 586 Bytes
Versions: 7
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true require 'vagrant' # compatibility fix to define constant not available Vagrant <1.6 ::Vagrant::MachineState::NOT_CREATED_ID ||= :not_created module VagrantPlugins module ProviderLibvirt module Util module Compat def self.action_hook_args(name, action) # handle different number of arguments for action_hook depending on vagrant version if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new('2.2.11') return name, action end return name end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems