Sha256: af4f6452185cbf5cc72a08adc638e654663a058a37f83eb624faa5fe51fa6924

Contents?: true

Size: 525 Bytes

Versions: 5

Compression:

Stored size: 525 Bytes

Contents

require 'vagrant'

module VagrantPlugins
  module VagrantWinRM

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

    # This initializes the internationalization strings.
    def self.setup_i18n
      I18n.load_path << File.expand_path('locales/en.yml', source_root)
      I18n.reload!
    end
  end
end

VagrantPlugins::VagrantWinRM.setup_i18n()
require 'vagrant-winrm/plugin'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-winrm-0.7.0 lib/vagrant-winrm.rb
vagrant-winrm-0.6.0 lib/vagrant-winrm.rb
vagrant-winrm-0.5.0 lib/vagrant-winrm.rb
vagrant-winrm-0.4.0 lib/vagrant-winrm.rb
vagrant-winrm-0.0.2 lib/vagrant-winrm.rb