Class: PairSee::Seer

Inherits:
Object
  • Object
show all
Defined in:
lib/pair_see/seer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Seer

Returns a new instance of Seer.



7
8
9
10
11
12
13
14
# File 'lib/pair_see/seer.rb', line 7

def initialize(options)
  @repo_locations = options[:repo_locations]
  @after_date = options[:after_date]
  @card_prefix = options[:card_prefix]
  @names = options[:names]
  @seer = PairSee::TooMuchStuff.new(options)
  @log_lines = LogLineParse.new(@repo_locations, @after_date).log_lines
end

Instance Attribute Details

#seerObject (readonly)

Returns the value of attribute seer.



5
6
7
# File 'lib/pair_see/seer.rb', line 5

def seer
  @seer
end

Instance Method Details

#all_commitsObject



36
37
38
# File 'lib/pair_see/seer.rb', line 36

def all_commits
  seer.all_commits
end

#all_most_recent_commitsObject



20
21
22
# File 'lib/pair_see/seer.rb', line 20

def all_most_recent_commits
  seer.all_most_recent_commits
end

#cards_per_personObject



40
41
42
# File 'lib/pair_see/seer.rb', line 40

def cards_per_person
  CardsPerPerson.new(@log_lines, @card_prefix, @names).cards_per_person
end

#commits_not_by_known_pairObject



16
17
18
# File 'lib/pair_see/seer.rb', line 16

def commits_not_by_known_pair
  seer.commits_not_by_known_person
end

#knowledge_debtObject



44
45
46
# File 'lib/pair_see/seer.rb', line 44

def knowledge_debt
  KnowledgeDebt.new(@log_lines, @card_prefix, @names).knowledge_debt
end

#pair_recencyObject



48
49
50
# File 'lib/pair_see/seer.rb', line 48

def pair_recency
  PairRecency.new(@log_lines, @card_prefix, @names).pair_recency
end

#pretty_card_dataObject



28
29
30
# File 'lib/pair_see/seer.rb', line 28

def pretty_card_data
  seer.pretty_card_data
end

#pretty_card_data_by_commitsObject



32
33
34
# File 'lib/pair_see/seer.rb', line 32

def pretty_card_data_by_commits
  seer.pretty_card_data_by_commits
end


24
25
26
# File 'lib/pair_see/seer.rb', line 24

def recommended_pairings
  seer.recommended_pairings
end