Sha256: 5bad17410a7f798f970742607e4abb768abddc31f29fc23443670409099d53bb

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

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

vagrant_branch = ENV['TEST_VAGRANT_VERSION'] || 'v2.2.4'
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.9.11'
  gem 'redcarpet'
end

group :test do
  case vagrant_branch
  when /head/i
    gem 'vagrant', :git => 'https://github.com/hashicorp/vagrant.git',
      :branch => 'master'
  else
    vagrant_version = Gem::Version.new(vagrant_branch.sub(/^v/, ''))
    gem 'vagrant', :git => 'https://github.com/hashicorp/vagrant.git',
      :tag => vagrant_branch
  end

  if vagrant_branch.match(/head/i) || (vagrant_version >= Gem::Version.new('1.9'))
    # Pinned on 5/11/2018. Compatible with Vagrant > 1.9. Brings in Rspec 3.
    gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec.git',
      :ref => '9413ab2'
  elsif vagrant_version
    # Pinned on 12/10/2014. Compatible with Vagrant 1.6.x -- 1.8.7.
    gem 'vagrant-spec', :git => 'https://github.com/hashicorp/vagrant-spec.git',
      :ref => '1df5a3a'
  end
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-pe_build-0.19.1 Gemfile
vagrant-pe_build-0.19.0 Gemfile