Sha256: cec04dca05512345c57c9b7572d1ddb672dfbef2b0e4f4b6b0180e3801deeb6e

Contents?: true

Size: 354 Bytes

Versions: 20

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

require "active_support/deprecation"

module Skylight
  SKYLIGHT_GEM_ROOT = "#{File.expand_path("../..", __dir__)}/"

  class Deprecation < ActiveSupport::Deprecation
    private

    def ignored_callstack(path)
      path.start_with?(SKYLIGHT_GEM_ROOT)
    end
  end

  DEPRECATOR = Deprecation.new("6.0", "skylight")
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
skylight-6.1.0.beta lib/skylight/deprecation.rb
skylight-6.0.4 lib/skylight/deprecation.rb
skylight-6.0.3 lib/skylight/deprecation.rb
skylight-5.3.5 lib/skylight/deprecation.rb
skylight-6.0.2 lib/skylight/deprecation.rb
skylight-6.0.1 lib/skylight/deprecation.rb
skylight-6.0.0 lib/skylight/deprecation.rb
skylight-6.0.0.beta2 lib/skylight/deprecation.rb
skylight-6.0.0.beta lib/skylight/deprecation.rb
skylight-5.3.4 lib/skylight/deprecation.rb
skylight-5.3.3 lib/skylight/deprecation.rb
skylight-5.3.2 lib/skylight/deprecation.rb
skylight-5.3.1 lib/skylight/deprecation.rb
skylight-5.3.0 lib/skylight/deprecation.rb
skylight-5.2.0 lib/skylight/deprecation.rb
skylight-5.2.0.beta2 lib/skylight/deprecation.rb
skylight-5.2.0.beta lib/skylight/deprecation.rb
skylight-5.1.1 lib/skylight/deprecation.rb
skylight-5.1.0.beta3 lib/skylight/deprecation.rb
skylight-5.1.0.beta2 lib/skylight/deprecation.rb