Sha256: 7a820bb35f0eacd8f02368121a1de4fb2941f071e2c0dd86d0bb52fb032c44dd

Contents?: true

Size: 492 Bytes

Versions: 11

Compression:

Stored size: 492 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_checks", caller)
      Rapporteur.clear_checks
    end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rapporteur-3.6.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.5.1 lib/rapporteur/checker_deprecations.rb
rapporteur-3.5.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.4.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.3.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.2.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.1.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.0.2 lib/rapporteur/checker_deprecations.rb
rapporteur-3.0.1 lib/rapporteur/checker_deprecations.rb
rapporteur-3.0.0 lib/rapporteur/checker_deprecations.rb
rapporteur-2.1.0 lib/rapporteur/checker_deprecations.rb