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.
|
||||||
|
|
|
@ -13,6 +13,7 @@ Gem::Specification.new do |s|
|
||||||
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",
|
||||||
|
@ -20,7 +21,9 @@ Gem::Specification.new do |s|
|
||||||
'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