lib/hoe/clean.rb in hoe-3.13.0 vs lib/hoe/clean.rb in hoe-3.13.1

- old
+ new

@@ -13,18 +13,18 @@ ## # Initialize variables for plugin. def initialize_clean - self.clean_globs ||= %w(diff diff.txt TAGS ri deps .source_index - *.gem **/*~ **/.*~ **/*.rbc coverage*) + self.clean_globs ||= %w[diff diff.txt TAGS ri deps .source_index + *.gem **/*~ **/.*~ **/*.rbc coverage*] end ## # Define tasks for plugin. def define_clean_tasks - desc 'Clean up all the extras.' + desc "Clean up all the extras." task :clean => [ :clobber_docs, :clobber_package ] do clean_globs.each do |pattern| files = Dir[pattern] rm_rf files, :verbose => true unless files.empty? end