Plugins::PapertrailHelper#get_diffs

Parsed documentation:
View on GitHub
Snipped from @merfoo's helper

  Let curr_index_new and curr_index_old loop from 0 to new string length and old string length respectively
    if curr_index_new < new strings length and curr_index_old < old string length
      if characters from both strings at their respective indexes match
        increase both index by 1
        continue to next iteration
      else if characters from both strings dont match
        Let new_index_new = curr_index_new
        Let new_index_old loop from curr_index_old to old string length
          if new_index_new > new string length
            add rest of new string to added strings and add rest of old string to deleted strings
            break out of loop
          if character of old string at newOldIndex == character of new string at new_index_new
            if (new_index_new - curr_index_new) > 0
              add substring of new string from curr_index_new to new_index_new to added strings
            if (newOldIndex - currOldIndex) > 0
              add substring of old string from curr_index_old to new_index_old to deleted strings
          if new_index_old > old string length
            set new_index_old to curr_index_old
            increase new_index_new by 1
    else if either of curr_index_new or curr_index_old > their respective strings
      if curr_index_new < new string
        add rest of new string to added strings
      else if curr_index_old < old string length
        add rest of old string to deleted strings
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.