lib/rubysmith/templates/%project_name%/Gemfile.erb in rubysmith-0.2.0 vs lib/rubysmith/templates/%project_name%/Gemfile.erb in rubysmith-0.3.0

- old
+ new

@@ -1,33 +1,35 @@ source "https://rubygems.org" -group :development do - <% if realm.build_bundler_audit %> - gem "bundler-audit", "~> 0.7" - <% end %> - <% if realm.build_git && realm.build_git_lint %> - gem "git-lint", "~> 1.0" - <% end %> - <% if realm.build_guard %> - gem "guard-rspec", "~> 4.7" - <% end %> - <% if realm.build_pry %> - gem "pry", "~> 0.13" - gem "pry-byebug", "~> 3.9" - <% end %> - gem "rake", "~> 13.0" - <% if realm.build_reek %> - gem "reek", "~> 6.0" - <% end %> - <% if realm.build_rspec %> - gem "rspec", "~> 3.9" - <% end %> - <% if realm.build_rubocop %> - gem "rubocop", "~> 0.92" - gem "rubocop-performance", "~> 1.8" - gem "rubocop-rake", "~> 0.5" - gem "rubocop-rspec", "~> 1.43" - <% end %> - <% if realm.build_simple_cov %> - gem "simplecov", "~> 0.19" - <% end %> -end +<% unless realm.build_minimum %> + group :development do + <% if realm.build_bundler_audit %> + gem "bundler-audit", "~> 0.7" + <% end %> + <% if realm.build_git && realm.build_git_lint %> + gem "git-lint", "~> 1.0" + <% end %> + <% if realm.build_guard %> + gem "guard-rspec", "~> 4.7" + <% end %> + <% if realm.build_pry %> + gem "pry", "~> 0.13" + gem "pry-byebug", "~> 3.9" + <% end %> + gem "rake", "~> 13.0" + <% if realm.build_reek %> + gem "reek", "~> 6.0" + <% end %> + <% if realm.build_rspec %> + gem "rspec", "~> 3.9" + <% end %> + <% if realm.build_rubocop %> + gem "rubocop", "~> 0.92" + gem "rubocop-performance", "~> 1.8" + gem "rubocop-rake", "~> 0.5" + gem "rubocop-rspec", "~> 1.43" + <% end %> + <% if realm.build_simple_cov %> + gem "simplecov", "~> 0.19" + <% end %> + end +<% end %>