Sha256: d3242c44252e29e9fee90d3299d281845fcf296a6ce10e8388976a86a88f9d34

Contents?: true

Size: 1.33 KB

Versions: 9

Compression:

Stored size: 1.33 KB

Contents

source 'https://rubygems.org'
require 'rubygems/version'

vagrant_branch = ENV['TEST_VAGRANT_VERSION'] || 'v1.9.3'
vagrant_version = nil

# Wrapping gemspec in the :plugins group causes Vagrant 1.5 and newer to
# automagically load this plugin during acceptance tests.
group :plugins do
  gemspec
end

group :development do
  gem 'yard', '~> 0.8.7'
  gem 'redcarpet'
end

group :test do
  case vagrant_branch
  when /head/i
    gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git',
      :branch => 'master'
  else
    vagrant_version = Gem::Version.new(vagrant_branch.sub(/^v/, ''))
    gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git',
      :tag => vagrant_branch
    # FIXME: Hack to allow Vagrant v1.6.5 to install for tests. Remove when
    # support for 1.6.5 is dropped.
    gem 'rack', '< 2'
  end

  if vagrant_branch.match(/head/i) || (vagrant_version > Gem::Version.new('1.9.3'))
    # Pinned on 4/11/2017. Compatible with Vagrant > 1.9.3.
    gem 'vagrant-spec', :git => 'https://github.com/mitchellh/vagrant-spec.git',
      :ref => '1d09951'
  elsif vagrant_version
    # Pinned on 12/10/2014. Compatible with Vagrant 1.6.x -- 1.9.3.
    gem 'vagrant-spec', :git => 'https://github.com/mitchellh/vagrant-spec.git',
      :ref => '1df5a3a'
  end
end

eval_gemfile "#{__FILE__}.local" if File.exists? "#{__FILE__}.local"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vagrant-pe_build-0.17.11 Gemfile
vagrant-pe_build-0.17.10 Gemfile
vagrant-pe_build-0.17.9 Gemfile
vagrant-pe_build-0.17.8 Gemfile
vagrant-pe_build-0.17.7 Gemfile
vagrant-pe_build-0.17.6 Gemfile
vagrant-pe_build-0.17.5 Gemfile
vagrant-pe_build-0.17.4 Gemfile
vagrant-pe_build-0.17.3 Gemfile