Sha256: c58fa599d405aa8c9688a595b512e9a8eacde3ef17f4fc02af363973199e18c0

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

require 'active_support/deprecation'

module Rapporteur
  module CheckerDeprecations
    def add_check(*args, &block)
      ActiveSupport::Deprecation.warn("use Rapporteur.add_check", caller)
      Rapporteur.add_check(*args, &block)
    end

    def clear
      ActiveSupport::Deprecation.warn("use Rapporteur.clear", caller)
      Rapporteur.clear
    end

    def run
      ActiveSupport::Deprecation.warn("use Rapporteur.run", caller)
      Rapporteur.run
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapporteur-2.0.0 lib/rapporteur/checker_deprecations.rb