Commit 514f5e11941d6d1f26394c75be92198f7f130dac
1 parent
35136ad1
renamed classes and moved files to match virtialbox provider
Showing
17 changed files
with
38 additions
and
38 deletions
| ... | ... | @@ -3,8 +3,8 @@ require 'log4r' |
| 3 | 3 | |
| 4 | 4 | require 'vagrant/action/builder' |
| 5 | 5 | |
| 6 | -module Vagrant | |
| 7 | - module Lxd | |
| 6 | +module VagrantPlugins | |
| 7 | + module ProviderLxd | |
| 8 | 8 | module Action |
| 9 | 9 | action_root = Pathname.new(File.expand_path("../action", __FILE__)) |
| 10 | 10 | autoload :Bootstrap, action_root.join("bootstrap") | ... | ... |
| ... | ... | @@ -2,8 +2,8 @@ |
| 2 | 2 | # Test with something like: |
| 3 | 3 | # ~> bundle exec vagrant ls |
| 4 | 4 | # |
| 5 | -module Vagrant | |
| 6 | - module Lxd | |
| 5 | +module VagrantPlugins | |
| 6 | + module ProviderLxd | |
| 7 | 7 | class Plugin < Vagrant.plugin('2') |
| 8 | 8 | name "Lxd" |
| 9 | 9 | |
| ... | ... | @@ -26,10 +26,10 @@ module Vagrant |
| 26 | 26 | # SyncedFolder |
| 27 | 27 | #end |
| 28 | 28 | |
| 29 | - command 'ls' do | |
| 30 | - require File.expand_path("../command", __FILE__) | |
| 31 | - Command | |
| 32 | - end | |
| 29 | + #command 'ls' do | |
| 30 | + # require File.expand_path("../command", __FILE__) | |
| 31 | + # Command | |
| 32 | + #end | |
| 33 | 33 | |
| 34 | 34 | autoload :Action, File.expand_path("../action", __FILE__) |
| 35 | 35 | end | ... | ... |
| 1 | 1 | # coding: utf-8 |
| 2 | 2 | lib = File.expand_path('../lib', __FILE__) |
| 3 | 3 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
| 4 | -require 'vagrant/lxd/version' | |
| 4 | +require 'vagrant-lxd/version' | |
| 5 | 5 | |
| 6 | 6 | Gem::Specification.new do |spec| |
| 7 | 7 | spec.name = "vagrant-lxd" |
| 8 | - spec.version = Vagrant::Lxd::VERSION | |
| 8 | + spec.version = VagrantPlugins::ProviderLxd::VERSION | |
| 9 | 9 | spec.authors = ["Georg Hopp"] |
| 10 | 10 | spec.email = ["hopp@silpion.de"] |
| 11 | 11 | ... | ... |
Please
register
or
login
to post a comment