forked from chef/knife-ec-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
39 lines (33 loc) · 1.1 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
source :rubygems
gem 'veil', git: 'https://github.com/chef/chef_secrets'
gemspec
if vsn = ENV['TRAVIS_CHEF_VERSION']
if m = /branch:(?<branch>.*)$/.match(vsn)
gem 'chef', git: 'https://github.com/chef/chef', branch: m[:branch]
else
gem 'chef', vsn
end
end
group :development do
gem 'rspec'
gem 'rake'
gem 'simplecov'
gem 'fakefs'
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.5")
gem "chef", "~> 14"
end
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.6")
gem "chef-zero", "~> 14"
end
end
# This is here instead of gemspec so that we can
# override which Chef gem to use when we do testing
# Possibilities in the future include using environmental
# variables, thus allowing us to to have Travis support
# Examples you can use in Gemfile.local
# gem 'chef', '~> 10.28'
# gem 'chef' # latest
# gem 'chef', git: 'git://github.com/mal/chef.git', branch: 'CHEF-3307'
# If you want to load debugging tools into the bundle exec sandbox,
# # add these additional dependencies into Gemfile.local
eval(IO.read(__FILE__ + '.local'), binding) if File.exists?(__FILE__ + '.local')