lib/todoist/diff_todo_finder.rb in danger-todoist-0.2.0 vs lib/todoist/diff_todo_finder.rb in danger-todoist-0.3.0

- old
+ new

@@ -16,15 +16,12 @@ diffs.each do |diff| matches = diff.patch.scan(TODO_REGEXP) next if matches.empty? matches.each do |match| - todos << Todo.new(diff.path, match.first.strip) + todos << Danger::Todo.new(diff.path, match.first.strip) end end todos - end - - class Todo < Struct.new(:file, :text) end end end