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

@ -3,24 +3,27 @@
require_relative 'lib/zip/version'
Gem::Specification.new do |s|
s.name = 'rubyzip'
s.version = ::Zip::VERSION
s.authors = ['Alexander Simonov']
s.email = ['alex@simonov.me']
s.homepage = 'http://github.com/rubyzip/rubyzip'
s.platform = Gem::Platform::RUBY
s.summary = 'rubyzip is a ruby module for reading and writing zip files'
s.files = Dir.glob('{samples,lib}/**/*.rb') + %w[README.md TODO Rakefile]
s.require_paths = ['lib']
s.license = 'BSD-2-Clause'
s.metadata = {
s.name = 'rubyzip'
s.version = ::Zip::VERSION
s.authors = ['Alexander Simonov']
s.email = ['alex@simonov.me']
s.homepage = 'http://github.com/rubyzip/rubyzip'
s.platform = Gem::Platform::RUBY
s.summary = 'rubyzip is a ruby module for reading and writing zip files'
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",
'documentation_uri' => "https://www.rubydoc.info/gems/rubyzip/#{s.version}",
'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'