lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-9.6.0 vs lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt in gemsmith-10.0.0

- old
+ new

@@ -16,21 +16,20 @@ spec.signing_key = Gem.default_key_path spec.cert_chain = [Gem.default_cert_path] end <%- end -%> - spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d{1}\.\d{1}/] %>" + spec.required_ruby_version = "~> <%= config.dig(:versions, :ruby)[/\d+\.\d+/] %>" <%- if config.dig(:generate, :cli) -%> spec.add_dependency "thor", "~> 0.19" - spec.add_dependency "thor_plus", "~> 5.1" - spec.add_dependency "runcom", "~> 0.6" + spec.add_dependency "runcom", "~> 1.1" <%- 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{1}\.\d{1}/] %>" + 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.4" spec.add_development_dependency "pry-state", "~> 0.1" <%- end -%> @@ -38,11 +37,14 @@ 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, :git_cop) -%> + spec.add_development_dependency "git-cop", "~> 1.0" + <%- end -%> <%- if config.dig(:generate, :reek) -%> - spec.add_development_dependency "reek", "~> 4.6" + spec.add_development_dependency "reek", "~> 4.7" <%- end -%> <%- if config.dig(:generate, :rubocop) -%> spec.add_development_dependency "rubocop", "~> 0.49" <%- end -%> <%- if config.dig(:generate, :scss_lint) -%>