Sha256: 70c74f0077808d86e6b5bf0427aaef960abd4f32d268a3ba34fc286fe87c1625

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

ruby File.read(".ruby-version").strip

source "https://rubygems.org"

<% if configuration.build_refinements %>
  gem "refinements", "~> 9.0"
<% end %>
<% if configuration.build_zeitwerk %>
  gem "zeitwerk", "~> 2.5"
<% end %>

group :code_quality do
  <% if configuration.build_bundler_leak %>
    gem "bundler-leak", "~> 0.2"
  <% end %>
  <% if configuration.build_dead_end %>
    gem "dead_end", "~> 3.0"
  <% end %>
  <% if configuration.build_git && configuration.build_git_lint %>
    gem "git-lint", "~> 3.0"
  <% end %>
  <% if configuration.build_reek %>
    gem "reek", "~> 6.0"
  <% end %>
  <% if configuration.build_rubocop %>
    gem "rubocop", "~> 1.24"
    gem "rubocop-performance", "~> 1.12"
    gem "rubocop-rake", "~> 0.6"
  <% end %>
  <% if configuration.build_rspec && configuration.build_rubocop %>
    gem "rubocop-rspec", "~> 2.6"
  <% end %>
  <% if configuration.build_simple_cov %>
    gem "simplecov", "~> 0.21"
  <% end %>
end

group :development do
  <% if configuration.build_rake %>
    gem "rake", "~> 13.0"
  <% end %>
  <% if configuration.markdown? %>
    gem "tocer", "~> 13.0"
  <% end %>
end

group :test do
  <% if configuration.build_guard %>
    gem "guard-rspec", "~> 4.7", require: false
  <% end %>
  <% if configuration.build_rspec %>
    gem "rspec", "~> 3.10"
  <% end %>
end

group :tools do
  <% if configuration.build_amazing_print %>
    gem "amazing_print", "~> 1.4"
  <% end %>
  <% if configuration.build_debug %>
    gem "debug", "~> 1.4"
  <% end %>
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubysmith-1.0.0 lib/rubysmith/templates/%project_name%/Gemfile.erb