Sha256: 6012059d8291c25a5581489e42885206ab38139f6ef35db26f34d829d875c3c0

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

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

source "https://rubygems.org"

<% unless configuration.build_minimum %>
  <% if configuration.build_refinements %>
    gem "refinements", "~> 8.0"
  <% end %>

  group :code_quality do
    <% if configuration.build_bundler_leak %>
      gem "bundler-leak", "~> 0.2"
    <% end %>
    <% if configuration.build_git && configuration.build_git_lint %>
      gem "git-lint", "~> 2.0"
    <% end %>
    <% if configuration.build_reek %>
      gem "reek", "~> 6.0"
    <% end %>
    <% if configuration.build_rubocop %>
      gem "rubocop", "~> 1.14"
      gem "rubocop-performance", "~> 1.9"
      gem "rubocop-rake", "~> 0.5"
    <% end %>
    <% if configuration.build_rspec && configuration.build_rubocop %>
      gem "rubocop-rspec", "~> 2.0"
    <% end %>
    <% if configuration.build_ruby_critic %>
      gem "rubycritic", "~> 4.5", require: false
    <% end %>
    <% if configuration.build_simple_cov %>
      gem "simplecov", "~> 0.20"
    <% end %>
  end

  group :development do
    gem "rake", "~> 13.0"
  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.2"
    <% end %>
    <% if configuration.build_pry %>
      gem "pry", "~> 0.13"
      gem "pry-byebug", "~> 3.9"
    <% end %>
  end
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

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