Class: Churn::SvnAnalyzer

Inherits:
SourceControl show all
Defined in:
lib/churn/svn_analyzer.rb

Overview

analizes SVN SCM to find recently changed files, and what lines have been altered

Instance Method Summary collapse

Methods inherited from SourceControl

#get_updated_files_change_info, #get_updated_files_from_log, #initialize

Constructor Details

This class inherits a constructor from Churn::SourceControl

Instance Method Details

#get_logsObject



5
6
7
# File 'lib/churn/svn_analyzer.rb', line 5

def get_logs
  `svn log #{date_range} --verbose`.split(/\n/).map { |line| clean_up_svn_line(line) }.compact
end