diff --git a/lib/vagrant-libvirt/plugin.rb b/lib/vagrant-libvirt/plugin.rb index 7ca7311..e5530e5 100644 --- a/lib/vagrant-libvirt/plugin.rb +++ b/lib/vagrant-libvirt/plugin.rb @@ -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' diff --git a/lib/vagrant-libvirt/version.rb b/lib/vagrant-libvirt/version.rb index 839ce1d..5e23f9a 100644 --- a/lib/vagrant-libvirt/version.rb +++ b/lib/vagrant-libvirt/version.rb @@ -1,5 +1,5 @@ module VagrantPlugins module ProviderLibvirt - VERSION = '0.0.7' + VERSION = '0.0.8' end end diff --git a/vagrant-libvirt.gemspec b/vagrant-libvirt.gemspec index 6942f12..bc4bced 100644 --- a/vagrant-libvirt.gemspec +++ b/vagrant-libvirt.gemspec @@ -12,13 +12,13 @@ Gem::Specification.new do |gem| gem.files = `git ls-files`.split($\) gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.name = "vagrant-libvirt" - gem.require_paths = ["lib"] + gem.name = 'vagrant-libvirt' + gem.require_paths = ['lib'] gem.version = VagrantPlugins::ProviderLibvirt::VERSION - gem.add_runtime_dependency "fog", "1.10.0" - gem.add_runtime_dependency "ruby-libvirt", "~> 0.4.0" + gem.add_runtime_dependency 'fog', '1.15.0' + gem.add_runtime_dependency 'ruby-libvirt', '~> 0.4.0' - gem.add_development_dependency "rake" + gem.add_development_dependency 'rake' end