Sha256: f7c1d54fc43a9b96072ffe1ae1acec56887d5f0ea379d813fb814d5408cd1830
Contents?: true
Size: 623 Bytes
Versions: 4
Compression:
Stored size: 623 Bytes
Contents
require 'pathname' require 'nugrant/config' require 'nugrant/parameters' 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 def self.create_parameters(options) config = Nugrant::Config.new(options) return Nugrant::Parameters.new(config) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nugrant-1.1.0 | lib/nugrant.rb |
nugrant-1.0.1 | lib/nugrant.rb |
nugrant-1.0.0 | lib/nugrant.rb |
nugrant-1.0.0.pre1 | lib/nugrant.rb |