lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-12.4.0 vs lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-13.0.0
- old
+ new
@@ -25,22 +25,19 @@
spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d+\.\d+/] %>"
<%- if config.dig(:generate, :engine) -%>
spec.add_dependency "rails", "~> <%= config.dig(:versions, :rails) %>"
<%- end -%>
<%- if config.dig(:generate, :cli) -%>
- spec.add_dependency "runcom", "~> 3.1"
+ spec.add_dependency "runcom", "~> 4.0"
spec.add_dependency "thor", "~> 0.20"
<%- 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", "~> 2.2"
+ spec.add_development_dependency "git-cop", "~> 3.0"
<%- end -%>
<%- if config.dig(:generate, :guard) -%>
spec.add_development_dependency "guard-rspec", "~> 4.7"
<%- end -%>
<%- if config.dig(:generate, :pry) -%>
@@ -53,13 +50,16 @@
<%- end -%>
<%- if config.dig(:generate, :rspec) -%>
spec.add_development_dependency "<%= config.dig(:generate, :engine) ? "rspec-rails" : "rspec" %>", "~> 3.8"
<%- end -%>
<%- if config.dig(:generate, :rubocop) -%>
- spec.add_development_dependency "rubocop", "~> 0.60"
+ spec.add_development_dependency "rubocop", "~> 0.62"
<%- end -%>
<%- if config.dig(:generate, :rubocop) && config.dig(:generate, :rspec) -%>
spec.add_development_dependency "rubocop-rspec", "~> 1.30"
+ <%- end -%>
+ <%- if config.dig(:generate, :code_climate) -%>
+ spec.add_development_dependency "simplecov", "~> 0.13"
<%- end -%>
<%- if config.dig(:generate, :engine) -%>
spec.files = Dir["app/**/*", "bin/**/*", "config/**/*", "lib/**/*", "vendor/**/*"]
<%- else -%>