Sha256: 84ae53d1090af09c25c12b3d4b95f152c93f91b9fb05300bd4f087012fe1898d

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 Bytes

Contents

source 'https://rubygems.org'

gemspec

group :development do
  vagrant_dependencies = {
    'v1' => {
      'home' => "~/.vagrant.d.v1",
      'gem' => Proc.new do
        gem "vagrant", "~> 1.0.7"
      end,
    },
    'v2' => {
      'home' => "~/.vagrant.d",
      'gem' => Proc.new do
        gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git", :tag => "v1.3.5"
      end,
    },
  }

  vagrant_plugin_version = ENV['VAGRANT_PLUGIN_VERSION'] || "v2"
  vagrant_dependency = vagrant_dependencies[vagrant_plugin_version]

  ENV['VAGRANT_HOME'] = File.expand_path(vagrant_dependency['home'])

  vagrant_dependency['gem'].call()
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nugrant-1.4.0 Gemfile
nugrant-1.3.0 Gemfile
nugrant-1.2.0 Gemfile