diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b9ef6b..995b4c94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Other changes - Fixed "Using parts of SuperDiff directly" documentation. [#313](https://github.com/splitwise/super_diff/pull/313) +- Allow diff-lcs 2. [#317](https://github.com/splitwise/super_diff/pull/317) by [@andrewfader](https://github.com/andrewfader) ## 0.19.0 - 2026-05-01 diff --git a/Gemfile.lock b/Gemfile.lock index d0dd8284..aa4a75c0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ PATH specs: super_diff (0.19.0) attr_extras (>= 6.2.4, < 8) - diff-lcs (~> 1.5) + diff-lcs (>= 1.5, < 3) patience_diff (~> 1.2) GEM diff --git a/super_diff.gemspec b/super_diff.gemspec index 3e34e47b..98c02c7f 100644 --- a/super_diff.gemspec +++ b/super_diff.gemspec @@ -28,6 +28,6 @@ Gem::Specification.new do |s| s.executables = Dir['exe/**/*'].map { |f| File.basename(f) } s.add_dependency 'attr_extras', '>= 6.2.4', '< 8' - s.add_dependency 'diff-lcs', '~> 1.5' + s.add_dependency 'diff-lcs', '>= 1.5', '< 3' s.add_dependency 'patience_diff', '~> 1.2' end