lib/jets/core.rb in jets-1.6.0 vs lib/jets/core.rb in jets-1.6.1

- old
+ new

@@ -95,11 +95,12 @@ path =~ %r{/rackup_wrappers} || path =~ %r{/reconfigure_rails} || path =~ %r{/templates/} || path =~ %r{/turbo/project/} || path =~ %r{/version} || - path =~ %r{/webpacker} + path =~ %r{/webpacker} || + path =~ %r{/jets/spec} end def class_mappings(class_name) map = { "Jets::Io" => "Jets::IO", @@ -157,10 +158,10 @@ return true if ENV['JETS_POLY_ONLY'] # bypass to allow rapid development of handlers Jets::Commands::Build.poly_only? end def report_exception(exception) - puts "DEPRECATED: report_exception. Use on_exception instead.".colorize(:yellow) + puts "DEPRECATED: report_exception. Use on_exception instead.".color(:yellow) on_exception(exception) end def on_exception(exception) Jets::Turbine.subclasses.each do |subclass|