[DRE-commits] [vagrant-libvirt] 58/104: fix for Hiroshi Miura <miurahr at linux.com> patch

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:55:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.11
in repository vagrant-libvirt.

commit 80f4d3bf3890e353bb7e6d277fb1cdb0ea83e4b6
Author: dima <pronix.service at gmail.com>
Date:   Sat Aug 3 22:26:54 2013 +0200

    fix for  Hiroshi Miura <miurahr at linux.com> patch
---
 lib/vagrant-libvirt/plugin.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/vagrant-libvirt/plugin.rb b/lib/vagrant-libvirt/plugin.rb
index 8058167..0457b76 100644
--- a/lib/vagrant-libvirt/plugin.rb
+++ b/lib/vagrant-libvirt/plugin.rb
@@ -14,14 +14,14 @@ end
 module VagrantPlugins
   module ProviderLibvirt
     class Plugin < Vagrant.plugin('2')
-      name "libvirt"
+      name 'libvirt'
       description <<-DESC
       Vagrant plugin to manage VMs in libvirt.
       DESC
 
 
-      config("libvirt", :provider) do
-        require_relative "config"
+      config('libvirt', :provider) do
+        require_relative 'config'
         Config
       end
 
@@ -37,7 +37,7 @@ module VagrantPlugins
 
       # This initializes the internationalization strings.
       def self.setup_i18n
-        I18n.load_path << File.expand_path("locales/en.yml", Libvirt.source_root)
+        I18n.load_path << File.expand_path("locales/en.yml", ProviderLibvirt.source_root)
         I18n.reload!
       end
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list