lib/rubocop/cop/rails/application_job.rb in rubocop-rails-2.12.4 vs lib/rubocop/cop/rails/application_job.rb in rubocop-rails-2.13.0

- old
+ new

@@ -1,10 +1,14 @@ # frozen_string_literal: true module RuboCop module Cop module Rails - # This cop checks that jobs subclass ApplicationJob with Rails 5.0. + # This cop checks that jobs subclass `ApplicationJob` with Rails 5.0. + # + # @safety + # This cop's autocorrection is unsafe because it may let the logic from `ApplicationJob` + # sneak into a job that is not purposed to inherit logic common among other jobs. # # @example # # # good # class Rails5Job < ApplicationJob