lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-10.4.0 vs lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-10.4.1
- old
+ new
@@ -17,45 +17,45 @@
spec.cert_chain = [Gem.default_cert_path]
end
<%- end -%>
spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d+\.\d+/] %>"
- <%- if config.dig(:generate, :cli) -%>
- spec.add_dependency "thor", "~> 0.20"
- spec.add_dependency "runcom", "~> 1.3"
- <%- end -%>
<%- if config.dig(:generate, :rails) -%>
spec.add_dependency "rails", "~> <%= config.dig(:versions, :rails) %>"
<%- end -%>
- spec.add_development_dependency "rake", "~> 12.0"
- spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity.version[/\d+\.\d+/] %>"
- <%- if config.dig(:generate, :pry) -%>
- spec.add_development_dependency "pry", "~> 0.10"
- spec.add_development_dependency "pry-byebug", "~> 3.5"
+ <%- if config.dig(:generate, :cli) -%>
+ spec.add_dependency "runcom", "~> 1.3"
+ spec.add_dependency "thor", "~> 0.20"
<%- end -%>
- <%- if config.dig(:generate, :rspec) -%>
- spec.add_development_dependency "<%= config.dig(:generate, :rails) ? "rspec-rails" : "rspec" %>", "~> 3.6"
- <%- end -%>
- <%- if config.dig(:generate, :guard) -%>
- spec.add_development_dependency "guard-rspec", "~> 4.7"
- <%- end -%>
<%- if config.dig(:generate, :bundler_audit) -%>
spec.add_development_dependency "bundler-audit", "~> 0.6"
<%- end -%>
+ <%- if config.dig(:generate, :code_climate) -%>
+ spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0"
+ <%- end -%>
+ spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity.version[/\d+\.\d+/] %>"
<%- if config.dig(:generate, :git_cop) -%>
spec.add_development_dependency "git-cop", "~> 1.6"
<%- end -%>
+ <%- if config.dig(:generate, :guard) -%>
+ spec.add_development_dependency "guard-rspec", "~> 4.7"
+ <%- end -%>
+ <%- if config.dig(:generate, :pry) -%>
+ spec.add_development_dependency "pry", "~> 0.10"
+ spec.add_development_dependency "pry-byebug", "~> 3.5"
+ <%- end -%>
+ spec.add_development_dependency "rake", "~> 12.0"
<%- if config.dig(:generate, :reek) -%>
spec.add_development_dependency "reek", "~> 4.7"
<%- end -%>
+ <%- if config.dig(:generate, :rspec) -%>
+ spec.add_development_dependency "<%= config.dig(:generate, :rails) ? "rspec-rails" : "rspec" %>", "~> 3.7"
+ <%- end -%>
<%- if config.dig(:generate, :rubocop) -%>
- spec.add_development_dependency "rubocop", "~> 0.50"
+ spec.add_development_dependency "rubocop", "~> 0.51"
<%- end -%>
<%- if config.dig(:generate, :scss_lint) -%>
spec.add_development_dependency "scss_lint", "~> 0.50"
- <%- end -%>
- <%- if config.dig(:generate, :code_climate) -%>
- spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0"
<%- end -%>
<%- if config.dig(:generate, :rails) -%>
spec.files = Dir["app/**/*", "bin/**/*", "config/**/*", "lib/**/*", "vendor/**/*"]
<%- else -%>