2020-06-19 06:44:18 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-11-02 19:07:56 -04:00
|
|
|
source "https://rubygems.org"
|
|
|
|
|
|
|
|
# Specify your gem's dependencies in <%= config[:name] %>.gemspec
|
|
|
|
gemspec
|
2019-06-26 10:35:49 -04:00
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
gem "rake", "~> 13.0"
|
2019-06-26 10:35:49 -04:00
|
|
|
<%- if config[:ext] -%>
|
2020-06-30 05:12:59 -04:00
|
|
|
|
2019-06-26 10:35:49 -04:00
|
|
|
gem "rake-compiler"
|
|
|
|
<%- end -%>
|
|
|
|
<%- if config[:test] -%>
|
2020-06-30 05:12:59 -04:00
|
|
|
|
2019-06-26 10:35:49 -04:00
|
|
|
gem "<%= config[:test] %>", "~> <%= config[:test_framework_version] %>"
|
|
|
|
<%- end -%>
|
2021-04-14 23:47:04 -04:00
|
|
|
<%- if config[:linter] == "rubocop" -%>
|
2020-06-30 05:12:59 -04:00
|
|
|
|
2021-04-14 23:47:04 -04:00
|
|
|
gem "rubocop", "~> <%= config[:linter_version] %>"
|
|
|
|
<%- elsif config[:linter] == "standard" -%>
|
|
|
|
|
|
|
|
gem "standard", "~> <%= config[:linter_version] %>"
|
2020-05-08 01:19:04 -04:00
|
|
|
<%- end -%>
|