diff --git a/lib/thermite/github_release_binary.rb b/lib/thermite/github_release_binary.rb index 0314bd9..2ab05e9 100644 --- a/lib/thermite/github_release_binary.rb +++ b/lib/thermite/github_release_binary.rb @@ -54,7 +54,10 @@ def download_binary_from_github_release def download_cargo_version_from_github_release version = config.crate_version + # TODO: Change this to a named token and increment the 0.minor version + # rubocop:disable Style/FormatStringToken tag = options.fetch(:git_tag_format, 'v%s') % version + # rubocop:enable Style/FormatStringToken uri = github_download_uri(tag, version) return false unless (tgz = download_versioned_github_release_binary(uri, version)) diff --git a/thermite.gemspec b/thermite.gemspec index 8c4427c..c93d545 100644 --- a/thermite.gemspec +++ b/thermite.gemspec @@ -14,8 +14,7 @@ Gem::Specification.new do |s| s.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR) s.require_paths = %w[lib] - # Mostly due to tomlrb - s.required_ruby_version = '>= 2.0.0' + s.required_ruby_version = '>= 2.1.0' s.add_runtime_dependency 'minitar', '~> 0.6' s.add_runtime_dependency 'rake', '>= 10'