Sha256: e77d0be24ea709e52af3a24dc80f08a151f39478491dc98ce01e3005de417600

Contents?: true

Size: 362 Bytes

Versions: 61

Compression:

Stored size: 362 Bytes

Contents

module Skylight
  module Normalizers
    class Default

      def normalize(trace, name, payload)
        if name =~ TIER_REGEX
          annot = payload.dup
          [
            name,
            annot.delete(:title),
            annot.delete(:description),
            annot
          ]
        else
          :skip
        end
      end

    end
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
skylight-0.8.0.beta.1 lib/skylight/normalizers/default.rb
skylight-0.7.1 lib/skylight/normalizers/default.rb
skylight-0.7.0.beta.3 lib/skylight/normalizers/default.rb
truex-skylight-0.6.0 lib/skylight/normalizers/default.rb
skylight-0.7.0.beta.2 lib/skylight/normalizers/default.rb
skylight-0.7.0.beta.1 lib/skylight/normalizers/default.rb
skylight-0.6.2.beta.2 lib/skylight/normalizers/default.rb
skylight-0.6.1 lib/skylight/normalizers/default.rb
skylight-0.6.0 lib/skylight/normalizers/default.rb
skylight-0.6.0.beta.1 lib/skylight/normalizers/default.rb
skylight-0.5.2 lib/skylight/normalizers/default.rb
skylight-0.5.1 lib/skylight/normalizers/default.rb
skylight-0.5.0 lib/skylight/normalizers/default.rb
skylight-0.4.3 lib/skylight/normalizers/default.rb
skylight-0.5.0.beta1 lib/skylight/normalizers/default.rb
skylight-0.4.2 lib/skylight/normalizers/default.rb
skylight-0.4.1 lib/skylight/normalizers/default.rb
skylight-0.4.0 lib/skylight/normalizers/default.rb
skylight-0.4.0.beta2 lib/skylight/normalizers/default.rb
skylight-0.4.0.beta1 lib/skylight/normalizers/default.rb