rubyzip/rubyzip.gemspec

20 lines
716 B
Ruby
Raw Normal View History

2010-09-24 21:17:52 +08:00
PKG_VERSION = File.read('lib/zip/zip.rb').match(/\s+VERSION\s*=\s*'(.*)'/)[1]
spec = Gem::Specification.new do |s|
s.name = 'rubyzip'
s.version = PKG_VERSION
s.author = "Alan Harper"
s.email = "alan@aussiegeek.net"
s.homepage = "http://github.com/aussiegeek/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 NEWS TODO Rakefile }
2010-11-30 21:11:30 +08:00
s.licenses = ["MIT"]
s.test_files = Dir.glob("spec/**/*.rb")
2010-09-24 21:17:52 +08:00
s.require_path = 'lib'
s.required_ruby_version = '>= 1.8.6'
2010-11-30 21:11:30 +08:00
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
s.add_development_dependency(%q<rspec>, ["~> 2.2.0"])
end