diff-lcs 1.3 → 1.4.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: 20a82b46de7966bb69d8293ece23c885ff05a3a6f1828d99466079026200e3bd
4
+ data.tar.gz: af785a974e010578214c66694d3e2fd232b26a452d41049a55a9127c07f4b4d4
5
5
  SHA512:
6
- metadata.gz: 33ec7c9966bd92aaa989d561a3895cccb1321809ef784dde9757b39ebc9162dd3ba0dc322a089c48dc7a706531c85d1dbbaa3203cd837b4db57059f74563901d
7
- data.tar.gz: bad9e1d0f49830f81feba65cf8e0542c3e9ac8d50f4e0663712be639ff377832fad701e299279081b35b48655c0563c7269c0b7e432bf590232ede1cf397a5b6
6
+ metadata.gz: 1f9ef284f2af3cb47d73100700dbfc39ac16802735f6751637025ed803604b7e27272b34ed1deccc2ddc4813b6e170c7ae2b3012afb094fc5e72d446866455e4
7
+ data.tar.gz: 0b5b56817c536cd55c52e43f2e9ac5b70d76ef1edf9dcf1e7639917da16fcd65f1bf4472df7c44d8d44603c2f5caa2748ce6ddbd41bb7b0215ad3fd0c38fb49a
@@ -1,32 +1,35 @@
1
1
  ## Contributing
2
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.
3
+ I value any contribution to Diff::LCS you can provide: a bug report, a
4
+ feature request, or code contributions. Code contributions to Diff::LCS are
5
+ especially <del>welcome</del>encouraged. Because Diff::LCS is a complex
6
+ codebase, there 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
18
 
19
19
  ### Test Dependencies
20
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:
21
+ Diff::LCS uses Ryan Davis’s [Hoe][] to manage the release process, and it
22
+ adds a number of rake tasks. You will mostly be interested in:
23
23
 
24
- $ rake
24
+ ```sh
25
+ $ rake
26
+ ```
25
27
 
26
28
  which runs the tests the same way that:
27
29
 
28
- $ rake spec
29
- $ rake travis
30
+ ```sh
31
+ $ rake spec
32
+ ```
30
33
 
31
34
  will do.
32
35
 
@@ -34,50 +37,82 @@ To assist with the installation of the development dependencies, I have
34
37
  provided a Gemfile pointing to the (generated) `diff-lcs.gemspec` file. This
35
38
  will permit you to do:
36
39
 
37
- $ bundle install
40
+ ```sh
41
+ $ bundle install
42
+ ```
38
43
 
39
44
  to get the development dependencies. If you aleady have `hoe` installed, you
40
45
  can accomplish the same thing with:
41
46
 
42
- $ rake newb
47
+ ```sh
48
+ $ rake newb
49
+ ```
43
50
 
44
51
  This task will install any missing dependencies, run the tests/specs, and
45
52
  generate the RDoc.
46
53
 
47
54
  You can run tests with code coverage analysis by running:
48
55
 
49
- $ rake spec:coverage
56
+ ```sh
57
+ $ rake spec:coverage
58
+ ```
50
59
 
51
60
  ### Workflow
52
61
 
53
62
  Here's the most direct way to get your work merged into the project:
54
63
 
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.
64
+ - Fork the project.
65
+ - Clone down your fork (`git clone git://github.com/<username>/diff-lcs.git`).
66
+ - Create a topic branch to contain your change (`git checkout -b my_awesome_feature`).
67
+ - Hack away, add tests. Not necessarily in that order.
68
+ - Make sure everything still passes by running `rake`.
69
+ - If necessary, rebase your commits into logical chunks, without errors.
70
+ - Push the branch up (`git push origin my_awesome_feature`).
71
+ - Create a pull request against halostatue/diff-lcs and describe what your
72
+ change does and the why you think it should be merged.
65
73
 
66
74
  ### Contributors
67
75
 
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
-
81
- [Rspec]: http://rspec.info/documentation/
76
+ - Austin Ziegler created Diff::LCS.
77
+
78
+ Thanks to everyone else who has contributed code or bug reports to Diff::LCS:
79
+
80
+ - @ginriki
81
+ - @joshbronson
82
+ - @kevinmook
83
+ - @mckaz
84
+ - Akinori Musha
85
+ - Artem Ignatyev
86
+ - Brandon Fish
87
+ - Camille Drapier
88
+ - Cédric Boutillier
89
+ - Gregg Kellogg
90
+ - Jagdeep Singh
91
+ - Jason Gladish
92
+ - Jon Rowe
93
+ - Josef Strzibny
94
+ - Josep (@apuratepp)
95
+ - Josh Bronson
96
+ - Jun Aruga
97
+ - Kenichi Kamiya
98
+ - Kensuke Nagae
99
+ - Kevin Ansfield
100
+ - Koichi Ito
101
+ - Mark Friedgan
102
+ - Michael Granger
103
+ - Myron Marston
104
+ - Nicolas Leger
105
+ - Oleg Orlov
106
+ - Paul Kunysch
107
+ - Pete Higgins
108
+ - Peter Wagenet
109
+ - Philippe Lafoucrière
110
+ - Ryan Lovelett
111
+ - Scott Steele
112
+ - Simon Courtois
113
+ - Tomas Jura
114
+ - Vít Ondruch
115
+
116
+ [rspec]: http://rspec.info/documentation/
82
117
  [quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
83
- [Hoe]: https://github.com/seattlerb/hoe
118
+ [hoe]: https://github.com/seattlerb/hoe
data/History.md CHANGED
@@ -1,197 +1,279 @@
1
+ # History
2
+
3
+ ## 1.4.4 / 2020-07-01
4
+
5
+ - Fixed an issue reported by Jun Aruga in the Diff::LCS::Ldiff binary text
6
+ detection. [#44][]
7
+ - Fixed a theoretical issue reported by Jun Aruga in Diff::LCS::Hunk to raise
8
+ a more useful exception. [#43][]
9
+ - Added documentation that should address custom object issues as reported in
10
+ [#35][].
11
+
12
+ - Fixed more diff errors, in part reported in [#65][].
13
+
14
+ - The use of `Numeric#abs` is incorrect in `Diff::LCS::Block#diff_size`.
15
+ The diff size _must_ be accurate for correct change placement.
16
+ - When selecting @max_diff_size in Diff::LCS::Hunk, choose it based on
17
+ `block.diff_size.abs`.
18
+ - Made a number of changes that will, unfortunately, increase allocations
19
+ at the cost of being safe with frozen strings.
20
+ - Add some knowledge that when `Diff::LCS::Hunk#diff` is called, that we
21
+ are processing the _last_ hunk, so some changes will be made to how the
22
+ output is generated.
23
+
24
+ - `old`, `ed`, and `reverse_ed` formats have no differences.
25
+ - `unified` format will report `` given the
26
+ correct conditions, at most once. Unified range reporting also
27
+ differs for the last hunk such that the `length` of the range is
28
+ reduced by one.
29
+ - `context` format will report `\No newline at end of file` given the
30
+ correct conditions, up to once per "file". Context range reporting also
31
+ differs for the last hunk such that the `end` part of the range is
32
+ reduced by one to a minimum of one.
33
+
34
+ - Added a bunch more tests for the cases above, and fixed `hunk_spec.rb` so
35
+ that the phrase being compared isn't nonsense French.
36
+
37
+ - Updated formatting.
38
+ - Added a Rake task to assist with manual testing on Ruby 1.8.
39
+
40
+ ## 1.4.3 / 2020-06-29
41
+
42
+ - Fixed several issues with the 1.4 on Rubies older than 2.0. Some of this was
43
+ providing useful shim functions to Hoe 3.x (which dropped these older
44
+ Rubies a while ago). Specifically:
45
+
46
+ - Removed Array#lazy from a method in Diff::LCS::Hunk.
47
+ - Changed some unit tests to use old-style Symbol-keyed hashes.
48
+ - Changed some unit test helper functions to no longer use keyword
49
+ parameters, but only a trailing options hash.
50
+ - Made the use of `psych` dependent on `RUBY_VERSION >= 1.9`.
51
+
52
+ Resolves [#63][].
53
+
54
+ ## 1.4.2 / 2020-06-23
55
+
56
+ - Camille Drapier fixed a small issue with RuboCop configuration. [#59][]
57
+ - Applied another fix (and unit test) to fix an issue for the Chef team.
58
+ [#60][], [#61][]
59
+
60
+ ## 1.4.1 / 2020-06-23
61
+
62
+ - Fix an issue where diff sizes could be negative, and they should be. [#57][],
63
+ [#58][]
64
+
65
+ ## 1.4 / 2020-06-23
66
+
67
+ - Ruby versions lower than 2.4 are soft-deprecated and will not be run as
68
+ part of the CI process any longer.
69
+ - Akinora MUSHA (knu) added the ability for Diff::LCS::Change objects to be
70
+ implicitly treated arrays. Originally provided as pull request [#47][],
71
+ but it introduced a number of test failures as documented in [#48][], and
72
+ remediation of Diff::LCS itself was introduced in [#49][].
73
+ - Resolved [#5][] with some tests comparing output from `system` calls to
74
+ `bin/ldiff` with some pre-generated output. Resolved [#6][] with these
75
+ tests.
76
+ - Resolved a previously undetected `bin/ldiff` issue with `--context` output
77
+ not matching `diff --context` output.
78
+ - Resolved an issue with later versions of Ruby not working with an `OptParse`
79
+ specification of `Numeric`; this has been changed to `Integer`.
80
+ - Brandon Fish added truffleruby in [#52][].
81
+ - Fixed two missing classes as reported in [#53][].
82
+
1
83
  ## 1.3 / 2017-01-18
2
84
 
3
- * Bugs fixed:
85
+ - Bugs fixed:
4
86
 
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.
87
+ - Fixed an error for bin/ldiff --version. Fixes issue [#21][].
88
+ - Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform
89
+ equality comparisons against themselves. Provided by Kevin Mook in
90
+ pull request [#29][].
91
+ - Fix tab expansion in htmldiff, provided by Mark Friedgan in
92
+ pull request [#25][].
93
+ - Silence Ruby 2.4 Fixnum deprecation warnings. Fixxues issue [#38][] and
94
+ [pull request#36][].
95
+ - Ensure that test dependencies are loaded properly. Fixes issue [#33][]
96
+ and pull request [#34][].
97
+ - Fix issue [#1][] with incorrect intuition of patch direction. Tentative
98
+ fix, but the previous failure cases pass now.
17
99
 
18
- * Tooling changes:
100
+ - Tooling changes:
19
101
 
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.
102
+ - Added SimpleCov and Coveralls support.
103
+ - Change the homepage (temporarily) to the GitHub repo.
104
+ - Updated testing and gem infrastructure.
105
+ - Modernized the specs.
24
106
 
25
- * Cleaned up documentation.
107
+ - Cleaned up documentation.
26
108
 
27
- * Added a Code of Conduct.
109
+ - Added a Code of Conduct.
28
110
 
29
111
  ## 1.2.5 / 2013-11-08
30
112
 
31
- * Bugs fixed:
113
+ - Bugs fixed:
32
114
 
33
- * Comparing arrays flattened them too far, especially with
34
- Diff::LCS.sdiff. Fixed by Josh Bronson in [pull request #23][].
115
+ - Comparing arrays flattened them too far, especially with
116
+ Diff::LCS.sdiff. Fixed by Josh Bronson in pull request [#23][].
35
117
 
36
118
  ## 1.2.4 / 2013-04-20
37
119
 
38
- * Bugs fixed:
120
+ - Bugs fixed:
39
121
 
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!
122
+ - A bug was introduced after 1.1.3 when pruning common sequences at the
123
+ start of comparison. Paul Kunysch (@pck) fixed this in
124
+ pull request [#18][]. Thanks!
43
125
 
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!
126
+ - The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268][] has been
127
+ fixed by the Rubinius team two days after it was filed. Thanks for
128
+ fixing this so quickly!
47
129
 
48
- * Switching to Raggi's hoe-gemspec2 for gemspec generation.
130
+ - Switching to Raggi's hoe-gemspec2 for gemspec generation.
49
131
 
50
132
  ## 1.2.3 / 2013-04-11
51
133
 
52
- * Bugs Fixed:
134
+ - Bugs Fixed:
53
135
 
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.
136
+ - The new encoding detection for diff output generation (added in 1.2.2)
137
+ introduced a bug if the left side of the comparison was the empty set.
138
+ Originally found in [rspec/rspec-expectations#238][] and
139
+ [rspec/rspec-expectations#239][]. Jon Rowe developed a reasonable
140
+ heuristic (left side, right side, empty string literal) to avoid this
141
+ bug.
142
+ - There is a known issue with Rubinius in 1.9 mode reported in
143
+ [rubinius/rubinius#2268][] and demonstrated in the Travis CI builds.
144
+ For all other tested platforms, diff-lcs is considered stable. As soon
145
+ as a suitably small test-case can be created for the Rubinius team to
146
+ examine, this will be added to the Rubinius issue around this.
65
147
 
66
148
  ## 1.2.2 / 2013-03-30
67
149
 
68
- * Bugs Fixed:
150
+ - Bugs Fixed:
69
151
 
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.
152
+ - Diff::LCS::Hunk could not properly generate a difference for comparison
153
+ sets that are not US-ASCII-compatible because of the use of literal
154
+ regular expressions and strings. Jon Rowe found this in
155
+ [rspec/rspec-expectations#219][] and provided a first pass
156
+ implementation in pull request [#15][]. I've reworked it because of
157
+ test failures in Rubinius when running in Ruby 1.9 mode. This coerces
158
+ the added values to the encoding of the old dataset (as determined by
159
+ the first piece of the old dataset).
160
+ - Adding Travis CI testing for Ruby 2.0.
79
161
 
80
162
  ## 1.2.1 / 2013-02-09
81
163
 
82
- * Bugs Fixed:
164
+ - Bugs Fixed:
83
165
 
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.
166
+ - As seen in [rspec/rspec-expectations#200][], the release of
167
+ Diff::LCS 1.2 introduced an unnecessary public API change to
168
+ Diff::LCS::Hunk (see the change at
169
+ [rspec/rspec-expectations@3d6fc82c][] for details). The new method name
170
+ (and behaviour) is more correct, but I should not have renamed the
171
+ function or should have at least provided an alias. This release
172
+ restores Diff::LCS::Hunk#unshift as an alias to #merge. Note that the
173
+ old #unshift behaviour was incorrect and will not be restored.
92
174
 
93
175
  ## 1.2.0 / 2013-01-21
94
176
 
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.
177
+ - Minor Enhancements:
178
+
179
+ - Added special case handling for Diff::LCS.patch so that it handles
180
+ patches that are empty or contain no changes.
181
+ - Added two new methods (#patch_me and #unpatch_me) to the includable
182
+ module.
183
+
184
+ - Bugs Fixed:
185
+
186
+ - Fixed issue [#1][] patch direction detection.
187
+ - Resolved issue [#2][] by handling `string[string.size, 1]` properly (it
188
+ returns `""` not `nil`).
189
+ - Michael Granger (ged) fixed an implementation error in
190
+ Diff::LCS::Change and added specs in pull request [#8][]. Thanks!
191
+ - Made the code auto-testable.
192
+ - Vít Ondruch (voxik) provided the latest version of the GPL2 license
193
+ file in pull request [#10][]. Thanks!
194
+ - Fixed a documentation issue with the includable versions of #patch! and
195
+ #unpatch! where they implied that they would replace the original
196
+ value. Given that Diff::LCS.patch always returns a copy, the
197
+ documentation was incorrect and has been corrected. To provide the
198
+ behaviour that was originally documented, two new methods were added to
199
+ provide this behaviour. Found by scooter-dangle in issue [#12][].
200
+ Thanks!
201
+
202
+ - Code Style Changes:
203
+
204
+ - Removed trailing spaces.
205
+ - Calling class methods using `.` instead of `::`.
206
+ - Vít Ondruch (voxik) removed unnecessary shebangs in pull request [#9][].
207
+ Thanks!
208
+ - Kenichi Kamiya (kachick) removed some warnings of an unused variable in
209
+ lucky pull request [#13][]. Thanks!
210
+ - Embarked on a major refactoring to make the files a little more
211
+ manageable and understand the code on a deeper level.
212
+ - Adding to http://travis-ci.org.
131
213
 
132
214
  ## 1.1.3 / 2011-08-27
133
215
 
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:
216
+ - Converted to 'hoe' for release.
217
+ - Converted tests to RSpec 2.
218
+ - Extracted the body of htmldiff into a class available from
219
+ diff/lcs/htmldiff.
220
+ - Migrated development and issue tracking to GitHub.
221
+ - Bugs fixed:
140
222
 
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][].
223
+ - Eliminated the explicit use of RubyGems in both bin/htmldiff and
224
+ bin/ldiff. Resolves issue [#4][].
225
+ - Eliminated Ruby warnings. Resolves issue [#3][].
144
226
 
145
227
  ## 1.1.2 / 2004-10-20
146
228
 
147
- * Fixed a problem reported by Mauricio Fernandez in htmldiff.
229
+ - Fixed a problem reported by Mauricio Fernandez in htmldiff.
148
230
 
149
231
  ## 1.1.1 / 2004-09-25
150
232
 
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).
233
+ - Fixed bug #891 (Set returned from patch command does not contain last equal
234
+ part).
235
+ - Fixed a problem with callback initialisation code (it assumed that all
236
+ callbacks passed as classes can be initialised; now, it rescues
237
+ NoMethodError in the event of private :new being called).
238
+ - Modified the non-initialisable callbacks to have a private #new method.
239
+ - Moved ldiff core code to Diff::LCS::Ldiff (diff/lcs/ldiff.rb).
158
240
 
159
241
  ## 1.1.0 / -
160
242
 
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.
243
+ - Eliminated the need for Diff::LCS::Event and removed it.
244
+ - Added a contextual diff callback, Diff::LCS::ContextDiffCallback.
245
+ - Implemented patching/unpatching for standard Diff callback output formats
246
+ with both #diff and #sdiff.
247
+ - Extensive documentation changes.
166
248
 
167
249
  ## 1.0.4
168
250
 
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.
251
+ - Fixed a problem with bin/ldiff output, especially for unified format.
252
+ Newlines that should have been present weren't.
253
+ - Changed the .tar.gz installer to generate Windows batch files if ones do
254
+ not exist already. Removed the existing batch files as they didn't work.
173
255
 
174
256
  ## 1.0.3
175
257
 
176
- * Fixed a problem with #traverse\_sequences where the first difference from
177
- the left sequence might not be appropriately captured.
258
+ - Fixed a problem with #traverse_sequences where the first difference from
259
+ the left sequence might not be appropriately captured.
178
260
 
179
261
  ## 1.0.2
180
262
 
181
- * Fixed an issue with ldiff not working because actions were changed from
182
- symbols to strings.
263
+ - Fixed an issue with ldiff not working because actions were changed from
264
+ symbols to strings.
183
265
 
184
266
  ## 1.0.1
185
267
 
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.
268
+ - Minor modifications to the gemspec, the README.
269
+ - Renamed the diff program to ldiff (as well as the companion batch file) so
270
+ as to not collide with the standard diff program.
271
+ - Fixed issues with RubyGems. Requires RubyGems > 0.6.1 or >= 0.6.1 with the
272
+ latest CVS version.
191
273
 
192
274
  ## 1.0
193
275
 
194
- * Initial release based mostly on Perl's Algorithm::Diff.
276
+ - Initial release based mostly on Perl's Algorithm::Diff.
195
277
 
196
278
  [rubinius/rubinius#2268]: https://github.com/rubinius/rubinius/issues/2268
197
279
  [rspec/rspec-expectations#239]: https://github.com/rspec/rspec-expectations/issues/239
@@ -199,22 +281,39 @@
199
281
  [rspec/rspec-expectations#219]: https://github.com/rspec/rspec-expectations/issues/219
200
282
  [rspec/rspec-expectations@3d6fc82c]: https://github.com/rspec/rspec-expectations/commit/3d6fc82c
201
283
  [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
284
+ [#1]: https://github.com/halostatue/diff-lcs/issues/1
285
+ [#2]: https://github.com/halostatue/diff-lcs/issues/2
286
+ [#3]: https://github.com/halostatue/diff-lcs/issues/3
287
+ [#4]: https://github.com/halostatue/diff-lcs/issues/4
288
+ [#5]: https://github.com/halostatue/diff-lcs/issues/5
289
+ [#6]: https://github.com/halostatue/diff-lcs/issues/6
290
+ [#8]: https://github.com/halostatue/diff-lcs/pull/8
291
+ [#9]: https://github.com/halostatue/diff-lcs/pull/9
292
+ [#10]: https://github.com/halostatue/diff-lcs/pull/10
293
+ [#12]: https://github.com/halostatue/diff-lcs/issues/12
294
+ [#13]: https://github.com/halostatue/diff-lcs/pull/13
295
+ [#15]: https://github.com/halostatue/diff-lcs/pull/15
296
+ [#18]: https://github.com/halostatue/diff-lcs/pull/18
297
+ [#21]: https://github.com/halostatue/diff-lcs/issues/21
298
+ [#23]: https://github.com/halostatue/diff-lcs/pull/23
299
+ [#25]: https://github.com/halostatue/diff-lcs/pull/25
300
+ [#29]: https://github.com/halostatue/diff-lcs/pull/29
301
+ [#33]: https://github.com/halostatue/diff-lcs/issues/33
302
+ [#34]: https://github.com/halostatue/diff-lcs/pull/34
303
+ [#35]: https://github.com/halostatue/diff-lcs/issues/35
304
+ [#36]: https://github.com/halostatue/diff-lcs/pull/36
305
+ [#38]: https://github.com/halostatue/diff-lcs/issues/38
306
+ [#43]: https://github.com/halostatue/diff-lcs/issues/43
307
+ [#44]: https://github.com/halostatue/diff-lcs/issues/44
308
+ [#47]: https://github.com/halostatue/diff-lcs/pull/47
309
+ [#48]: https://github.com/halostatue/diff-lcs/issues/48
310
+ [#49]: https://github.com/halostatue/diff-lcs/pull/49
311
+ [#52]: https://github.com/halostatue/diff-lcs/pull/52
312
+ [#53]: https://github.com/halostatue/diff-lcs/issues/53
313
+ [#57]: https://github.com/halostatue/diff-lcs/issues/57
314
+ [#58]: https://github.com/halostatue/diff-lcs/pull/58
315
+ [#59]: https://github.com/halostatue/diff-lcs/pull/59
316
+ [#60]: https://github.com/halostatue/diff-lcs/issues/60
317
+ [#61]: https://github.com/halostatue/diff-lcs/pull/61
318
+ [#63]: https://github.com/halostatue/diff-lcs/issues/63
319
+ [#65]: https://github.com/halostatue/diff-lcs/issues/65