pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ruby-diff-lcs
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 11 02:41:43 UTC 2013
Modified Files:
pkgsrc/textproc/ruby-diff-lcs: Makefile PLIST distinfo
Log Message:
Update ruby-diff-lcs to 1.2.1.
== 1.2.1 / 2013-02-09
* Bugs Fixed:
* As seen in https://github.com/rspec/rspec-expectations/pull/200, the
release of Diff::LCS 1.2 introduced an unnecessary public API change to
Diff::LCS::Hunk (see the change at
https://github.com/rspec/rspec-expectations/commit/3d6fc82c for details).
The new method name (and behaviour) is more correct, but I should not have
renamed the function or should have at least provided an alias. This
release restores Diff::LCS::Hunk#unshift as an alias to
#merge. Note that the old #unshift behaviour was incorrect and will not be
restored.
== 1.2.0 / 2013-01-21
* Minor Enhancements:
* Added special case handling for Diff::LCS.patch so that it handles patches
that are empty or contain no changes.
* Added two new methods (#patch\_me and #unpatch\_me) to the includable
module.
* Bugs Fixed:
* Fixed issue #1 patch direction detection.
https://github.com/halostatue/diff-lcs/issues/1
* Resolved issue #2 by handling string[string.size, 1] properly (it returns
"" not nil). https://github.com/halostatue/diff-lcs/issues/2
* Michael Granger (ged) fixed an implementation error in Diff::LCS::Change
and added specs in pull request #8. Thanks!
https://github.com/halostatue/diff-lcs/issues/8
* Made the code auto-testable.
* Vít Ondruch (voxik) provided the latest version of the GPL2 license file in
pull request #10. Thanks! https://github.com/halostatue/diff-lcs/issues/10
* Fixed a documentation issue with the includable versions of #patch! and
#unpatch! where they implied that they would replace the original value.
Given that Diff::LCS.patch always returns a copy, the documentation was
incorrect and has been corrected. To provide the behaviour that was
originally documented, two new methods were added to provide this
behaviour. Found by scooter-dangle in issue #12. Thanks!
https://github.com/halostatue/diff-lcs/issues/12
* Code Style Changes:
* Removed trailing spaces.
* Calling class methods using '.' instead of '::'.
* Vít Ondruch (voxik) removed unnecessary shebangs in pull request #9.
Thanks! https://github.com/halostatue/diff-lcs/issues/9
* Kenichi Kamiya (kachick) removed some warnings of an unused variable in
lucky pull request #13. https://github.com/halostatue/diff-lcs/issues/13
Thanks!
* Embarked on a major refactoring to make the files a little more manageable
and understand the code on a deeper level.
* Adding to http://travis-ci.org.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/ruby-diff-lcs/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/ruby-diff-lcs/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/ruby-diff-lcs/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index