class TFSGraph::ChangesetNormalizer

Public Class Methods

normalize(item, branch) click to toggle source
Calls superclass method
# File lib/tfs_graph/changeset/changeset_normalizer.rb, line 10
def normalize(item, branch)
  item = super(item)
  item[:branch_path] = branch
  item[:comment] = item[:comment].gsub(/\\+/, "|")
  item
end
normalize_many(data, branch) click to toggle source
# File lib/tfs_graph/changeset/changeset_normalizer.rb, line 6
def normalize_many(data, branch)
  changesets = data.map {|item| normalize(item, branch) }
end
schema() click to toggle source
# File lib/tfs_graph/changeset/changeset_normalizer.rb, line 17
def schema
  Changeset::SCHEMA
end