Method: WhatToRun::Tracker.read

Defined in:
lib/what_to_run/tracker.rb

.readObject



42
43
44
45
46
47
48
49
50
51
# File 'lib/what_to_run/tracker.rb', line 42

def read
  query = 'select description, log from coverage'

  unless additional_databases.empty?
    attach_databases!
    query += union_query
  end

  DB.execute(query).map { |row| [row[0], Marshal.load(row[1])] }
end