lib/guard/ui.rb in guard-2.12.4 vs lib/guard/ui.rb in guard-2.12.5

- old
+ new

@@ -159,11 +159,11 @@ # @param [String] action the action to show # @param [Hash] scope hash with a guard or a group scope # def action_with_scopes(action, scope) titles = Guard.state.scope.titles(scope) - info "#{action} #{titles.join(", ")}" + info "#{action} #{titles.join(', ')}" end private # Filters log messages depending on either the @@ -172,10 +172,10 @@ # @param [String] plugin the calling plugin name # @yield When the message should be logged # @yieldparam [String] param the calling plugin name # def _filter(plugin) - only = options[:only] + only = options[:only] except = options[:except] plugin ||= calling_plugin_name match = !(only || except) match ||= (only && only.match(plugin))