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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
source "https://rubygems.org"
# Note we do not use the gemspec DSL which restricts to the
# gemspec for the current platform and filters out other platforms
# during a bundle lock operation. We actually want dependencies from
# both of our gemspecs. Also note this this mimics gemspec behavior
# of bundler versions prior to 1.12.0 (https://github.com/bundler/bundler/commit/193a14fe5e0d56294c7b370a0e59f93b2c216eed)
gem "chef", path: "."
gem "ohai", "~> 13"
gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))
gem "cheffish", "~> 13" # required for rspec tests
group(:omnibus_package) do
gem "appbundler"
gem "rb-readline"
gem "inspec"
# nokogiri has no ruby-2.4 version for windows so it cannot go into our Gemfile.lock
# gem "nokogiri", ">= 1.7.1"
end
group(:omnibus_package, :pry) do
gem "pry"
gem "pry-byebug"
gem "pry-remote"
gem "pry-stack_explorer"
end
group(:docgen) do
gem "yard"
end
group(:maintenance, :ci) do
gem "tomlrb"
# To sync maintainers with github
gem "octokit"
gem "netrc"
end
# Everything except AIX
group(:linux, :bsd, :mac_os_x, :solaris, :windows) do
# may need to disable this in insolation on fussy builds like AIX, RHEL4, etc
gem "ruby-prof"
end
# Everything except AIX and Windows
group(:linux, :bsd, :mac_os_x, :solaris) do
gem "ruby-shadow", platforms: :ruby
end
group(:development, :test) do
gem "rake"
gem "simplecov"
# for testing new chefstyle rules
# gem 'chefstyle', github: 'chef/chefstyle'
gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
end
group(:ci) do
gem "github_changelog_generator", git: "https://github.com/chef/github-changelog-generator"
gem "mixlib-install"
end
group(:travis) do
# See `bundler-audit` in .travis.yml
gem "bundler-audit", git: "https://github.com/rubysec/bundler-audit.git"
gem "travis"
end
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
# If you want to load debugging tools into the bundle exec sandbox,
# add these additional dependencies into chef/Gemfile.local
eval(IO.read(__FILE__ + ".local"), binding) if File.exist?(__FILE__ + ".local")
|