Sha256: b25fdca344544eb7cbd7d35aa02a73a1de0fbfbb70c34eac5ab3307020cf7ffe

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

class Artifact::Log < Artifact
  class << self
    # use job_id to avoid loading a log artifact into memory
    def append(job_id, chars)
      update_all(["content = COALESCE(content, '') || ?", chars], ["job_id = ?", job_id])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-core-0.0.1 lib/travis/model/artifact/log.rb