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