diff-lcs 1.2.4 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +0 -1
  3. data/Code-of-Conduct.md +74 -0
  4. data/Contributing.md +84 -0
  5. data/History.md +263 -0
  6. data/{License.rdoc → License.md} +0 -0
  7. data/Manifest.txt +15 -8
  8. data/README.rdoc +20 -22
  9. data/Rakefile +23 -22
  10. data/autotest/discover.rb +3 -1
  11. data/bin/htmldiff +7 -4
  12. data/bin/ldiff +4 -1
  13. data/lib/diff-lcs.rb +1 -1
  14. data/lib/diff/lcs.rb +181 -254
  15. data/lib/diff/lcs/array.rb +1 -1
  16. data/lib/diff/lcs/backports.rb +9 -0
  17. data/lib/diff/lcs/block.rb +2 -2
  18. data/lib/diff/lcs/callbacks.rb +15 -12
  19. data/lib/diff/lcs/change.rb +34 -37
  20. data/lib/diff/lcs/htmldiff.rb +17 -16
  21. data/lib/diff/lcs/hunk.rb +67 -52
  22. data/lib/diff/lcs/internals.rb +43 -40
  23. data/lib/diff/lcs/ldiff.rb +45 -65
  24. data/lib/diff/lcs/string.rb +1 -1
  25. data/spec/change_spec.rb +31 -7
  26. data/spec/diff_spec.rb +24 -20
  27. data/spec/fixtures/aX +1 -0
  28. data/spec/fixtures/bXaX +1 -0
  29. data/spec/fixtures/ds1.csv +50 -0
  30. data/spec/fixtures/ds2.csv +51 -0
  31. data/spec/fixtures/ldiff/output.diff +4 -0
  32. data/spec/fixtures/ldiff/output.diff-c +7 -0
  33. data/spec/fixtures/ldiff/output.diff-e +3 -0
  34. data/spec/fixtures/ldiff/output.diff-f +3 -0
  35. data/spec/fixtures/ldiff/output.diff-u +5 -0
  36. data/spec/hunk_spec.rb +37 -37
  37. data/spec/issues_spec.rb +91 -17
  38. data/spec/lcs_spec.rb +24 -22
  39. data/spec/ldiff_spec.rb +80 -0
  40. data/spec/patch_spec.rb +182 -180
  41. data/spec/sdiff_spec.rb +99 -87
  42. data/spec/spec_helper.rb +141 -58
  43. data/spec/traverse_balanced_spec.rb +177 -177
  44. data/spec/traverse_sequences_spec.rb +63 -63
  45. metadata +89 -180
  46. data.tar.gz.sig +0 -3
  47. data/.autotest +0 -3
  48. data/.gemtest +0 -0
  49. data/.hoerc +0 -2
  50. data/.travis.yml +0 -22
  51. data/Contributing.rdoc +0 -64
  52. data/Gemfile +0 -20
  53. data/History.rdoc +0 -146
  54. metadata.gz.sig +0 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f8c970551b0fef2c712a6dbdc87453ecbd383a6c5b69f0c1e20e7525a9f4d1ef
4
+ data.tar.gz: 6a46ef91155a305417163c3e92503b567e47bf69413e697101b613ed8665c016
5
+ SHA512:
6
+ metadata.gz: 9612854483a3dc37cab0f7ec561d23c4ff2c4d190c4d526c18ae45de8c42a2b48f4809fc7da78de524703a7424b7bfd128bb6705424ffa8c139d7a8a59eea10f
7
+ data.tar.gz: 16586385ffdfd194afd04f1da73ba3b358b7f324f3dfa5c76b8d37e4ffee0eff257ae7c718d85164d02130c9424b04b130521f87dc4d812d9426bbba6806dfd2
data/.rspec CHANGED
@@ -1,2 +1 @@
1
1
  --colour
2
- --format documentation
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
@@ -0,0 +1,84 @@
1
+ ## Contributing
2
+
3
+ I value any contribution to Diff::LCS you can provide: a bug report, a feature
4
+ request, or code contributions. Code contributions to Diff::LCS are especially
5
+ <del>welcome</del>encouraged. Because Diff::LCS is a complex codebase, there
6
+ are a few guidelines:
7
+
8
+ * Code changes *will not* be accepted without tests. The test suite is
9
+ written with [RSpec][].
10
+ * Match my coding style.
11
+ * Use a thoughtfully-named topic branch that contains your change. Rebase
12
+ your commits into logical chunks as necessary.
13
+ * Use [quality commit messages][].
14
+ * Do not change the version number; when your patch is accepted and a release
15
+ is made, the version will be updated at that point.
16
+ * Submit a GitHub pull request with your changes.
17
+ * New or changed behaviours require appropriate documentation.
18
+
19
+ ### Test Dependencies
20
+
21
+ Diff::LCS uses Ryan Davis’s [Hoe][] to manage the release process, and it adds
22
+ a number of rake tasks. You will mostly be interested in:
23
+
24
+ $ rake
25
+
26
+ which runs the tests the same way that:
27
+
28
+ $ rake spec
29
+ $ rake travis
30
+
31
+ will do.
32
+
33
+ To assist with the installation of the development dependencies, I have
34
+ provided a Gemfile pointing to the (generated) `diff-lcs.gemspec` file. This
35
+ will permit you to do:
36
+
37
+ $ bundle install
38
+
39
+ to get the development dependencies. If you aleady have `hoe` installed, you
40
+ can accomplish the same thing with:
41
+
42
+ $ rake newb
43
+
44
+ This task will install any missing dependencies, run the tests/specs, and
45
+ generate the RDoc.
46
+
47
+ You can run tests with code coverage analysis by running:
48
+
49
+ $ rake spec:coverage
50
+
51
+ ### Workflow
52
+
53
+ Here's the most direct way to get your work merged into the project:
54
+
55
+ * Fork the project.
56
+ * Clone down your fork (`git clone git://github.com/<username>/diff-lcs.git`).
57
+ * Create a topic branch to contain your change (`git checkout -b
58
+ my_awesome_feature`).
59
+ * Hack away, add tests. Not necessarily in that order.
60
+ * Make sure everything still passes by running `rake`.
61
+ * If necessary, rebase your commits into logical chunks, without errors.
62
+ * Push the branch up (`git push origin my_awesome_feature`).
63
+ * Create a pull request against halostatue/diff-lcs and describe what your
64
+ change does and the why you think it should be merged.
65
+
66
+ ### Contributors
67
+
68
+ * Austin Ziegler created Diff::LCS.
69
+
70
+ Thanks to everyone else who has contributed to Diff::LCS:
71
+
72
+ * Kenichi Kamiya
73
+ * Michael Granger
74
+ * Vít Ondruch
75
+ * Jon Rowe
76
+ * Koichi Ito
77
+ * Josef Strzibny
78
+ * Josh Bronson
79
+ * Mark Friedgan
80
+ * Akinori MUSHA
81
+
82
+ [Rspec]: http://rspec.info/documentation/
83
+ [quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
84
+ [Hoe]: https://github.com/seattlerb/hoe
@@ -0,0 +1,263 @@
1
+ # History
2
+
3
+ ## 1.4.2 / 2020-06-23
4
+
5
+ - Camille Drapier fixed a small issue with RuboCop configuration. [#59][]
6
+ - Applied another fix (and unit test) to fix an issue for the Chef team.
7
+ [#60][], [#61][]
8
+
9
+ ## 1.4.1 / 2020-06-23
10
+
11
+ - Fix an issue where diff sizes could be negative, and they should be. [#57][],
12
+ [#58][]
13
+
14
+ ## 1.4 / 2020-06-23
15
+
16
+ - Ruby versions lower than 2.4 are soft-deprecated and will not be run as
17
+ part of the CI process any longer.
18
+ - Akinora MUSHA (knu) added the ability for Diff::LCS::Change objects to be
19
+ implicitly treated arrays. Originally provided as pull request [#47][],
20
+ but it introduced a number of test failures as documented in [#48][], and
21
+ remediation of Diff::LCS itself was introduced in [#49][].
22
+ - Resolved [#5][] with some tests comparing output from `system` calls to
23
+ `bin/ldiff` with some pre-generated output. Resolved [#6][] with these
24
+ tests.
25
+ - Resolved a previously undetected `bin/ldiff` issue with `--context` output
26
+ not matching `diff --context` output.
27
+ - Resolved an issue with later versions of Ruby not working with an `OptParse`
28
+ specification of `Numeric`; this has been changed to `Integer`.
29
+ - Brandon Fish added truffleruby in [#52][].
30
+ - Fixed two missing classes as reported in [#53][].
31
+
32
+ ## 1.3 / 2017-01-18
33
+
34
+ - Bugs fixed:
35
+
36
+ - Fixed an error for bin/ldiff --version. Fixes issue [#21][].
37
+ - Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform
38
+ equality comparisons against themselves. Provided by Kevin Mook in
39
+ pull request [#29][].
40
+ - Fix tab expansion in htmldiff, provided by Mark Friedgan in
41
+ pull request [#25][].
42
+ - Silence Ruby 2.4 Fixnum deprecation warnings. Fixxues issue [#38][] and
43
+ [pull request#36][].
44
+ - Ensure that test dependencies are loaded properly. Fixes issue [#33][]
45
+ and pull request [#34][].
46
+ - Fix issue [#1][] with incorrect intuition of patch direction. Tentative
47
+ fix, but the previous failure cases pass now.
48
+
49
+ - Tooling changes:
50
+
51
+ - Added SimpleCov and Coveralls support.
52
+ - Change the homepage (temporarily) to the GitHub repo.
53
+ - Updated testing and gem infrastructure.
54
+ - Modernized the specs.
55
+
56
+ - Cleaned up documentation.
57
+
58
+ - Added a Code of Conduct.
59
+
60
+ ## 1.2.5 / 2013-11-08
61
+
62
+ - Bugs fixed:
63
+
64
+ - Comparing arrays flattened them too far, especially with
65
+ Diff::LCS.sdiff. Fixed by Josh Bronson in pull request [#23][].
66
+
67
+ ## 1.2.4 / 2013-04-20
68
+
69
+ - Bugs fixed:
70
+
71
+ - A bug was introduced after 1.1.3 when pruning common sequences at the
72
+ start of comparison. Paul Kunysch (@pck) fixed this in
73
+ pull request [#18][]. Thanks!
74
+
75
+ - The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268][] has been
76
+ fixed by the Rubinius team two days after it was filed. Thanks for
77
+ fixing this so quickly!
78
+
79
+ - Switching to Raggi's hoe-gemspec2 for gemspec generation.
80
+
81
+ ## 1.2.3 / 2013-04-11
82
+
83
+ - Bugs Fixed:
84
+
85
+ - The new encoding detection for diff output generation (added in 1.2.2)
86
+ introduced a bug if the left side of the comparison was the empty set.
87
+ Originally found in [rspec/rspec-expectations#238][] and
88
+ [rspec/rspec-expectations#239][]. Jon Rowe developed a reasonable
89
+ heuristic (left side, right side, empty string literal) to avoid this
90
+ bug.
91
+ - There is a known issue with Rubinius in 1.9 mode reported in
92
+ [rubinius/rubinius#2268][] and demonstrated in the Travis CI builds.
93
+ For all other tested platforms, diff-lcs is considered stable. As soon
94
+ as a suitably small test-case can be created for the Rubinius team to
95
+ examine, this will be added to the Rubinius issue around this.
96
+
97
+ ## 1.2.2 / 2013-03-30
98
+
99
+ - Bugs Fixed:
100
+
101
+ - Diff::LCS::Hunk could not properly generate a difference for comparison
102
+ sets that are not US-ASCII-compatible because of the use of literal
103
+ regular expressions and strings. Jon Rowe found this in
104
+ [rspec/rspec-expectations#219][] and provided a first pass
105
+ implementation in pull request [#15][]. I've reworked it because of
106
+ test failures in Rubinius when running in Ruby 1.9 mode. This coerces
107
+ the added values to the encoding of the old dataset (as determined by
108
+ the first piece of the old dataset).
109
+ - Adding Travis CI testing for Ruby 2.0.
110
+
111
+ ## 1.2.1 / 2013-02-09
112
+
113
+ - Bugs Fixed:
114
+
115
+ - As seen in [rspec/rspec-expectations#200][], the release of
116
+ Diff::LCS 1.2 introduced an unnecessary public API change to
117
+ Diff::LCS::Hunk (see the change at
118
+ [rspec/rspec-expectations@3d6fc82c][] for details). The new method name
119
+ (and behaviour) is more correct, but I should not have renamed the
120
+ function or should have at least provided an alias. This release
121
+ restores Diff::LCS::Hunk#unshift as an alias to #merge. Note that the
122
+ old #unshift behaviour was incorrect and will not be restored.
123
+
124
+ ## 1.2.0 / 2013-01-21
125
+
126
+ - Minor Enhancements:
127
+
128
+ - Added special case handling for Diff::LCS.patch so that it handles
129
+ patches that are empty or contain no changes.
130
+ - Added two new methods (#patch_me and #unpatch_me) to the includable
131
+ module.
132
+
133
+ - Bugs Fixed:
134
+
135
+ - Fixed issue [#1][] patch direction detection.
136
+ - Resolved issue [#2][] by handling `string[string.size, 1]` properly (it
137
+ returns `""` not `nil`).
138
+ - Michael Granger (ged) fixed an implementation error in
139
+ Diff::LCS::Change and added specs in pull request [#8][]. Thanks!
140
+ - Made the code auto-testable.
141
+ - Vít Ondruch (voxik) provided the latest version of the GPL2 license
142
+ file in pull request [#10][]. Thanks!
143
+ - Fixed a documentation issue with the includable versions of #patch! and
144
+ #unpatch! where they implied that they would replace the original
145
+ value. Given that Diff::LCS.patch always returns a copy, the
146
+ documentation was incorrect and has been corrected. To provide the
147
+ behaviour that was originally documented, two new methods were added to
148
+ provide this behaviour. Found by scooter-dangle in issue [#12][].
149
+ Thanks!
150
+
151
+ - Code Style Changes:
152
+
153
+ - Removed trailing spaces.
154
+ - Calling class methods using `.` instead of `::`.
155
+ - Vít Ondruch (voxik) removed unnecessary shebangs in pull request [#9][].
156
+ Thanks!
157
+ - Kenichi Kamiya (kachick) removed some warnings of an unused variable in
158
+ lucky pull request [#13][]. Thanks!
159
+ - Embarked on a major refactoring to make the files a little more
160
+ manageable and understand the code on a deeper level.
161
+ - Adding to http://travis-ci.org.
162
+
163
+ ## 1.1.3 / 2011-08-27
164
+
165
+ - Converted to 'hoe' for release.
166
+ - Converted tests to RSpec 2.
167
+ - Extracted the body of htmldiff into a class available from
168
+ diff/lcs/htmldiff.
169
+ - Migrated development and issue tracking to GitHub.
170
+ - Bugs fixed:
171
+
172
+ - Eliminated the explicit use of RubyGems in both bin/htmldiff and
173
+ bin/ldiff. Resolves issue [#4][].
174
+ - Eliminated Ruby warnings. Resolves issue [#3][].
175
+
176
+ ## 1.1.2 / 2004-10-20
177
+
178
+ - Fixed a problem reported by Mauricio Fernandez in htmldiff.
179
+
180
+ ## 1.1.1 / 2004-09-25
181
+
182
+ - Fixed bug #891 (Set returned from patch command does not contain last equal
183
+ part).
184
+ - Fixed a problem with callback initialisation code (it assumed that all
185
+ callbacks passed as classes can be initialised; now, it rescues
186
+ NoMethodError in the event of private :new being called).
187
+ - Modified the non-initialisable callbacks to have a private #new method.
188
+ - Moved ldiff core code to Diff::LCS::Ldiff (diff/lcs/ldiff.rb).
189
+
190
+ ## 1.1.0 / -
191
+
192
+ - Eliminated the need for Diff::LCS::Event and removed it.
193
+ - Added a contextual diff callback, Diff::LCS::ContextDiffCallback.
194
+ - Implemented patching/unpatching for standard Diff callback output formats
195
+ with both #diff and #sdiff.
196
+ - Extensive documentation changes.
197
+
198
+ ## 1.0.4
199
+
200
+ - Fixed a problem with bin/ldiff output, especially for unified format.
201
+ Newlines that should have been present weren't.
202
+ - Changed the .tar.gz installer to generate Windows batch files if ones do
203
+ not exist already. Removed the existing batch files as they didn't work.
204
+
205
+ ## 1.0.3
206
+
207
+ - Fixed a problem with #traverse_sequences where the first difference from
208
+ the left sequence might not be appropriately captured.
209
+
210
+ ## 1.0.2
211
+
212
+ - Fixed an issue with ldiff not working because actions were changed from
213
+ symbols to strings.
214
+
215
+ ## 1.0.1
216
+
217
+ - Minor modifications to the gemspec, the README.
218
+ - Renamed the diff program to ldiff (as well as the companion batch file) so
219
+ as to not collide with the standard diff program.
220
+ - Fixed issues with RubyGems. Requires RubyGems > 0.6.1 or >= 0.6.1 with the
221
+ latest CVS version.
222
+
223
+ ## 1.0
224
+
225
+ - Initial release based mostly on Perl's Algorithm::Diff.
226
+
227
+ [rubinius/rubinius#2268]: https://github.com/rubinius/rubinius/issues/2268
228
+ [rspec/rspec-expectations#239]: https://github.com/rspec/rspec-expectations/issues/239
229
+ [rspec/rspec-expectations#238]: https://github.com/rspec/rspec-expectations/issues/238
230
+ [rspec/rspec-expectations#219]: https://github.com/rspec/rspec-expectations/issues/219
231
+ [rspec/rspec-expectations@3d6fc82c]: https://github.com/rspec/rspec-expectations/commit/3d6fc82c
232
+ [rspec/rspec-expectations#200]: https://github.com/rspec/rspec-expectations/pull/200
233
+ [#1]: https://github.com/halostatue/diff-lcs/issues/1
234
+ [#2]: https://github.com/halostatue/diff-lcs/issues/2
235
+ [#3]: https://github.com/halostatue/diff-lcs/issues/3
236
+ [#4]: https://github.com/halostatue/diff-lcs/issues/4
237
+ [#5]: https://github.com/halostatue/diff-lcs/issues/5
238
+ [#6]: https://github.com/halostatue/diff-lcs/issues/6
239
+ [#8]: https://github.com/halostatue/diff-lcs/pull/8
240
+ [#9]: https://github.com/halostatue/diff-lcs/pull/9
241
+ [#10]: https://github.com/halostatue/diff-lcs/pull/10
242
+ [#12]: https://github.com/halostatue/diff-lcs/issues/12
243
+ [#13]: https://github.com/halostatue/diff-lcs/pull/13
244
+ [#15]: https://github.com/halostatue/diff-lcs/pull/15
245
+ [#18]: https://github.com/halostatue/diff-lcs/pull/18
246
+ [#21]: https://github.com/halostatue/diff-lcs/issues/21
247
+ [#23]: https://github.com/halostatue/diff-lcs/pull/23
248
+ [#25]: https://github.com/halostatue/diff-lcs/pull/25
249
+ [#29]: https://github.com/halostatue/diff-lcs/pull/29
250
+ [#33]: https://github.com/halostatue/diff-lcs/issues/33
251
+ [#34]: https://github.com/halostatue/diff-lcs/pull/34
252
+ [#36]: https://github.com/halostatue/diff-lcs/pull/36
253
+ [#38]: https://github.com/halostatue/diff-lcs/issues/38
254
+ [#47]: https://github.com/halostatue/diff-lcs/pull/47
255
+ [#48]: https://github.com/halostatue/diff-lcs/issues/48
256
+ [#49]: https://github.com/halostatue/diff-lcs/pull/49
257
+ [#52]: https://github.com/halostatue/diff-lcs/pull/52
258
+ [#53]: https://github.com/halostatue/diff-lcs/issues/53
259
+ [#57]: https://github.com/halostatue/diff-lcs/issues/57
260
+ [#58]: https://github.com/halostatue/diff-lcs/pull/58
261
+ [#59]: https://github.com/halostatue/diff-lcs/pull/59
262
+ [#60]: https://github.com/halostatue/diff-lcs/issues/60
263
+ [#61]: https://github.com/halostatue/diff-lcs/pull/61
File without changes
@@ -1,12 +1,8 @@
1
- .autotest
2
- .gemtest
3
- .hoerc
4
1
  .rspec
5
- .travis.yml
6
- Contributing.rdoc
7
- Gemfile
8
- History.rdoc
9
- License.rdoc
2
+ Code-of-Conduct.md
3
+ Contributing.md
4
+ History.md
5
+ License.md
10
6
  Manifest.txt
11
7
  README.rdoc
12
8
  Rakefile
@@ -18,6 +14,7 @@ docs/artistic.txt
18
14
  lib/diff-lcs.rb
19
15
  lib/diff/lcs.rb
20
16
  lib/diff/lcs/array.rb
17
+ lib/diff/lcs/backports.rb
21
18
  lib/diff/lcs/block.rb
22
19
  lib/diff/lcs/callbacks.rb
23
20
  lib/diff/lcs/change.rb
@@ -28,9 +25,19 @@ lib/diff/lcs/ldiff.rb
28
25
  lib/diff/lcs/string.rb
29
26
  spec/change_spec.rb
30
27
  spec/diff_spec.rb
28
+ spec/fixtures/aX
29
+ spec/fixtures/bXaX
30
+ spec/fixtures/ds1.csv
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
31
37
  spec/hunk_spec.rb
32
38
  spec/issues_spec.rb
33
39
  spec/lcs_spec.rb
40
+ spec/ldiff_spec.rb
34
41
  spec/patch_spec.rb
35
42
  spec/sdiff_spec.rb
36
43
  spec/spec_helper.rb