lib/avm/files/formatter.rb in avm-tools-0.36.0 vs lib/avm/files/formatter.rb in avm-tools-0.37.0
- old
+ new
@@ -9,11 +9,11 @@
require_sub __FILE__
enable_simple_cache
enable_console_speaker
common_constructor :source_paths, :options
- FORMATS = %w[generic_plain].freeze
+ FORMATS = %w[php generic_plain].freeze
def run
clear
search_files
apply
@@ -75,10 +75,10 @@
end
def show_results
changed = @result.select(&:changed)
changed.each do |h|
- out h.file.t_s.cyan
+ out h.file.to_s.cyan
out " (#{h.format})".yellow
puts ' changed'.green
end
infov('Files changed', "#{changed.count}/#{@result.count}")
end