use Dir globbing more efficiently in gemspec

This commit is contained in:
Ryan Bates 2010-04-05 08:22:02 -07:00
parent 5d4138f0b2
commit f027b2ebb3

View File

@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.summary = "Simple authorization solution for Rails." 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.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.require_path = "lib"
s.rubyforge_project = s.name s.rubyforge_project = s.name