2019-09-16 00:06:27 +08:00
|
|
|
lib = File.expand_path('lib', __dir__)
|
2013-06-03 02:33:03 +08:00
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
require 'zip/version'
|
|
|
|
|
2015-03-21 04:13:38 +08:00
|
|
|
Gem::Specification.new do |s|
|
2013-06-03 02:33:03 +08:00
|
|
|
s.name = 'rubyzip'
|
|
|
|
s.version = ::Zip::VERSION
|
2015-03-21 16:27:44 +08:00
|
|
|
s.authors = ['Alexander Simonov']
|
|
|
|
s.email = ['alex@simonov.me']
|
2013-08-22 05:39:52 +08:00
|
|
|
s.homepage = 'http://github.com/rubyzip/rubyzip'
|
2013-06-03 02:33:03 +08:00
|
|
|
s.platform = Gem::Platform::RUBY
|
2013-08-22 05:39:52 +08:00
|
|
|
s.summary = 'rubyzip is a ruby module for reading and writing zip files'
|
2017-06-29 10:57:12 +08:00
|
|
|
s.files = Dir.glob('{samples,lib}/**/*.rb') + %w[README.md TODO Rakefile]
|
2013-06-03 02:33:03 +08:00
|
|
|
s.require_paths = ['lib']
|
2020-09-25 15:17:01 +08:00
|
|
|
s.license = 'BSD-2-Clause'
|
2019-09-12 10:56:00 +08:00
|
|
|
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'
|
|
|
|
}
|
2019-09-19 04:47:09 +08:00
|
|
|
s.required_ruby_version = '>= 2.4'
|
2014-07-15 23:02:31 +08:00
|
|
|
s.add_development_dependency 'coveralls', '~> 0.7'
|
2020-02-08 23:12:43 +08:00
|
|
|
s.add_development_dependency 'minitest', '~> 5.4'
|
|
|
|
s.add_development_dependency 'pry', '~> 0.10'
|
2020-03-14 19:09:33 +08:00
|
|
|
s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
|
2020-02-20 23:26:18 +08:00
|
|
|
s.add_development_dependency 'rubocop', '~> 0.80.1'
|
2011-11-26 13:20:02 +08:00
|
|
|
end
|