Sha256: bba339d2ca31af203c54ccf776cb6d4e90f3542264d1ce96faa0bee269d1ae4b

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

class Job
  class Test < Job
    autoload :States, 'travis/model/job/test/states'

    include Test::States, Tagging

    class << self
      def append_log!(id, chars)
        job = find(id, :select => [:id, :repository_id, :owner_id, :owner_type, :state])
        job.append_log!(chars) unless job.finished?
      end
    end

    def append_log!(chars)
      Artifact::Log.append(id, chars)
      super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-core-0.0.1 lib/travis/model/job/test.rb