ruby File.read(".ruby-version").strip source "https://rubygems.org" <% if configuration.build_refinements %> gem "refinements", "~> 9.0" <% end %> <% if configuration.build_zeitwerk %> gem "zeitwerk", "~> 2.5" <% end %> group :code_quality do <% if configuration.build_bundler_leak %> gem "bundler-leak", "~> 0.2" <% end %> <% if configuration.build_dead_end %> gem "dead_end", "~> 3.0" <% end %> <% if configuration.build_git && configuration.build_git_lint %> gem "git-lint", "~> 3.0" <% end %> <% if configuration.build_reek %> gem "reek", "~> 6.0" <% end %> <% if configuration.build_rubocop %> gem "rubocop", "~> 1.24" gem "rubocop-performance", "~> 1.12" gem "rubocop-rake", "~> 0.6" <% end %> <% if configuration.build_rspec && configuration.build_rubocop %> gem "rubocop-rspec", "~> 2.6" <% end %> <% if configuration.build_simple_cov %> gem "simplecov", "~> 0.21" <% end %> end group :development do <% if configuration.build_yard && configuration.ascii_doc? %> gem "asciidoctor", "~> 2.0" <% end %> <% if configuration.build_rake %> gem "rake", "~> 13.0" <% end %> <% if configuration.markdown? %> gem "tocer", "~> 13.0" <% end %> <% if configuration.build_yard %> gem "yard", "~> 0.9" <% end %> end group :test do <% if configuration.build_guard %> gem "guard-rspec", "~> 4.7", require: false <% end %> <% if configuration.build_rspec %> gem "rspec", "~> 3.10" <% end %> end group :tools do <% if configuration.build_amazing_print %> gem "amazing_print", "~> 1.4" <% end %> <% if configuration.build_debug %> gem "debug", "~> 1.4" <% end %> end