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-1.4.0.beta lib/skylight/normalizers/default.rb
skylight-1.3.1 lib/skylight/normalizers/default.rb
skylight-1.3.0 lib/skylight/normalizers/default.rb
skylight-1.2.2 lib/skylight/normalizers/default.rb
skylight-1.2.1 lib/skylight/normalizers/default.rb
skylight-1.2.0 lib/skylight/normalizers/default.rb
skylight-1.1.0 lib/skylight/normalizers/default.rb
skylight-1.0.1 lib/skylight/normalizers/default.rb
skylight-1.0.0 lib/skylight/normalizers/default.rb
skylight-0.10.6 lib/skylight/normalizers/default.rb
skylight-1.0.0.beta5 lib/skylight/normalizers/default.rb
skylight-0.10.5 lib/skylight/normalizers/default.rb
skylight-0.10.4 lib/skylight/normalizers/default.rb
skylight-1.0.0.beta4 lib/skylight/normalizers/default.rb
skylight-1.0.0.beta3 lib/skylight/normalizers/default.rb
skylight-0.10.3 lib/skylight/normalizers/default.rb
skylight-0.10.2 lib/skylight/normalizers/default.rb
skylight-1.0.0.beta2 lib/skylight/normalizers/default.rb
skylight-0.10.0 lib/skylight/normalizers/default.rb
skylight-0.9.4 lib/skylight/normalizers/default.rb