Moves from Vagrant to VagrantPlugins top-level namespace.

This commit is contained in:
Patrick Connolly 2013-06-07 22:37:02 -04:00
parent 5bf87ee49f
commit 292c7d2444
13 changed files with 15 additions and 15 deletions

View file

@ -1,6 +1,6 @@
require_relative 'bucket'
module Vagrant
module VagrantPlugins
module Cachier
class Action
class Install

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Bucket
def self.inherited(base)

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Bucket
class Apt < Bucket

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Bucket
class Gem < Bucket

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Bucket
class Pacman < Bucket

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Bucket
class Yum < Bucket

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
module Cap
module Arch

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
module Cap
module Debian

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
module Cap
module Linux

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
module Cap
module RedHat

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Config < Vagrant.plugin(2, :config)
attr_accessor :scope, :auto_detect

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
class Plugin < Vagrant.plugin('2')
name 'vagrant-cachier'
@ -30,14 +30,14 @@ module Vagrant
install_action_hook = lambda do |hook|
require_relative 'action'
hook.after Vagrant::Action::Builtin::Provision, Vagrant::Cachier::Action::Install
hook.after Vagrant::Action::Builtin::Provision, VagrantPlugins::Cachier::Action::Install
end
action_hook 'set-shared-cache-on-machine-up', :machine_action_up, &install_action_hook
action_hook 'set-shared-cache-on-machine-reload', :machine_action_reload, &install_action_hook
clean_action_hook = lambda do |hook|
require_relative 'action'
hook.before Vagrant::Action::Builtin::GracefulHalt, Vagrant::Cachier::Action::Clean
hook.before Vagrant::Action::Builtin::GracefulHalt, VagrantPlugins::Cachier::Action::Clean
end
action_hook 'remove-guest-symlinks-on-machine-halt', :machine_action_halt, &clean_action_hook
action_hook 'remove-guest-symlinks-on-machine-package', :machine_action_package, &clean_action_hook

View file

@ -1,4 +1,4 @@
module Vagrant
module VagrantPlugins
module Cachier
VERSION = "0.0.6"
end