Sha256: d1d2b148a97f576ff45710cd04360d9704a506b24a1b4492939d69dab2b4541c

Contents?: true

Size: 648 Bytes

Versions: 6

Compression:

Stored size: 648 Bytes

Contents

require 'pathname'
require 'vagrant-registration/plugin'

module VagrantPlugins
  module Registration
    lib_path = Pathname.new(File.expand_path('../vagrant-registration', __FILE__))
    autoload :Action, lib_path.join('action')

    # This returns the path to the source of this plugin.
    def self.source_root
      @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end

    # Temporally load the extra capability files for Red Hat
    load(File.join(source_root, 'plugins/guests/redhat/plugin.rb'))
    # Default I18n to load the en locale
    I18n.load_path << File.expand_path('locales/en.yml', source_root)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-registration-1.3.4 lib/vagrant-registration.rb
vagrant-registration-1.3.3 lib/vagrant-registration.rb
vagrant-registration-1.3.2 lib/vagrant-registration.rb
vagrant-registration-1.3.1 lib/vagrant-registration.rb
vagrant-registration-1.3.0 lib/vagrant-registration.rb
vagrant-registration-1.2.3 lib/vagrant-registration.rb