diff-lcs 2.0.0.beta.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -5
- data/CODE_OF_CONDUCT.md +152 -114
- data/CONTRIBUTING.md +8 -3
- data/CONTRIBUTORS.md +19 -9
- data/Manifest.txt +88 -70
- data/README.md +30 -17
- data/Rakefile +90 -22
- data/SECURITY.md +3 -12
- data/integration/compare/array_diff_spec.rb +10 -0
- data/integration/compare/hash_diff_spec.rb +25 -0
- data/integration/compare/string_diff_spec.rb +10 -0
- data/integration/rspec_differ_spec.rb +26 -0
- data/integration/rspec_expectations_spec.rb +32 -0
- data/integration/runner +20 -0
- data/lib/diff/lcs/change.rb +21 -16
- data/lib/diff/lcs/ldiff.rb +9 -4
- data/lib/diff/lcs/version.rb +1 -1
- data/spec/hunk_spec.rb +32 -34
- data/spec/ldiff_spec.rb +7 -7
- data/spec/spec_helper.rb +4 -12
- data/test/fixtures/ldiff/output.diff-c +7 -0
- data/test/fixtures/ldiff/output.diff-u +5 -0
- data/test/fixtures/ldiff/output.diff.bin2 +1 -0
- data/test/fixtures/ldiff/output.diff.bin2-c +1 -0
- data/test/fixtures/ldiff/output.diff.bin2-e +1 -0
- data/test/fixtures/ldiff/output.diff.bin2-f +1 -0
- data/test/fixtures/ldiff/output.diff.bin2-u +1 -0
- data/{spec → test}/fixtures/ldiff/output.diff.chef-c +2 -2
- data/test/fixtures/ldiff/output.diff.chef-u +9 -0
- data/{spec → test}/fixtures/ldiff/output.diff.chef2-c +2 -2
- data/{spec → test}/fixtures/ldiff/output.diff.chef2-u +2 -2
- data/test/fixtures/ldiff/output.diff.empty.vs.four_lines-c +9 -0
- data/test/fixtures/ldiff/output.diff.empty.vs.four_lines-u +7 -0
- data/test/fixtures/ldiff/output.diff.four_lines.vs.empty-c +9 -0
- data/test/fixtures/ldiff/output.diff.four_lines.vs.empty-u +7 -0
- data/test/fixtures/ldiff/output.diff.issue95_trailing_context-c +9 -0
- data/test/fixtures/ldiff/output.diff.issue95_trailing_context-u +6 -0
- data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line1-c +2 -2
- data/test/fixtures/ldiff/output.diff.missing_new_line1-u +9 -0
- data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line2-c +2 -2
- data/test/fixtures/ldiff/output.diff.missing_new_line2-u +9 -0
- data/test/test_block.rb +34 -0
- data/test/test_change.rb +234 -0
- data/test/test_diff.rb +53 -0
- data/test/test_helper.rb +225 -0
- data/test/test_hunk.rb +72 -0
- data/test/test_issues.rb +168 -0
- data/test/test_lcs.rb +47 -0
- data/test/test_ldiff.rb +89 -0
- data/test/test_patch.rb +362 -0
- data/test/test_sdiff.rb +167 -0
- data/test/test_traverse_balanced.rb +322 -0
- data/test/test_traverse_sequences.rb +187 -0
- metadata +136 -105
- data/spec/fixtures/ldiff/output.diff-c +0 -7
- data/spec/fixtures/ldiff/output.diff-u +0 -5
- data/spec/fixtures/ldiff/output.diff.bin2 +0 -1
- data/spec/fixtures/ldiff/output.diff.bin2-c +0 -1
- data/spec/fixtures/ldiff/output.diff.bin2-e +0 -1
- data/spec/fixtures/ldiff/output.diff.bin2-f +0 -1
- data/spec/fixtures/ldiff/output.diff.bin2-u +0 -1
- data/spec/fixtures/ldiff/output.diff.chef-u +0 -9
- data/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-c +0 -9
- data/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-u +0 -7
- data/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-c +0 -9
- data/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-u +0 -7
- data/spec/fixtures/ldiff/output.diff.issue95_trailing_context-c +0 -9
- data/spec/fixtures/ldiff/output.diff.issue95_trailing_context-u +0 -6
- data/spec/fixtures/ldiff/output.diff.missing_new_line1-u +0 -9
- data/spec/fixtures/ldiff/output.diff.missing_new_line2-u +0 -9
- /data/{spec → test}/fixtures/123_x +0 -0
- /data/{spec → test}/fixtures/456_x +0 -0
- /data/{spec → test}/fixtures/aX +0 -0
- /data/{spec → test}/fixtures/bXaX +0 -0
- /data/{spec → test}/fixtures/ds1.csv +0 -0
- /data/{spec → test}/fixtures/ds2.csv +0 -0
- /data/{spec → test}/fixtures/empty +0 -0
- /data/{spec → test}/fixtures/file1.bin +0 -0
- /data/{spec → test}/fixtures/file2.bin +0 -0
- /data/{spec → test}/fixtures/four_lines +0 -0
- /data/{spec → test}/fixtures/four_lines_with_missing_new_line +0 -0
- /data/{spec → test}/fixtures/ldiff/diff.missing_new_line1-e +0 -0
- /data/{spec → test}/fixtures/ldiff/diff.missing_new_line1-f +0 -0
- /data/{spec → test}/fixtures/ldiff/diff.missing_new_line2-e +0 -0
- /data/{spec → test}/fixtures/ldiff/diff.missing_new_line2-f +0 -0
- /data/{spec → test}/fixtures/ldiff/error.diff.chef-e +0 -0
- /data/{spec → test}/fixtures/ldiff/error.diff.chef-f +0 -0
- /data/{spec → test}/fixtures/ldiff/error.diff.missing_new_line1-e +0 -0
- /data/{spec → test}/fixtures/ldiff/error.diff.missing_new_line1-f +0 -0
- /data/{spec → test}/fixtures/ldiff/error.diff.missing_new_line2-e +0 -0
- /data/{spec → test}/fixtures/ldiff/error.diff.missing_new_line2-f +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.bin1 +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.bin1-c +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.bin1-e +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.bin1-f +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.bin1-u +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.chef +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.chef2 +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.chef2-d +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.empty.vs.four_lines +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.empty.vs.four_lines-e +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.empty.vs.four_lines-f +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.four_lines.vs.empty +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.four_lines.vs.empty-e +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.four_lines.vs.empty-f +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.issue95_trailing_context +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.issue95_trailing_context-e +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.issue95_trailing_context-f +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line1 +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line1-e +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line1-f +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line2 +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line2-e +0 -0
- /data/{spec → test}/fixtures/ldiff/output.diff.missing_new_line2-f +0 -0
- /data/{spec → test}/fixtures/new-chef +0 -0
- /data/{spec → test}/fixtures/new-chef2 +0 -0
- /data/{spec → test}/fixtures/old-chef +0 -0
- /data/{spec → test}/fixtures/old-chef2 +0 -0
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: diff-lcs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Austin Ziegler
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1970-01-01 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: hoe
|
|
@@ -29,40 +29,56 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
33
|
-
- - ">="
|
|
34
|
-
- !ruby/object:Gem::Version
|
|
35
|
-
version: 2.1.1
|
|
32
|
+
version: '3.0'
|
|
36
33
|
type: :development
|
|
37
34
|
prerelease: false
|
|
38
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
39
36
|
requirements:
|
|
40
37
|
- - "~>"
|
|
41
38
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: '
|
|
43
|
-
- - ">="
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: 2.1.1
|
|
39
|
+
version: '3.0'
|
|
46
40
|
- !ruby/object:Gem::Dependency
|
|
47
|
-
name:
|
|
41
|
+
name: minitest
|
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
|
49
43
|
requirements:
|
|
50
|
-
- - "
|
|
44
|
+
- - "~>"
|
|
51
45
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: '
|
|
53
|
-
|
|
46
|
+
version: '6.0'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '6.0'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: minitest-autotest
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
54
59
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: '
|
|
60
|
+
version: '1.0'
|
|
56
61
|
type: :development
|
|
57
62
|
prerelease: false
|
|
58
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
59
64
|
requirements:
|
|
60
|
-
- - "
|
|
65
|
+
- - "~>"
|
|
61
66
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: '
|
|
63
|
-
|
|
67
|
+
version: '1.0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: minitest-focus
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
64
73
|
- !ruby/object:Gem::Version
|
|
65
|
-
version: '
|
|
74
|
+
version: '1.1'
|
|
75
|
+
type: :development
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '1.1'
|
|
66
82
|
- !ruby/object:Gem::Dependency
|
|
67
83
|
name: rake
|
|
68
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -89,20 +105,20 @@ dependencies:
|
|
|
89
105
|
requirements:
|
|
90
106
|
- - ">="
|
|
91
107
|
- !ruby/object:Gem::Version
|
|
92
|
-
version: 6.
|
|
108
|
+
version: '6.0'
|
|
93
109
|
- - "<"
|
|
94
110
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '
|
|
111
|
+
version: '8'
|
|
96
112
|
type: :development
|
|
97
113
|
prerelease: false
|
|
98
114
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
115
|
requirements:
|
|
100
116
|
- - ">="
|
|
101
117
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 6.
|
|
118
|
+
version: '6.0'
|
|
103
119
|
- - "<"
|
|
104
120
|
- !ruby/object:Gem::Version
|
|
105
|
-
version: '
|
|
121
|
+
version: '8'
|
|
106
122
|
- !ruby/object:Gem::Dependency
|
|
107
123
|
name: simplecov
|
|
108
124
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -173,20 +189,17 @@ dependencies:
|
|
|
173
189
|
- - "~>"
|
|
174
190
|
- !ruby/object:Gem::Version
|
|
175
191
|
version: '0.11'
|
|
176
|
-
description:
|
|
192
|
+
description: |
|
|
177
193
|
Diff::LCS computes the difference between two Enumerable sequences using the
|
|
178
194
|
McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities
|
|
179
195
|
to create a simple HTML diff output format and a standard diff-like tool.
|
|
180
196
|
|
|
181
|
-
This is release
|
|
182
|
-
|
|
183
|
-
of
|
|
197
|
+
This is release 2.0, which has significant breaking changes (removal of
|
|
198
|
+
deprecations and workarounds) and requires at least Ruby 3.2 or higher. See full
|
|
199
|
+
details in the `CHANGELOG`, but users of diff-lcs should not notice any
|
|
200
|
+
significant changes to the APIs.
|
|
184
201
|
|
|
185
|
-
|
|
186
|
-
no longer part of the CI test suite. If any changes have been introduced that
|
|
187
|
-
break those versions, bug reports and patches will be accepted, but it will be
|
|
188
|
-
up to the reporter to verify any fixes prior to release. The next major release
|
|
189
|
-
will completely break compatibility.
|
|
202
|
+
==== To Install:
|
|
190
203
|
email:
|
|
191
204
|
- halostatue@gmail.com
|
|
192
205
|
executables:
|
|
@@ -215,6 +228,12 @@ files:
|
|
|
215
228
|
- Rakefile
|
|
216
229
|
- SECURITY.md
|
|
217
230
|
- bin/ldiff
|
|
231
|
+
- integration/compare/array_diff_spec.rb
|
|
232
|
+
- integration/compare/hash_diff_spec.rb
|
|
233
|
+
- integration/compare/string_diff_spec.rb
|
|
234
|
+
- integration/rspec_differ_spec.rb
|
|
235
|
+
- integration/rspec_expectations_spec.rb
|
|
236
|
+
- integration/runner
|
|
218
237
|
- lib/diff-lcs.rb
|
|
219
238
|
- lib/diff/lcs.rb
|
|
220
239
|
- lib/diff/lcs/array.rb
|
|
@@ -231,76 +250,6 @@ files:
|
|
|
231
250
|
- licenses/dco.txt
|
|
232
251
|
- spec/change_spec.rb
|
|
233
252
|
- spec/diff_spec.rb
|
|
234
|
-
- spec/fixtures/123_x
|
|
235
|
-
- spec/fixtures/456_x
|
|
236
|
-
- spec/fixtures/aX
|
|
237
|
-
- spec/fixtures/bXaX
|
|
238
|
-
- spec/fixtures/ds1.csv
|
|
239
|
-
- spec/fixtures/ds2.csv
|
|
240
|
-
- spec/fixtures/empty
|
|
241
|
-
- spec/fixtures/file1.bin
|
|
242
|
-
- spec/fixtures/file2.bin
|
|
243
|
-
- spec/fixtures/four_lines
|
|
244
|
-
- spec/fixtures/four_lines_with_missing_new_line
|
|
245
|
-
- spec/fixtures/ldiff/diff.missing_new_line1-e
|
|
246
|
-
- spec/fixtures/ldiff/diff.missing_new_line1-f
|
|
247
|
-
- spec/fixtures/ldiff/diff.missing_new_line2-e
|
|
248
|
-
- spec/fixtures/ldiff/diff.missing_new_line2-f
|
|
249
|
-
- spec/fixtures/ldiff/error.diff.chef-e
|
|
250
|
-
- spec/fixtures/ldiff/error.diff.chef-f
|
|
251
|
-
- spec/fixtures/ldiff/error.diff.missing_new_line1-e
|
|
252
|
-
- spec/fixtures/ldiff/error.diff.missing_new_line1-f
|
|
253
|
-
- spec/fixtures/ldiff/error.diff.missing_new_line2-e
|
|
254
|
-
- spec/fixtures/ldiff/error.diff.missing_new_line2-f
|
|
255
|
-
- spec/fixtures/ldiff/output.diff
|
|
256
|
-
- spec/fixtures/ldiff/output.diff-c
|
|
257
|
-
- spec/fixtures/ldiff/output.diff-u
|
|
258
|
-
- spec/fixtures/ldiff/output.diff.bin1
|
|
259
|
-
- spec/fixtures/ldiff/output.diff.bin1-c
|
|
260
|
-
- spec/fixtures/ldiff/output.diff.bin1-e
|
|
261
|
-
- spec/fixtures/ldiff/output.diff.bin1-f
|
|
262
|
-
- spec/fixtures/ldiff/output.diff.bin1-u
|
|
263
|
-
- spec/fixtures/ldiff/output.diff.bin2
|
|
264
|
-
- spec/fixtures/ldiff/output.diff.bin2-c
|
|
265
|
-
- spec/fixtures/ldiff/output.diff.bin2-e
|
|
266
|
-
- spec/fixtures/ldiff/output.diff.bin2-f
|
|
267
|
-
- spec/fixtures/ldiff/output.diff.bin2-u
|
|
268
|
-
- spec/fixtures/ldiff/output.diff.chef
|
|
269
|
-
- spec/fixtures/ldiff/output.diff.chef-c
|
|
270
|
-
- spec/fixtures/ldiff/output.diff.chef-u
|
|
271
|
-
- spec/fixtures/ldiff/output.diff.chef2
|
|
272
|
-
- spec/fixtures/ldiff/output.diff.chef2-c
|
|
273
|
-
- spec/fixtures/ldiff/output.diff.chef2-d
|
|
274
|
-
- spec/fixtures/ldiff/output.diff.chef2-u
|
|
275
|
-
- spec/fixtures/ldiff/output.diff.empty.vs.four_lines
|
|
276
|
-
- spec/fixtures/ldiff/output.diff.empty.vs.four_lines-c
|
|
277
|
-
- spec/fixtures/ldiff/output.diff.empty.vs.four_lines-e
|
|
278
|
-
- spec/fixtures/ldiff/output.diff.empty.vs.four_lines-f
|
|
279
|
-
- spec/fixtures/ldiff/output.diff.empty.vs.four_lines-u
|
|
280
|
-
- spec/fixtures/ldiff/output.diff.four_lines.vs.empty
|
|
281
|
-
- spec/fixtures/ldiff/output.diff.four_lines.vs.empty-c
|
|
282
|
-
- spec/fixtures/ldiff/output.diff.four_lines.vs.empty-e
|
|
283
|
-
- spec/fixtures/ldiff/output.diff.four_lines.vs.empty-f
|
|
284
|
-
- spec/fixtures/ldiff/output.diff.four_lines.vs.empty-u
|
|
285
|
-
- spec/fixtures/ldiff/output.diff.issue95_trailing_context
|
|
286
|
-
- spec/fixtures/ldiff/output.diff.issue95_trailing_context-c
|
|
287
|
-
- spec/fixtures/ldiff/output.diff.issue95_trailing_context-e
|
|
288
|
-
- spec/fixtures/ldiff/output.diff.issue95_trailing_context-f
|
|
289
|
-
- spec/fixtures/ldiff/output.diff.issue95_trailing_context-u
|
|
290
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line1
|
|
291
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line1-c
|
|
292
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line1-e
|
|
293
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line1-f
|
|
294
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line1-u
|
|
295
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line2
|
|
296
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line2-c
|
|
297
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line2-e
|
|
298
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line2-f
|
|
299
|
-
- spec/fixtures/ldiff/output.diff.missing_new_line2-u
|
|
300
|
-
- spec/fixtures/new-chef
|
|
301
|
-
- spec/fixtures/new-chef2
|
|
302
|
-
- spec/fixtures/old-chef
|
|
303
|
-
- spec/fixtures/old-chef2
|
|
304
253
|
- spec/hunk_spec.rb
|
|
305
254
|
- spec/issues_spec.rb
|
|
306
255
|
- spec/lcs_spec.rb
|
|
@@ -310,16 +259,98 @@ files:
|
|
|
310
259
|
- spec/spec_helper.rb
|
|
311
260
|
- spec/traverse_balanced_spec.rb
|
|
312
261
|
- spec/traverse_sequences_spec.rb
|
|
262
|
+
- test/fixtures/123_x
|
|
263
|
+
- test/fixtures/456_x
|
|
264
|
+
- test/fixtures/aX
|
|
265
|
+
- test/fixtures/bXaX
|
|
266
|
+
- test/fixtures/ds1.csv
|
|
267
|
+
- test/fixtures/ds2.csv
|
|
268
|
+
- test/fixtures/empty
|
|
269
|
+
- test/fixtures/file1.bin
|
|
270
|
+
- test/fixtures/file2.bin
|
|
271
|
+
- test/fixtures/four_lines
|
|
272
|
+
- test/fixtures/four_lines_with_missing_new_line
|
|
273
|
+
- test/fixtures/ldiff/diff.missing_new_line1-e
|
|
274
|
+
- test/fixtures/ldiff/diff.missing_new_line1-f
|
|
275
|
+
- test/fixtures/ldiff/diff.missing_new_line2-e
|
|
276
|
+
- test/fixtures/ldiff/diff.missing_new_line2-f
|
|
277
|
+
- test/fixtures/ldiff/error.diff.chef-e
|
|
278
|
+
- test/fixtures/ldiff/error.diff.chef-f
|
|
279
|
+
- test/fixtures/ldiff/error.diff.missing_new_line1-e
|
|
280
|
+
- test/fixtures/ldiff/error.diff.missing_new_line1-f
|
|
281
|
+
- test/fixtures/ldiff/error.diff.missing_new_line2-e
|
|
282
|
+
- test/fixtures/ldiff/error.diff.missing_new_line2-f
|
|
283
|
+
- test/fixtures/ldiff/output.diff
|
|
284
|
+
- test/fixtures/ldiff/output.diff-c
|
|
285
|
+
- test/fixtures/ldiff/output.diff-u
|
|
286
|
+
- test/fixtures/ldiff/output.diff.bin1
|
|
287
|
+
- test/fixtures/ldiff/output.diff.bin1-c
|
|
288
|
+
- test/fixtures/ldiff/output.diff.bin1-e
|
|
289
|
+
- test/fixtures/ldiff/output.diff.bin1-f
|
|
290
|
+
- test/fixtures/ldiff/output.diff.bin1-u
|
|
291
|
+
- test/fixtures/ldiff/output.diff.bin2
|
|
292
|
+
- test/fixtures/ldiff/output.diff.bin2-c
|
|
293
|
+
- test/fixtures/ldiff/output.diff.bin2-e
|
|
294
|
+
- test/fixtures/ldiff/output.diff.bin2-f
|
|
295
|
+
- test/fixtures/ldiff/output.diff.bin2-u
|
|
296
|
+
- test/fixtures/ldiff/output.diff.chef
|
|
297
|
+
- test/fixtures/ldiff/output.diff.chef-c
|
|
298
|
+
- test/fixtures/ldiff/output.diff.chef-u
|
|
299
|
+
- test/fixtures/ldiff/output.diff.chef2
|
|
300
|
+
- test/fixtures/ldiff/output.diff.chef2-c
|
|
301
|
+
- test/fixtures/ldiff/output.diff.chef2-d
|
|
302
|
+
- test/fixtures/ldiff/output.diff.chef2-u
|
|
303
|
+
- test/fixtures/ldiff/output.diff.empty.vs.four_lines
|
|
304
|
+
- test/fixtures/ldiff/output.diff.empty.vs.four_lines-c
|
|
305
|
+
- test/fixtures/ldiff/output.diff.empty.vs.four_lines-e
|
|
306
|
+
- test/fixtures/ldiff/output.diff.empty.vs.four_lines-f
|
|
307
|
+
- test/fixtures/ldiff/output.diff.empty.vs.four_lines-u
|
|
308
|
+
- test/fixtures/ldiff/output.diff.four_lines.vs.empty
|
|
309
|
+
- test/fixtures/ldiff/output.diff.four_lines.vs.empty-c
|
|
310
|
+
- test/fixtures/ldiff/output.diff.four_lines.vs.empty-e
|
|
311
|
+
- test/fixtures/ldiff/output.diff.four_lines.vs.empty-f
|
|
312
|
+
- test/fixtures/ldiff/output.diff.four_lines.vs.empty-u
|
|
313
|
+
- test/fixtures/ldiff/output.diff.issue95_trailing_context
|
|
314
|
+
- test/fixtures/ldiff/output.diff.issue95_trailing_context-c
|
|
315
|
+
- test/fixtures/ldiff/output.diff.issue95_trailing_context-e
|
|
316
|
+
- test/fixtures/ldiff/output.diff.issue95_trailing_context-f
|
|
317
|
+
- test/fixtures/ldiff/output.diff.issue95_trailing_context-u
|
|
318
|
+
- test/fixtures/ldiff/output.diff.missing_new_line1
|
|
319
|
+
- test/fixtures/ldiff/output.diff.missing_new_line1-c
|
|
320
|
+
- test/fixtures/ldiff/output.diff.missing_new_line1-e
|
|
321
|
+
- test/fixtures/ldiff/output.diff.missing_new_line1-f
|
|
322
|
+
- test/fixtures/ldiff/output.diff.missing_new_line1-u
|
|
323
|
+
- test/fixtures/ldiff/output.diff.missing_new_line2
|
|
324
|
+
- test/fixtures/ldiff/output.diff.missing_new_line2-c
|
|
325
|
+
- test/fixtures/ldiff/output.diff.missing_new_line2-e
|
|
326
|
+
- test/fixtures/ldiff/output.diff.missing_new_line2-f
|
|
327
|
+
- test/fixtures/ldiff/output.diff.missing_new_line2-u
|
|
328
|
+
- test/fixtures/new-chef
|
|
329
|
+
- test/fixtures/new-chef2
|
|
330
|
+
- test/fixtures/old-chef
|
|
331
|
+
- test/fixtures/old-chef2
|
|
332
|
+
- test/test_block.rb
|
|
333
|
+
- test/test_change.rb
|
|
334
|
+
- test/test_diff.rb
|
|
335
|
+
- test/test_helper.rb
|
|
336
|
+
- test/test_hunk.rb
|
|
337
|
+
- test/test_issues.rb
|
|
338
|
+
- test/test_lcs.rb
|
|
339
|
+
- test/test_ldiff.rb
|
|
340
|
+
- test/test_patch.rb
|
|
341
|
+
- test/test_sdiff.rb
|
|
342
|
+
- test/test_traverse_balanced.rb
|
|
343
|
+
- test/test_traverse_sequences.rb
|
|
313
344
|
homepage: https://github.com/halostatue/diff-lcs
|
|
314
345
|
licenses:
|
|
315
346
|
- MIT
|
|
316
347
|
- Artistic-1.0-Perl
|
|
317
348
|
- GPL-2.0-or-later
|
|
318
349
|
metadata:
|
|
319
|
-
homepage_uri: https://github.com/halostatue/diff-lcs
|
|
320
|
-
changelog_uri: https://github.com/halostatue/diff-lcs/blob/main/CHANGELOG.md
|
|
321
350
|
source_code_uri: https://github.com/halostatue/diff-lcs
|
|
322
351
|
bug_tracker_uri: https://github.com/halostatue/diff-lcs/issues
|
|
352
|
+
documentation_uri: https://halostatue.github.io/diff-lcs/
|
|
353
|
+
changelog_uri: https://github.com/halostatue/diff-lcs/blob/main/CHANGELOG.md
|
|
323
354
|
rubygems_mfa_required: 'true'
|
|
324
355
|
rdoc_options:
|
|
325
356
|
- "--main"
|
|
@@ -340,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
340
371
|
- !ruby/object:Gem::Version
|
|
341
372
|
version: '0'
|
|
342
373
|
requirements: []
|
|
343
|
-
rubygems_version:
|
|
374
|
+
rubygems_version: 4.0.4
|
|
344
375
|
specification_version: 4
|
|
345
376
|
summary: Diff::LCS computes the difference between two Enumerable sequences using
|
|
346
377
|
the McIlroy-Hunt longest common subsequence (LCS) algorithm
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Binary files spec/fixtures/file1.bin and spec/fixtures/file2.bin differ
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Binary files spec/fixtures/file1.bin and spec/fixtures/file2.bin differ
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Binary files spec/fixtures/file1.bin and spec/fixtures/file2.bin differ
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Binary files spec/fixtures/file1.bin and spec/fixtures/file2.bin differ
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Binary files spec/fixtures/file1.bin and spec/fixtures/file2.bin differ
|
|
File without changes
|
|
File without changes
|
/data/{spec → test}/fixtures/aX
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|