Permalink
Browse files

Make sure we only select .rb files from the lib_files

  • Loading branch information...
1 parent 9b95b7d commit b3ca6de9e7f20d057bd0c52c9a3965160a35b5b7 @ferrous26 committed Jun 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubygems-compile/compiler.rb
@@ -47,7 +47,7 @@ def compilation_message
#
def gem_files
- @spec.lib_files
+ @spec.lib_files.select { |file| File.extname(file) == '.rb' }
# files = @spec.files - @spec.test_files - @spec.extra_rdoc_files
# files.reject { |file| file.match /^(?:test|spec)/ }
# .select { |file| file.match /\.rb$/ }

0 comments on commit b3ca6de

Please sign in to comment.