Skip to content

Commit

Permalink
Fix rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jan 9, 2018
1 parent e015eed commit 6cec013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/thermite/github_release_binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
3 changes: 1 addition & 2 deletions thermite.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6cec013

Please sign in to comment.