Sha256: cc52636236b1324a84cd8706bf983a07122772f907f0ae6aa3c1964d1639e8b6

Contents?: true

Size: 785 Bytes

Versions: 12

Compression:

Stored size: 785 Bytes

Contents

module VagrantPlugins
  module Registration
    module Action

      def self.action_register
        Vagrant::Action::Builder.new.tap do |b|
          b.use Register
        end
      end

      def self.action_unregister_on_halt
        Vagrant::Action::Builder.new.tap do |b|
          b.use UnregisterOnHalt
        end
      end

      def self.action_unregister_on_destroy
        Vagrant::Action::Builder.new.tap do |b|
          b.use UnregisterOnDestroy
        end
      end

      action_root = Pathname.new(File.expand_path('../action', __FILE__))
      autoload :Register, action_root.join('register')
      autoload :UnregisterOnHalt, action_root.join('unregister_on_halt')
      autoload :UnregisterOnDestroy, action_root.join('unregister_on_destroy')
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vagrant-registration-1.3.4 lib/vagrant-registration/action.rb
vagrant-registration-1.3.3 lib/vagrant-registration/action.rb
vagrant-registration-1.3.2 lib/vagrant-registration/action.rb
vagrant-registration-1.3.1 lib/vagrant-registration/action.rb
vagrant-registration-1.3.0 lib/vagrant-registration/action.rb
vagrant-registration-1.2.3 lib/vagrant-registration/action.rb
vagrant-registration-1.2.2 lib/vagrant-registration/action.rb
vagrant-registration-1.2.1 lib/vagrant-registration/action.rb
vagrant-registration-1.2.0 lib/vagrant-registration/action.rb
vagrant-registration-1.1.0 lib/vagrant-registration/action.rb
vagrant-registration-1.0.1 lib/vagrant-registration/action.rb
vagrant-registration-1.0.0 lib/vagrant-registration/action.rb