Sha256: 40a989236c15f099f7d10326050d7c1e81d971ae397172ce2f1c8f4068641a9f

Contents?: true

Size: 523 Bytes

Versions: 8

Compression:

Stored size: 523 Bytes

Contents

# frozen_string_literal: true

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

8 entries across 8 versions & 1 rubygems

Version Path
rapporteur-3.8.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.7.2 lib/rapporteur/checker_deprecations.rb
rapporteur-3.7.1 lib/rapporteur/checker_deprecations.rb
rapporteur-3.7.0 lib/rapporteur/checker_deprecations.rb
rapporteur-3.6.4 lib/rapporteur/checker_deprecations.rb
rapporteur-3.6.3 lib/rapporteur/checker_deprecations.rb
rapporteur-3.6.2 lib/rapporteur/checker_deprecations.rb
rapporteur-3.6.1 lib/rapporteur/checker_deprecations.rb