goliath.gemspec in goliath-1.0.0 vs goliath.gemspec in goliath-1.0.1

- old
+ new

@@ -55,10 +55,10 @@ if RUBY_PLATFORM.include?('darwin') s.add_development_dependency 'growl', '~> 1.0.3' s.add_development_dependency 'rb-fsevent' end - ignores = File.readlines(".gitignore").grep(/\S+/).map {|i| i.chomp } + ignores = File.readlines(".gitignore").grep(/\S+/).map {|i| i.chomp }.map {|i| File.directory?(i) ? i.sub(/\/?$/, '/*') : i } dotfiles = [".gemtest", ".gitignore", ".rspec", ".yardopts"] s.files = Dir["**/*"].reject {|f| File.directory?(f) || ignores.any? {|i| File.fnmatch(i, f) } } + dotfiles s.test_files = s.files.grep(/^spec\//) s.require_paths = ['lib']