lib/gemsmith/templates/%gem_name%/Gemfile.tt in gemsmith-14.10.0 vs lib/gemsmith/templates/%gem_name%/Gemfile.tt in gemsmith-14.10.1
- old
+ new
@@ -18,25 +18,25 @@
gem "rubocop-rake", "~> 0.5"
<%- end -%>
<%- if config.dig(:generate, :rubocop) && config.dig(:generate, :rspec) -%>
gem "rubocop-rspec", "~> 2.0"
<%- end -%>
+ <%- if config.dig(:generate, :simple_cov) -%>
+ gem "simplecov", "~> 0.20"
+ <%- end -%>
end
group :development do
gem "gemsmith", "~> <%= Gemsmith::Identity::VERSION[/\d+\.\d+/] %>"
- <%- if config.dig(:generate, :guard) -%>
- gem "guard-rspec", "~> 4.7", require: false
- <%- end -%>
gem "rake", "~> 13.0"
end
group :test do
+ <%- if config.dig(:generate, :guard) -%>
+ gem "guard-rspec", "~> 4.7", require: false
+ <%- end -%>
<%- if config.dig(:generate, :rspec) -%>
gem "<%= config.dig(:generate, :engine) ? "rspec-rails" : "rspec" %>", "~> 3.9"
- <%- end -%>
- <%- if config.dig(:generate, :simple_cov) -%>
- gem "simplecov", "~> 0.20"
<%- end -%>
end
group :tools do
<%- if config.dig(:generate, :pry) -%>