Sha256: a8002b291e106b62913e99ed3e1843c853a49fe276bbea0c2f55c49c34e9f05b

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

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

source "https://rubygems.org"

<% if configuration.build_refinements %>
  gem "refinements", "~> 9.1"
<% 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.1"
  <% end %>
  <% if configuration.build_rubocop %>
    gem "rubocop", "~> 1.25"
    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_yard && configuration.ascii_doc? %>
    gem "asciidoctor", "~> 2.0"
  <% end %>
  <% if configuration.build_rake %>
    gem "rake", "~> 13.0"
  <% end %>
  <% if configuration.markdown? %>
    gem "tocer", "~> 13.0"
  <% end %>
  <% if configuration.build_yard %>
    gem "yard", "~> 0.9"
  <% 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

2 entries across 2 versions & 1 rubygems

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