lib/generators/cucumber/templates/Rakefile in singem-0.0.5 vs lib/generators/cucumber/templates/Rakefile in singem-0.0.6

- old
+ new

@@ -1,6 +1,5 @@ -require File.expand_path(File.join(File.dirname(__FILE__), 'vendor', 'gems', 'environment')) require 'rake/gempackagetask' require 'rubygems/specification' require 'date' require 'bundler' @@ -49,10 +48,9 @@ next if d.only && d.only.include?('test') s.add_dependency(d.name, d.version) end s.require_path = 'lib' - s.autorequire = GEM s.files = %w(LICENSE README.md Rakefile TODO) + Dir.glob("{lib,features}/**/*") end Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec