lib/build/files/directory.rb in build-files-1.2.0 vs lib/build/files/directory.rb in build-files-1.3.0

- old
+ new

@@ -40,10 +40,11 @@ end def each return to_enum(:each) unless block_given? - Dir.glob(@root + "**/*") do |path| + # We match both normal files with * and dotfiles with .?* + Dir.glob(@root + "**/{*,.?*}") do |path| yield Path.new(path, @root) end end def eql?(other)