Sha256: 3d6d2f9c0c015495588d49acca77f8dabded668e67a79fbb98b6a9ea2283da8a

Contents?: true

Size: 303 Bytes

Versions: 27

Compression:

Stored size: 303 Bytes

Contents

module Skylight
  module Normalizers
    class Default

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

    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
skylight-0.9.3 lib/skylight/normalizers/default.rb
skylight-0.9.2 lib/skylight/normalizers/default.rb
skylight-0.9.1 lib/skylight/normalizers/default.rb
skylight-0.9.0 lib/skylight/normalizers/default.rb
skylight-0.8.1 lib/skylight/normalizers/default.rb
skylight-0.8.0 lib/skylight/normalizers/default.rb
skylight-0.8.0.beta.3 lib/skylight/normalizers/default.rb