ruby File.read(".ruby-version").strip source "https://rubygems.org" <% unless realm.build_minimum %> <% if realm.build_refinements %> gem "refinements", "~> 8.0" <% end %> group :code_quality do <% if realm.build_bundler_audit %> gem "bundler-audit", "~> 0.7" <% end %> <% if realm.build_bundler_leak %> gem "bundler-leak", "~> 0.2" <% end %> <% if realm.build_git && realm.build_git_lint %> gem "git-lint", "~> 2.0" <% end %> <% if realm.build_reek %> gem "reek", "~> 6.0" <% end %> <% if realm.build_rubocop %> gem "rubocop", "~> 1.8" gem "rubocop-performance", "~> 1.9" gem "rubocop-rake", "~> 0.5" <% end %> <% if realm.build_rspec && realm.build_rubocop %> gem "rubocop-rspec", "~> 2.0" <% end %> <% if realm.build_ruby_critic %> gem "rubycritic", "~> 4.5", require: false <% end %> <% if realm.build_simple_cov %> gem "simplecov", "~> 0.20" <% end %> end group :development do gem "rake", "~> 13.0" end group :test do <% if realm.build_guard %> gem "guard-rspec", "~> 4.7", require: false <% end %> <% if realm.build_rspec %> gem "rspec", "~> 3.10" <% end %> end group :tools do <% if realm.build_amazing_print %> gem "amazing_print", "~> 1.2" <% end %> <% if realm.build_pry %> gem "pry", "~> 0.13" gem "pry-byebug", "~> 3.9" <% end %> end <% end %>