diff-lcs 1.3 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9eaea5f8fa364e74d93c2721fd6cb20c6fa9d65e
4
- data.tar.gz: 7cd7569297e671da52b753db36ad4128d109fddf
2
+ SHA256:
3
+ metadata.gz: 8d49f14f7f3242c9aa114b5352864185acb447e05775f21292907f30944a4e57
4
+ data.tar.gz: f72bf7376cb029d39e9fea818361afa99dea8c27440d483a2de04ee3b8864c6b
5
5
  SHA512:
6
- metadata.gz: 33ec7c9966bd92aaa989d561a3895cccb1321809ef784dde9757b39ebc9162dd3ba0dc322a089c48dc7a706531c85d1dbbaa3203cd837b4db57059f74563901d
7
- data.tar.gz: bad9e1d0f49830f81feba65cf8e0542c3e9ac8d50f4e0663712be639ff377832fad701e299279081b35b48655c0563c7269c0b7e432bf590232ede1cf397a5b6
6
+ metadata.gz: 9a217015cd26e5ca24d9398f9497c119bfd7251290f20f30e8a30ba880ed1f12fdf669fe8d0a019273fbe7e8e6362de67351f799a1d3ac3c0e9ef91c078609a6
7
+ data.tar.gz: ebc14cb8fb1e0c949fcfce752da8c30c6005dbc62c62b371e6a520b7a485d16e7b36d2aa44dc7e395abca16fd3498c4aab154e2d880392d655abb613d5951185
@@ -77,6 +77,7 @@ Thanks to everyone else who has contributed to Diff::LCS:
77
77
  * Josef Strzibny
78
78
  * Josh Bronson
79
79
  * Mark Friedgan
80
+ * Akinori MUSHA
80
81
 
81
82
  [Rspec]: http://rspec.info/documentation/
82
83
  [quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
data/History.md CHANGED
@@ -1,197 +1,217 @@
1
+ # History
2
+
3
+ ## 1.4 / 2020-06-23
4
+
5
+ - Ruby versions lower than 2.4 are soft-deprecated and will not be run as
6
+ part of the CI process any longer.
7
+ - Akinora MUSHA (knu) added the ability for Diff::LCS::Change objects to be
8
+ implicitly treated arrays. Originally provided as pull request [#47][],
9
+ but it introduced a number of test failures as documented in [#48][], and
10
+ remediation of Diff::LCS itself was introduced in [#49][].
11
+ - Resolved [#5][] with some tests comparing output from `system` calls to
12
+ `bin/ldiff` with some pre-generated output. Resolved [#6][] with these
13
+ tests.
14
+ - Resolved a previously undetected `bin/ldiff` issue with `--context` output
15
+ not matching `diff --context` output.
16
+ - Resolved an issue with later versions of Ruby not working with an `OptParse`
17
+ specification of `Numeric`; this has been changed to `Integer`.
18
+ - Brandon Fish added truffleruby in [#52][].
19
+ - Fixed two missing classes as reported in [#53][].
20
+
1
21
  ## 1.3 / 2017-01-18
2
22
 
3
- * Bugs fixed:
23
+ - Bugs fixed:
4
24
 
5
- * Fixed an error for bin/ldiff --version. Fixes [issue #21][].
6
- * Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform
7
- equality comparisons against themselves. Provided by Kevin Mook in
8
- [pull request #29][].
9
- * Fix tab expansion in htmldiff, provided by Mark Friedgan in
10
- [pull request #25][].
11
- * Silence Ruby 2.4 Fixnum deprecation warnings. Fixxues [issue #38][] and
12
- [pull request#36][].
13
- * Ensure that test dependencies are loaded properly. Fixes [issue #33][]
14
- and [pull request #34][].
15
- * Fix [issue #1][] with incorrect intuition of patch direction. Tentative
16
- fix, but the previous failure cases pass now.
25
+ - Fixed an error for bin/ldiff --version. Fixes issue [#21][].
26
+ - Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform
27
+ equality comparisons against themselves. Provided by Kevin Mook in
28
+ pull request [#29][].
29
+ - Fix tab expansion in htmldiff, provided by Mark Friedgan in
30
+ pull request [#25][].
31
+ - Silence Ruby 2.4 Fixnum deprecation warnings. Fixxues issue [#38][] and
32
+ [pull request#36][].
33
+ - Ensure that test dependencies are loaded properly. Fixes issue [#33][]
34
+ and pull request [#34][].
35
+ - Fix issue [#1][] with incorrect intuition of patch direction. Tentative
36
+ fix, but the previous failure cases pass now.
17
37
 
18
- * Tooling changes:
38
+ - Tooling changes:
19
39
 
20
- * Added SimpleCov and Coveralls support.
21
- * Change the homepage (temporarily) to the GitHub repo.
22
- * Updated testing and gem infrastructure.
23
- * Modernized the specs.
40
+ - Added SimpleCov and Coveralls support.
41
+ - Change the homepage (temporarily) to the GitHub repo.
42
+ - Updated testing and gem infrastructure.
43
+ - Modernized the specs.
24
44
 
25
- * Cleaned up documentation.
45
+ - Cleaned up documentation.
26
46
 
27
- * Added a Code of Conduct.
47
+ - Added a Code of Conduct.
28
48
 
29
49
  ## 1.2.5 / 2013-11-08
30
50
 
31
- * Bugs fixed:
51
+ - Bugs fixed:
32
52
 
33
- * Comparing arrays flattened them too far, especially with
34
- Diff::LCS.sdiff. Fixed by Josh Bronson in [pull request #23][].
53
+ - Comparing arrays flattened them too far, especially with
54
+ Diff::LCS.sdiff. Fixed by Josh Bronson in pull request [#23][].
35
55
 
36
56
  ## 1.2.4 / 2013-04-20
37
57
 
38
- * Bugs fixed:
58
+ - Bugs fixed:
39
59
 
40
- * A bug was introduced after 1.1.3 when pruning common sequences at the
41
- start of comparison. Paul Kunysch (@pck) fixed this in
42
- [pull request #18][]. Thanks!
60
+ - A bug was introduced after 1.1.3 when pruning common sequences at the
61
+ start of comparison. Paul Kunysch (@pck) fixed this in
62
+ pull request [#18][]. Thanks!
43
63
 
44
- * The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268][] has been
45
- fixed by the Rubinius team two days after it was filed. Thanks for
46
- fixing this so quickly!
64
+ - The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268][] has been
65
+ fixed by the Rubinius team two days after it was filed. Thanks for
66
+ fixing this so quickly!
47
67
 
48
- * Switching to Raggi's hoe-gemspec2 for gemspec generation.
68
+ - Switching to Raggi's hoe-gemspec2 for gemspec generation.
49
69
 
50
70
  ## 1.2.3 / 2013-04-11
51
71
 
52
- * Bugs Fixed:
72
+ - Bugs Fixed:
53
73
 
54
- * The new encoding detection for diff output generation (added in 1.2.2)
55
- introduced a bug if the left side of the comparison was the empty set.
56
- Originally found in [rspec/rspec-expectations#238][] and
57
- [rspec/rspec-expectations#239][]. Jon Rowe developed a reasonable
58
- heuristic (left side, right side, empty string literal) to avoid this
59
- bug.
60
- * There is a known issue with Rubinius in 1.9 mode reported in
61
- [rubinius/rubinius#2268][] and demonstrated in the Travis CI builds.
62
- For all other tested platforms, diff-lcs is considered stable. As soon
63
- as a suitably small test-case can be created for the Rubinius team to
64
- examine, this will be added to the Rubinius issue around this.
74
+ - The new encoding detection for diff output generation (added in 1.2.2)
75
+ introduced a bug if the left side of the comparison was the empty set.
76
+ Originally found in [rspec/rspec-expectations#238][] and
77
+ [rspec/rspec-expectations#239][]. Jon Rowe developed a reasonable
78
+ heuristic (left side, right side, empty string literal) to avoid this
79
+ bug.
80
+ - There is a known issue with Rubinius in 1.9 mode reported in
81
+ [rubinius/rubinius#2268][] and demonstrated in the Travis CI builds.
82
+ For all other tested platforms, diff-lcs is considered stable. As soon
83
+ as a suitably small test-case can be created for the Rubinius team to
84
+ examine, this will be added to the Rubinius issue around this.
65
85
 
66
86
  ## 1.2.2 / 2013-03-30
67
87
 
68
- * Bugs Fixed:
88
+ - Bugs Fixed:
69
89
 
70
- * Diff::LCS::Hunk could not properly generate a difference for comparison
71
- sets that are not US-ASCII-compatible because of the use of literal
72
- regular expressions and strings. Jon Rowe found this in
73
- [rspec/rspec-expectations#219][] and provided a first pass
74
- implementation in [pull request #15][]. I've reworked it because of
75
- test failures in Rubinius when running in Ruby 1.9 mode. This coerces
76
- the added values to the encoding of the old dataset (as determined by
77
- the first piece of the old dataset).
78
- * Adding Travis CI testing for Ruby 2.0.
90
+ - Diff::LCS::Hunk could not properly generate a difference for comparison
91
+ sets that are not US-ASCII-compatible because of the use of literal
92
+ regular expressions and strings. Jon Rowe found this in
93
+ [rspec/rspec-expectations#219][] and provided a first pass
94
+ implementation in pull request [#15][]. I've reworked it because of
95
+ test failures in Rubinius when running in Ruby 1.9 mode. This coerces
96
+ the added values to the encoding of the old dataset (as determined by
97
+ the first piece of the old dataset).
98
+ - Adding Travis CI testing for Ruby 2.0.
79
99
 
80
100
  ## 1.2.1 / 2013-02-09
81
101
 
82
- * Bugs Fixed:
102
+ - Bugs Fixed:
83
103
 
84
- * As seen in [rspec/rspec-expectations#200][], the release of
85
- Diff::LCS 1.2 introduced an unnecessary public API change to
86
- Diff::LCS::Hunk (see the change at
87
- [rspec/rspec-expectations@3d6fc82c][] for details). The new method name
88
- (and behaviour) is more correct, but I should not have renamed the
89
- function or should have at least provided an alias. This release
90
- restores Diff::LCS::Hunk#unshift as an alias to #merge. Note that the
91
- old #unshift behaviour was incorrect and will not be restored.
104
+ - As seen in [rspec/rspec-expectations#200][], the release of
105
+ Diff::LCS 1.2 introduced an unnecessary public API change to
106
+ Diff::LCS::Hunk (see the change at
107
+ [rspec/rspec-expectations@3d6fc82c][] for details). The new method name
108
+ (and behaviour) is more correct, but I should not have renamed the
109
+ function or should have at least provided an alias. This release
110
+ restores Diff::LCS::Hunk#unshift as an alias to #merge. Note that the
111
+ old #unshift behaviour was incorrect and will not be restored.
92
112
 
93
113
  ## 1.2.0 / 2013-01-21
94
114
 
95
- * Minor Enhancements:
96
-
97
- * Added special case handling for Diff::LCS.patch so that it handles
98
- patches that are empty or contain no changes.
99
- * Added two new methods (#patch\_me and #unpatch\_me) to the includable
100
- module.
101
-
102
- * Bugs Fixed:
103
-
104
- * Fixed [issue #1][] patch direction detection.
105
- * Resolved [issue #2][] by handling `string[string.size, 1]` properly (it
106
- returns `""` not `nil`).
107
- * Michael Granger (ged) fixed an implementation error in
108
- Diff::LCS::Change and added specs in [pull request #8][]. Thanks!
109
- * Made the code auto-testable.
110
- * Vít Ondruch (voxik) provided the latest version of the GPL2 license
111
- file in [pull request #10][]. Thanks!
112
- * Fixed a documentation issue with the includable versions of #patch! and
113
- #unpatch! where they implied that they would replace the original
114
- value. Given that Diff::LCS.patch always returns a copy, the
115
- documentation was incorrect and has been corrected. To provide the
116
- behaviour that was originally documented, two new methods were added to
117
- provide this behaviour. Found by scooter-dangle in [issue #12][].
118
- Thanks!
119
-
120
- * Code Style Changes:
121
-
122
- * Removed trailing spaces.
123
- * Calling class methods using `.` instead of `::`.
124
- * Vít Ondruch (voxik) removed unnecessary shebangs in [pull request #9][].
125
- Thanks!
126
- * Kenichi Kamiya (kachick) removed some warnings of an unused variable in
127
- lucky [pull request #13][]. Thanks!
128
- * Embarked on a major refactoring to make the files a little more
129
- manageable and understand the code on a deeper level.
130
- * Adding to http://travis-ci.org.
115
+ - Minor Enhancements:
116
+
117
+ - Added special case handling for Diff::LCS.patch so that it handles
118
+ patches that are empty or contain no changes.
119
+ - Added two new methods (#patch_me and #unpatch_me) to the includable
120
+ module.
121
+
122
+ - Bugs Fixed:
123
+
124
+ - Fixed issue [#1][] patch direction detection.
125
+ - Resolved issue [#2][] by handling `string[string.size, 1]` properly (it
126
+ returns `""` not `nil`).
127
+ - Michael Granger (ged) fixed an implementation error in
128
+ Diff::LCS::Change and added specs in pull request [#8][]. Thanks!
129
+ - Made the code auto-testable.
130
+ - Vít Ondruch (voxik) provided the latest version of the GPL2 license
131
+ file in pull request [#10][]. Thanks!
132
+ - Fixed a documentation issue with the includable versions of #patch! and
133
+ #unpatch! where they implied that they would replace the original
134
+ value. Given that Diff::LCS.patch always returns a copy, the
135
+ documentation was incorrect and has been corrected. To provide the
136
+ behaviour that was originally documented, two new methods were added to
137
+ provide this behaviour. Found by scooter-dangle in issue [#12][].
138
+ Thanks!
139
+
140
+ - Code Style Changes:
141
+
142
+ - Removed trailing spaces.
143
+ - Calling class methods using `.` instead of `::`.
144
+ - Vít Ondruch (voxik) removed unnecessary shebangs in pull request [#9][].
145
+ Thanks!
146
+ - Kenichi Kamiya (kachick) removed some warnings of an unused variable in
147
+ lucky pull request [#13][]. Thanks!
148
+ - Embarked on a major refactoring to make the files a little more
149
+ manageable and understand the code on a deeper level.
150
+ - Adding to http://travis-ci.org.
131
151
 
132
152
  ## 1.1.3 / 2011-08-27
133
153
 
134
- * Converted to 'hoe' for release.
135
- * Converted tests to RSpec 2.
136
- * Extracted the body of htmldiff into a class available from
137
- diff/lcs/htmldiff.
138
- * Migrated development and issue tracking to GitHub.
139
- * Bugs fixed:
154
+ - Converted to 'hoe' for release.
155
+ - Converted tests to RSpec 2.
156
+ - Extracted the body of htmldiff into a class available from
157
+ diff/lcs/htmldiff.
158
+ - Migrated development and issue tracking to GitHub.
159
+ - Bugs fixed:
140
160
 
141
- * Eliminated the explicit use of RubyGems in both bin/htmldiff and
142
- bin/ldiff. Resolves [issue #4][].
143
- * Eliminated Ruby warnings. Resolves [issue #3][].
161
+ - Eliminated the explicit use of RubyGems in both bin/htmldiff and
162
+ bin/ldiff. Resolves issue [#4][].
163
+ - Eliminated Ruby warnings. Resolves issue [#3][].
144
164
 
145
165
  ## 1.1.2 / 2004-10-20
146
166
 
147
- * Fixed a problem reported by Mauricio Fernandez in htmldiff.
167
+ - Fixed a problem reported by Mauricio Fernandez in htmldiff.
148
168
 
149
169
  ## 1.1.1 / 2004-09-25
150
170
 
151
- * Fixed bug #891 (Set returned from patch command does not contain last equal
152
- part).
153
- * Fixed a problem with callback initialisation code (it assumed that all
154
- callbacks passed as classes can be initialised; now, it rescues
155
- NoMethodError in the event of private :new being called).
156
- * Modified the non-initialisable callbacks to have a private #new method.
157
- * Moved ldiff core code to Diff::LCS::Ldiff (diff/lcs/ldiff.rb).
171
+ - Fixed bug #891 (Set returned from patch command does not contain last equal
172
+ part).
173
+ - Fixed a problem with callback initialisation code (it assumed that all
174
+ callbacks passed as classes can be initialised; now, it rescues
175
+ NoMethodError in the event of private :new being called).
176
+ - Modified the non-initialisable callbacks to have a private #new method.
177
+ - Moved ldiff core code to Diff::LCS::Ldiff (diff/lcs/ldiff.rb).
158
178
 
159
179
  ## 1.1.0 / -
160
180
 
161
- * Eliminated the need for Diff::LCS::Event and removed it.
162
- * Added a contextual diff callback, Diff::LCS::ContextDiffCallback.
163
- * Implemented patching/unpatching for standard Diff callback output formats
164
- with both #diff and #sdiff.
165
- * Extensive documentation changes.
181
+ - Eliminated the need for Diff::LCS::Event and removed it.
182
+ - Added a contextual diff callback, Diff::LCS::ContextDiffCallback.
183
+ - Implemented patching/unpatching for standard Diff callback output formats
184
+ with both #diff and #sdiff.
185
+ - Extensive documentation changes.
166
186
 
167
187
  ## 1.0.4
168
188
 
169
- * Fixed a problem with bin/ldiff output, especially for unified format.
170
- Newlines that should have been present weren't.
171
- * Changed the .tar.gz installer to generate Windows batch files if ones do
172
- not exist already. Removed the existing batch files as they didn't work.
189
+ - Fixed a problem with bin/ldiff output, especially for unified format.
190
+ Newlines that should have been present weren't.
191
+ - Changed the .tar.gz installer to generate Windows batch files if ones do
192
+ not exist already. Removed the existing batch files as they didn't work.
173
193
 
174
194
  ## 1.0.3
175
195
 
176
- * Fixed a problem with #traverse\_sequences where the first difference from
177
- the left sequence might not be appropriately captured.
196
+ - Fixed a problem with #traverse_sequences where the first difference from
197
+ the left sequence might not be appropriately captured.
178
198
 
179
199
  ## 1.0.2
180
200
 
181
- * Fixed an issue with ldiff not working because actions were changed from
182
- symbols to strings.
201
+ - Fixed an issue with ldiff not working because actions were changed from
202
+ symbols to strings.
183
203
 
184
204
  ## 1.0.1
185
205
 
186
- * Minor modifications to the gemspec, the README.
187
- * Renamed the diff program to ldiff (as well as the companion batch file) so
188
- as to not collide with the standard diff program.
189
- * Fixed issues with RubyGems. Requires RubyGems > 0.6.1 or >= 0.6.1 with the
190
- latest CVS version.
206
+ - Minor modifications to the gemspec, the README.
207
+ - Renamed the diff program to ldiff (as well as the companion batch file) so
208
+ as to not collide with the standard diff program.
209
+ - Fixed issues with RubyGems. Requires RubyGems > 0.6.1 or >= 0.6.1 with the
210
+ latest CVS version.
191
211
 
192
212
  ## 1.0
193
213
 
194
- * Initial release based mostly on Perl's Algorithm::Diff.
214
+ - Initial release based mostly on Perl's Algorithm::Diff.
195
215
 
196
216
  [rubinius/rubinius#2268]: https://github.com/rubinius/rubinius/issues/2268
197
217
  [rspec/rspec-expectations#239]: https://github.com/rspec/rspec-expectations/issues/239
@@ -199,22 +219,29 @@
199
219
  [rspec/rspec-expectations#219]: https://github.com/rspec/rspec-expectations/issues/219
200
220
  [rspec/rspec-expectations@3d6fc82c]: https://github.com/rspec/rspec-expectations/commit/3d6fc82c
201
221
  [rspec/rspec-expectations#200]: https://github.com/rspec/rspec-expectations/pull/200
202
- [pull request #36]: https://github.com/halostatue/diff-lcs/pull/36
203
- [pull request #34]: https://github.com/halostatue/diff-lcs/pull/34
204
- [pull request #29]: https://github.com/halostatue/diff-lcs/pull/29
205
- [pull request #25]: https://github.com/halostatue/diff-lcs/pull/25
206
- [pull request #23]: https://github.com/halostatue/diff-lcs/pull/23
207
- [pull request #18]: https://github.com/halostatue/diff-lcs/pull/18
208
- [pull request #15]: https://github.com/halostatue/diff-lcs/pull/15
209
- [pull request #13]: https://github.com/halostatue/diff-lcs/pull/13
210
- [pull request #10]: https://github.com/halostatue/diff-lcs/pull/10
211
- [pull request #9]: https://github.com/halostatue/diff-lcs/pull/9
212
- [pull request #8]: https://github.com/halostatue/diff-lcs/pull/8
213
- [issue #38]: https://github.com/halostatue/diff-lcs/issues/38
214
- [issue #33]: https://github.com/halostatue/diff-lcs/issues/33
215
- [issue #21]: https://github.com/halostatue/diff-lcs/issues/21
216
- [issue #12]: https://github.com/halostatue/diff-lcs/issues/12
217
- [issue #4]: https://github.com/halostatue/diff-lcs/issues/4
218
- [issue #3]: https://github.com/halostatue/diff-lcs/issues/3
219
- [issue #2]: https://github.com/halostatue/diff-lcs/issues/2
220
- [issue #1]: https://github.com/halostatue/diff-lcs/issues/1
222
+ [#1]: https://github.com/halostatue/diff-lcs/issues/1
223
+ [#2]: https://github.com/halostatue/diff-lcs/issues/2
224
+ [#3]: https://github.com/halostatue/diff-lcs/issues/3
225
+ [#4]: https://github.com/halostatue/diff-lcs/issues/4
226
+ [#5]: https://github.com/halostatue/diff-lcs/issues/5
227
+ [#6]: https://github.com/halostatue/diff-lcs/issues/6
228
+ [#8]: https://github.com/halostatue/diff-lcs/pull/8
229
+ [#9]: https://github.com/halostatue/diff-lcs/pull/9
230
+ [#10]: https://github.com/halostatue/diff-lcs/pull/10
231
+ [#12]: https://github.com/halostatue/diff-lcs/issues/12
232
+ [#13]: https://github.com/halostatue/diff-lcs/pull/13
233
+ [#15]: https://github.com/halostatue/diff-lcs/pull/15
234
+ [#18]: https://github.com/halostatue/diff-lcs/pull/18
235
+ [#21]: https://github.com/halostatue/diff-lcs/issues/21
236
+ [#23]: https://github.com/halostatue/diff-lcs/pull/23
237
+ [#25]: https://github.com/halostatue/diff-lcs/pull/25
238
+ [#29]: https://github.com/halostatue/diff-lcs/pull/29
239
+ [#33]: https://github.com/halostatue/diff-lcs/issues/33
240
+ [#34]: https://github.com/halostatue/diff-lcs/pull/34
241
+ [#36]: https://github.com/halostatue/diff-lcs/pull/36
242
+ [#38]: https://github.com/halostatue/diff-lcs/issues/38
243
+ [#47]: https://github.com/halostatue/diff-lcs/pull/47
244
+ [#48]: https://github.com/halostatue/diff-lcs/issues/48
245
+ [#49]: https://github.com/halostatue/diff-lcs/pull/49
246
+ [#52]: https://github.com/halostatue/diff-lcs/pull/52
247
+ [#53]: https://github.com/halostatue/diff-lcs/issues/53
@@ -14,6 +14,7 @@ docs/artistic.txt
14
14
  lib/diff-lcs.rb
15
15
  lib/diff/lcs.rb
16
16
  lib/diff/lcs/array.rb
17
+ lib/diff/lcs/backports.rb
17
18
  lib/diff/lcs/block.rb
18
19
  lib/diff/lcs/callbacks.rb
19
20
  lib/diff/lcs/change.rb
@@ -24,8 +25,15 @@ lib/diff/lcs/ldiff.rb
24
25
  lib/diff/lcs/string.rb
25
26
  spec/change_spec.rb
26
27
  spec/diff_spec.rb
28
+ spec/fixtures/aX
29
+ spec/fixtures/bXaX
27
30
  spec/fixtures/ds1.csv
28
31
  spec/fixtures/ds2.csv
32
+ spec/fixtures/ldiff/output.diff
33
+ spec/fixtures/ldiff/output.diff-c
34
+ spec/fixtures/ldiff/output.diff-e
35
+ spec/fixtures/ldiff/output.diff-f
36
+ spec/fixtures/ldiff/output.diff-u
29
37
  spec/hunk_spec.rb
30
38
  spec/issues_spec.rb
31
39
  spec/lcs_spec.rb
@@ -4,8 +4,7 @@ home :: https://github.com/halostatue/diff-lcs
4
4
  code :: https://github.com/halostatue/diff-lcs
5
5
  bugs :: https://github.com/halostatue/diff-lcs/issues
6
6
  rdoc :: http://rubydoc.info/github/halostatue/diff-lcs
7
- continuous integration :: {<img src="https://travis-ci.org/halostatue/diff-lcs.svg" />}[https://travis-ci.org/halostatue/diff-lcs]
8
- test coverage :: {<img src="https://coveralls.io/repos/halostatue/diff-lcs/badge.svg" alt="Coverage Status" />}[https://coveralls.io/r/halostatue/diff-lcs]
7
+ continuous integration :: {<img src="https://github.com/halostatue/diff-lcs/workflows/CI/badge.svg" />}[https://github.com/halostatue/diff-lcs/actions]
9
8
 
10
9
  == Description
11
10
 
@@ -13,10 +12,14 @@ Diff::LCS computes the difference between two Enumerable sequences using the
13
12
  McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities
14
13
  to create a simple HTML diff output format and a standard diff-like tool.
15
14
 
16
- This is release 1.3, providing a tentative fix to a long-standing issue related
17
- to incorrect detection of a patch direction. Also modernizes the gem
18
- infrastructure, testing infrastructure, and provides a warning-free experience
19
- to Ruby 2.4 users.
15
+ This is release 1.4, providing a simple extension that allows for
16
+ Diff::LCS::Change objects to be treated implicitly as arrays. Ruby versions
17
+ below 2.5 are soft-deprecated.
18
+
19
+ This means that older versions are no longer part of the CI test suite. If any
20
+ changes have been introduced that break those versions, bug reports and patches
21
+ will be accepted, but it will be up to the reporter to verify any fixes prior
22
+ to release. A future release will completely break compatibility.
20
23
 
21
24
  == Synopsis
22
25
 
@@ -78,7 +81,3 @@ The algorithm is described in A Fast Algorithm for Computing Longest Common
78
81
  Subsequences</em>, CACM, vol.20, no.5, pp.350-353, May 1977, with a few minor
79
82
  improvements to improve the speed. A simplified description of the algorithm,
80
83
  originally written for the Perl version, was written by Mark-Jason Dominus.
81
-
82
- :include: Contributing.rdoc
83
-
84
- :include: License.rdoc