From ef644ba119c001dcb774f378d4576560c83ccc3c Mon Sep 17 00:00:00 2001 From: Piet Jaspers Date: Fri, 5 Jul 2013 15:15:53 +0200 Subject: [PATCH] Excluding test.log from test_files Since the test.log generated by the dummy_app isn't necessary to run the tests (and in `0.4.9` and `0.5.0` it makes the gem a whopping 60MB big), excluding it form the list of test files. --- rails_admin.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails_admin.gemspec b/rails_admin.gemspec index 8170ab06be..0bb05a7bf1 100644 --- a/rails_admin.gemspec +++ b/rails_admin.gemspec @@ -32,6 +32,6 @@ Gem::Specification.new do |spec| spec.required_rubygems_version = '>= 1.3.5' spec.signing_key = File.expand_path("~/.gem/private_key.pem") if $0 =~ /gem\z/ spec.summary = %q{Admin for Rails} - spec.test_files = Dir['spec/**/*'] + spec.test_files = Dir['spec/**/*'].reject {|f| f.end_with? "log"} spec.version = RailsAdmin::Version end