Sha256: 39dae4a7a0443562f9e041d0a279aaab18263c63d2b5bcd962f050b24f3b5580

Contents?: true

Size: 542 Bytes

Versions: 2

Compression:

Stored size: 542 Bytes

Contents

require 'pathname'
require 'nugrant/config'
require 'nugrant/parameters'

# 1.8 Compatibility check
unless defined?(KeyError)
  class KeyError < IndexError
  end
end

if defined?(Vagrant)
  case
  when defined?(Vagrant::Plugin::V2)
    require 'nugrant/vagrant/v2/plugin'
  when Vagrant::VERSION =~ /1\.0\..*/
    # Nothing to do, v1 plugins are picked by the vagrant_init.rb file
  else
    abort("You are trying to use Nugrant with an unsupported Vagrant version [#{Vagrant::VERSION}]")
  end
end

module Nugrant
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nugrant-2.0.0.dev2 lib/nugrant.rb
nugrant-2.0.0.dev1 lib/nugrant.rb