Minor gemspec formatting changes for space/readability.

This commit is contained in:
Robert Haines 2021-06-27 11:18:24 +01:00
parent 1fb74bd82f
commit 81d95ad0a3
2 changed files with 16 additions and 12 deletions

View File

@ -48,9 +48,10 @@ Metrics/AbcSize:
Exclude:
- 'test/**/*.rb'
# Turn block length metrics off for the tests.
# Turn block length metrics off for the tests and gemspec.
Metrics/BlockLength:
Exclude:
- 'rubyzip.gemspec'
- 'test/**/*.rb'
# Turn class length metrics off for the tests.

View File

@ -13,6 +13,7 @@ Gem::Specification.new do |s|
s.files = Dir.glob('{samples,lib}/**/*.rb') + %w[README.md TODO Rakefile]
s.require_paths = ['lib']
s.license = 'BSD-2-Clause'
s.metadata = {
'bug_tracker_uri' => 'https://github.com/rubyzip/rubyzip/issues',
'changelog_uri' => "https://github.com/rubyzip/rubyzip/blob/v#{s.version}/Changelog.md",
@ -20,7 +21,9 @@ Gem::Specification.new do |s|
'source_code_uri' => "https://github.com/rubyzip/rubyzip/tree/v#{s.version}",
'wiki_uri' => 'https://github.com/rubyzip/rubyzip/wiki'
}
s.required_ruby_version = '>= 2.4'
s.add_development_dependency 'minitest', '~> 5.4'
s.add_development_dependency 'rake', '~> 12.3.3'
s.add_development_dependency 'rubocop', '~> 1.12.0'