Last active
April 17, 2020 18:59
-
-
Save zuazo/7ec1352299c3b14556cc to your computer and use it in GitHub Desktop.
Gemfile template for a Chef Cookbook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# More info at http://bundler.io/gemfile.html | |
source 'https://rubygems.org' | |
# Used when running the tests against different Chef versions: | |
chef_version = ENV.key?('CHEF_VERSION') ? ENV['CHEF_VERSION'] : nil | |
group :doc do | |
gem 'yard', '~> 0.8.7' | |
end | |
group :test do | |
gem 'rake' | |
gem 'berkshelf', '~> 4.0' | |
end | |
group :style do | |
gem 'foodcritic', '~> 5.0.0' | |
gem 'rubocop', '~> 0.36.0' | |
end | |
group :unit do | |
gem 'chef', chef_version unless chef_version.nil? | |
gem 'simplecov', '~> 0.9' | |
gem 'should_not', '~> 1.1' | |
gem 'chefspec', '~> 4.1' | |
end | |
group :integration do | |
gem 'test-kitchen', '~> 1.2' | |
end | |
group :integration_docker do | |
gem 'kitchen-docker', '~> 2.1' | |
end | |
group :integration_vagrant do | |
gem 'vagrant-wrapper', '~> 2.0' | |
gem 'kitchen-vagrant', '~> 0.10' | |
end | |
group :integration_cloud do | |
gem 'kitchen-ec2', '~> 0.8' | |
gem 'kitchen-digitalocean', '~> 0.9' | |
end | |
group :guard do | |
gem 'guard', '~> 2.12' | |
gem 'guard-foodcritic', '~> 2.0' | |
gem 'guard-rubocop', '~> 1.2' | |
gem 'guard-rspec', '~> 4.6' | |
# Temporary disabled: Error is: cannot load such file -- guard/kitchen | |
# gem 'guard-kitchen', '~> 0.0.0' | |
end | |
group :travis do | |
gem 'coveralls', '~> 0.7', require: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment