diff options
author | Austin Ziegler <austin@zieglers.ca> | 2020-06-23 11:33:25 -0400 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2020-06-23 11:33:25 -0400 |
commit | a7a595e2d5d3b4658d21d33f3f62f7c85ee4c82b (patch) | |
tree | 8e32eb2596f67159dca5302a3efaafcf25bed4de /lib/diff/lcs.rb | |
parent | 4168a8eb56231152697290d14ac62a02eac9ac3f (diff) | |
download | diff-lcs-a7a595e2d5d3b4658d21d33f3f62f7c85ee4c82b.tar.gz |
Fix an issue with negative hunk max_size
Resolves #57.
- The `diff_size` should be an absolute value.
- Added a test to ensure that the issue does not introduce a regression.
Diffstat (limited to 'lib/diff/lcs.rb')
-rw-r--r-- | lib/diff/lcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diff/lcs.rb b/lib/diff/lcs.rb index c4d1cc8..b6d0a86 100644 --- a/lib/diff/lcs.rb +++ b/lib/diff/lcs.rb @@ -49,7 +49,7 @@ module Diff; end unless defined? Diff # rubocop:disable Style/Documentation # a x b y c z p d q # a b c a x b y c z module Diff::LCS - VERSION = '1.4' + VERSION = '1.4.1' end require 'diff/lcs/callbacks' |