lib/guard/dsl_describer.rb in guard-0.10.0 vs lib/guard/dsl_describer.rb in guard-1.0.0
- old
+ new
@@ -46,10 +46,10 @@
#
def list(options)
evaluate_guardfile(options)
installed_guards = guardfile_structure.inject([]) do |installed, group|
- group[:guards].each { |guard| installed << guard[:name] } if group[:guards]
+ group[:guards].each { |guard| installed << guard[:name].to_s } if group[:guards]
installed
end
UI.info 'Available guards:'