trema.gemspec in trema-0.3.9 vs trema.gemspec in trema-0.3.10

- old
+ new

@@ -1,34 +1,35 @@ $:.push File.expand_path( "../ruby", __FILE__ ) require "trema/version" -Gem::Specification.new do | s | - s.name = "trema" - s.version = Trema::VERSION - s.authors = [ "Yasuhito Takamiya" ] - s.email = [ "yasuhito@gmail.com" ] - s.homepage = "http://github.com/trema/trema" - s.summary = %q{Full-Stack OpenFlow Framework for Ruby and C} - s.description = %q{Trema is a full-stack, easy-to-use framework for developing OpenFlow controllers in Ruby and C} - s.license = "GPL2" +Gem::Specification.new do | gem | + gem.name = "trema" + gem.version = Trema::VERSION + gem.authors = [ "Yasuhito Takamiya" ] + gem.email = [ "yasuhito@gmail.com" ] + gem.homepage = "http://github.com/trema/trema" + gem.summary = %q{Full-Stack OpenFlow Framework for Ruby and C} + gem.description = %q{Trema is a full-stack, easy-to-use framework for developing OpenFlow controllers in Ruby and C} + gem.license = "GPL2" + gem.required_ruby_version = "~> 1.8.7" - s.files = `git ls-files`.split( "\n" ) - s.test_files = `git ls-files -- {spec,features}/*`.split( "\n" ) - s.bindir = "." - s.executables = [ "trema", "trema-config" ] - s.require_path = "ruby" - s.extensions = [ "Rakefile" ] - s.extra_rdoc_files = [ "README.md" ] + gem.files = `git ls-files`.split( "\n" ) + gem.test_files = `git ls-files -- {spec,features}/*`.split( "\n" ) + gem.bindir = "." + gem.executables = [ "trema", "trema-config" ] + gem.require_path = "ruby" + gem.extensions = [ "Rakefile" ] + gem.extra_rdoc_files = [ "README.md" ] # specify any dependencies here; for example: - # s.add_development_dependency "rspec" - s.add_runtime_dependency "rake" - s.add_runtime_dependency "gli", "~> 2.5.4" - s.add_runtime_dependency "rdoc", "~> 3.12" + # gem.add_development_dependency "rspec" + gem.add_runtime_dependency "rake" + gem.add_runtime_dependency "gli", "~> 2.5.4" + gem.add_runtime_dependency "rdoc", "~> 3.12" - s.add_development_dependency "rake" - s.add_development_dependency "rdoc" - s.add_development_dependency "aruba" + gem.add_development_dependency "rake" + gem.add_development_dependency "rdoc" + gem.add_development_dependency "aruba" end ### Local variables: ### mode: Ruby