Minor gemspec formatting changes for space/readability.
This commit is contained in:
parent
1fb74bd82f
commit
81d95ad0a3
|
@ -48,9 +48,10 @@ Metrics/AbcSize:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'test/**/*.rb'
|
- 'test/**/*.rb'
|
||||||
|
|
||||||
# Turn block length metrics off for the tests.
|
# Turn block length metrics off for the tests and gemspec.
|
||||||
Metrics/BlockLength:
|
Metrics/BlockLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
- 'rubyzip.gemspec'
|
||||||
- 'test/**/*.rb'
|
- 'test/**/*.rb'
|
||||||
|
|
||||||
# Turn class length metrics off for the tests.
|
# Turn class length metrics off for the tests.
|
||||||
|
|
|
@ -3,24 +3,27 @@
|
||||||
require_relative 'lib/zip/version'
|
require_relative 'lib/zip/version'
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = 'rubyzip'
|
s.name = 'rubyzip'
|
||||||
s.version = ::Zip::VERSION
|
s.version = ::Zip::VERSION
|
||||||
s.authors = ['Alexander Simonov']
|
s.authors = ['Alexander Simonov']
|
||||||
s.email = ['alex@simonov.me']
|
s.email = ['alex@simonov.me']
|
||||||
s.homepage = 'http://github.com/rubyzip/rubyzip'
|
s.homepage = 'http://github.com/rubyzip/rubyzip'
|
||||||
s.platform = Gem::Platform::RUBY
|
s.platform = Gem::Platform::RUBY
|
||||||
s.summary = 'rubyzip is a ruby module for reading and writing zip files'
|
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.files = Dir.glob('{samples,lib}/**/*.rb') + %w[README.md TODO Rakefile]
|
||||||
s.require_paths = ['lib']
|
s.require_paths = ['lib']
|
||||||
s.license = 'BSD-2-Clause'
|
s.license = 'BSD-2-Clause'
|
||||||
s.metadata = {
|
|
||||||
|
s.metadata = {
|
||||||
'bug_tracker_uri' => 'https://github.com/rubyzip/rubyzip/issues',
|
'bug_tracker_uri' => 'https://github.com/rubyzip/rubyzip/issues',
|
||||||
'changelog_uri' => "https://github.com/rubyzip/rubyzip/blob/v#{s.version}/Changelog.md",
|
'changelog_uri' => "https://github.com/rubyzip/rubyzip/blob/v#{s.version}/Changelog.md",
|
||||||
'documentation_uri' => "https://www.rubydoc.info/gems/rubyzip/#{s.version}",
|
'documentation_uri' => "https://www.rubydoc.info/gems/rubyzip/#{s.version}",
|
||||||
'source_code_uri' => "https://github.com/rubyzip/rubyzip/tree/v#{s.version}",
|
'source_code_uri' => "https://github.com/rubyzip/rubyzip/tree/v#{s.version}",
|
||||||
'wiki_uri' => 'https://github.com/rubyzip/rubyzip/wiki'
|
'wiki_uri' => 'https://github.com/rubyzip/rubyzip/wiki'
|
||||||
}
|
}
|
||||||
|
|
||||||
s.required_ruby_version = '>= 2.4'
|
s.required_ruby_version = '>= 2.4'
|
||||||
|
|
||||||
s.add_development_dependency 'minitest', '~> 5.4'
|
s.add_development_dependency 'minitest', '~> 5.4'
|
||||||
s.add_development_dependency 'rake', '~> 12.3.3'
|
s.add_development_dependency 'rake', '~> 12.3.3'
|
||||||
s.add_development_dependency 'rubocop', '~> 1.12.0'
|
s.add_development_dependency 'rubocop', '~> 1.12.0'
|
||||||
|
|
Loading…
Reference in New Issue