Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
textproc/ruby-diff-lcs: update to 1.5.0
1.5.0 (2021-12-23) * Updated the CI configuration and monkey-patch Hoe. * Kenichi Kamiya fixed a test configuration deprecation in SimpleCov. #69 * Tien introduced several corrections and code improvements: o Removed an off-by-one error when calculating an index value by embracing Ruby iteration properly. This had a side-effect of fixing a long-standing bug in #traverse_sequences where the traversal would not be transitive. That is, LCS(s2, s1) should produce a sequence that is transitive with LCS(s1, s2) on traversal, and applying the diff computed from those results would result in equivalent changes that could be played forward or backward as appropriate. #71, #75 o The above fix resulted in a changed order of the longest common subsequence when callbacks were applied. After analysis, it was determined that the computed subsequence was equivalent to the prior version, so the test was updated. This also resulted in the clarification of documentation when traversing the subsequences. #79 o An infinite loop case in the case where Diff::LCS would be included into an enumerable class has been fixed. #73 o Clarified the purpose of a threshold test in calculation of LCS. #72, #80 * Removed autotest directory
- Loading branch information