Sha256: 8d542d01e1b2d3eb8ac3a5f3ed985ba430469ff1fc813fa6b85ed0f7628bcaa8

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

source "https://rubygems.org"

gemspec

group :code_quality do
  <%- if config.dig(:generate, :bundler_audit) -%>
  gem "bundler-audit", "~> 0.7"
  <%- end -%>
  <%- if config.dig(:generate, :git_lint) -%>
  gem "git-lint", "~> 2.0"
  <%- end -%>
  <%- if config.dig(:generate, :reek) -%>
  gem "reek", "~> 6.0"
  <%- end -%>
  <%- if config.dig(:generate, :rubocop) -%>
  gem "rubocop", "~> 1.8"
  gem "rubocop-performance", "~> 1.8"
  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+/] %>"
  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 -%>
end

group :tools do
  <%- if config.dig(:generate, :pry) -%>
  gem "pry", "~> 0.13"
  gem "pry-byebug", "~> 3.9"
  <%- end -%>
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-15.2.0 lib/gemsmith/templates/%gem_name%/Gemfile.tt