pio.gemspec in pio-0.3.0 vs pio.gemspec in pio-0.4.0

- old
+ new

@@ -1,10 +1,12 @@ +# encoding: utf-8 + lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'pio/version' -Gem::Specification.new do | gem | +Gem::Specification.new do |gem| gem.name = 'pio' gem.version = Pio::VERSION gem.summary = 'Packet parser and generator.' gem.description = 'Pure ruby packet parser and generator.' @@ -12,20 +14,20 @@ gem.authors = ['Yasuhito Takamiya'] gem.email = ['yasuhito@gmail.com'] gem.homepage = 'http://github.com/trema/pio' - gem.files = `git ls-files`.split("\n") + gem.files = %w(CONTRIBUTING.md LICENSE Rakefile pio.gemspec) + gem.files += Dir.glob('lib/**/*.rb') + gem.files += Dir.glob('bin/**/*') + gem.files += Dir.glob('spec/**/*') + gem.files += Dir.glob('examples/**/*') gem.require_paths = ['lib'] gem.extra_rdoc_files = ['README.md'] - gem.test_files = `git ls-files -- {spec,features}/*`.split("\n") + gem.test_files = Dir.glob('spec/**/*') - gem.add_dependency 'bindata', '~> 1.6.0' + gem.required_ruby_version = '>= 1.9.3' + gem.add_dependency 'bindata', '~> 2.0.0' + gem.add_development_dependency 'bundler', '~> 1.6.0' end - -### Local variables: -### mode: Ruby -### coding: utf-8-unix -### indent-tabs-mode: nil -### End: