Sha256: c07a9dc25e2b8cd55d2d689afaf129026a358b847d303ac487f8fa90e2cd681a

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 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_checks
    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.1 lib/rapporteur/checker_deprecations.rb