e02ebc63d7
This commit allows configuring of the Gem source via an environment variable "GEM_SOURCE" with a default of 'https://rubygems.org'. This follows the conventions of Puppet Labs Open Source Platform team.
25 lines
901 B
Ruby
25 lines
901 B
Ruby
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'mime-types', '<2.0', :require => false
|
|
gem 'rake', :require => false
|
|
gem 'rspec-puppet', :require => false
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'rspec-system', :require => false
|
|
gem 'rspec-system-puppet', :require => false
|
|
gem 'rspec-system-serverspec', :require => false
|
|
gem 'serverspec', :require => false
|
|
gem 'puppet-lint', :require => false
|
|
gem 'pry', :require => false
|
|
gem 'simplecov', :require => false
|
|
gem 'beaker', :require => false
|
|
gem 'beaker-rspec', :require => false
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|