new version and small changes

This commit is contained in:
dima
2013-09-25 22:53:18 +02:00
parent 15a11146a6
commit 26d7ea2a6f
3 changed files with 10 additions and 13 deletions

View File

@@ -4,11 +4,10 @@ rescue LoadError
raise 'The Vagrant Libvirt plugin must be run within Vagrant.'
end
# This is a sanity check to make sure no one is attempting to install
# this into an early Vagrant version.
if Vagrant::VERSION < '1.1.0'
raise 'The Vagrant Libvirt plugin is only compatible with Vagrant 1.1+'
if Vagrant::VERSION < '1.3.0'
raise 'The Vagrant Libvirt plugin is only compatible with Vagrant 1.3+'
end
module VagrantPlugins
@@ -19,7 +18,6 @@ module VagrantPlugins
Vagrant plugin to manage VMs in libvirt.
DESC
config('libvirt', :provider) do
require_relative 'config'
Config
@@ -34,14 +32,13 @@ module VagrantPlugins
Provider
end
# This initializes the internationalization strings.
def self.setup_i18n
I18n.load_path << File.expand_path('locales/en.yml', ProviderLibvirt.source_root)
I18n.load_path << File.expand_path('locales/en.yml',
ProviderLibvirt.source_root)
I18n.reload!
end
# This sets up our log level to be whatever VAGRANT_LOG is.
def self.setup_logging
require 'log4r'

View File

@@ -1,5 +1,5 @@
module VagrantPlugins
module ProviderLibvirt
VERSION = '0.0.7'
VERSION = '0.0.8'
end
end