From f027b2ebb3cc200d67e011d2ce1401ebf0d98c6c Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Mon, 5 Apr 2010 08:22:02 -0700 Subject: [PATCH] use Dir globbing more efficiently in gemspec --- cancan.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cancan.gemspec b/cancan.gemspec index 6a680c1..305f70b 100644 --- a/cancan.gemspec +++ b/cancan.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.summary = "Simple authorization solution for Rails." s.description = "Simple authorization solution for Rails which is completely decoupled from the user's roles. All permissions are stored in a single location for convenience." - s.files = Dir["{lib,spec}/**/*"] + Dir["[A-Z]*"] + ["init.rb"] + s.files = Dir["{lib,spec}/**/*", "[A-Z]*", "init.rb"] s.require_path = "lib" s.rubyforge_project = s.name