Rakefile in treetop-1.2.4 vs Rakefile in treetop-1.2.5

- old
+ new

@@ -11,25 +11,10 @@ Spec::Rake::SpecTask.new do |t| t.pattern = 'spec/**/*spec.rb' end -gemspec = Gem::Specification.new do |s| - s.name = "treetop" - s.version = "1.2.4" - s.author = "Nathan Sobo" - s.email = "nathansobo@gmail.com" - s.homepage = "http://functionalform.blogspot.com" - s.platform = Gem::Platform::RUBY - s.summary = "A Ruby-based text parsing and interpretation DSL" - s.files = FileList["README", "Rakefile", "{test,lib,bin,doc,examples}/**/*"].to_a - s.bindir = "bin" - s.executables = ["tt"] - s.require_path = "lib" - s.autorequire = "treetop" - s.has_rdoc = false - s.add_dependency "polyglot" -end +load "./treetop.gemspec" -Rake::GemPackageTask.new(gemspec) do |pkg| +Rake::GemPackageTask.new($gemspec) do |pkg| pkg.need_tar = true end