lib/swoop.rb in swoop_report-0.3 vs lib/swoop.rb in swoop_report-0.3.1
- old
+ new
@@ -1,9 +1,10 @@
require "swoop/version"
require "swoop/project"
require "swoop/entity"
-require "swoop/entity_parser"
+require "swoop/file_parser"
+require "swoop/file_info"
require "swoop/report"
require "swoop/time_machine"
require "swoop/renderer/renderer"
require "swoop/renderer/csv_renderer"
@@ -55,11 +56,11 @@
reports = []
project = Project.new(@project_path, @dir_path)
delorean = TimeMachine.new(project, time_machine_options)
delorean.travel do |proj, name, date|
- entities = EntityParser.parse_files(proj.filepaths)
- reports << Report.new(entities, name, date)
+ file_infos = FileParser.parse(proj.filepaths)
+ reports << Report.new(file_infos, name, date)
end
reports
end
end