From 955fa6151aabfbe0626c84005cb0cad27da3e5c3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 9 Sep 2007 17:55:26 +0000 Subject: The examples are outdated and misleading git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/Rakefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 5c2869f06f..2f6bba80fe 100755 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -59,7 +59,7 @@ Rake::RDocTask.new { |rdoc| } # Create compressed packages -dist_dirs = [ "lib", "test", "examples" ] +dist_dirs = [ "lib", "test" ] spec = Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY @@ -81,12 +81,10 @@ spec = Gem::Specification.new do |s| s.require_path = 'lib' s.autorequire = 'action_controller' - s.files = [ "Rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG", "MIT-LICENSE", "examples/.htaccess" ] + s.files = [ "Rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG", "MIT-LICENSE" ] dist_dirs.each do |dir| s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) } end - s.files.delete "examples/benchmark.rb" - s.files.delete "examples/benchmark_with_ar.fcgi" end Rake::GemPackageTask.new(spec) do |p| -- cgit v1.2.3