Skip to content

Commit

Permalink
Update ruby-diff-lcs to 1.2.1.
Browse files Browse the repository at this point in the history
== 1.2.1 / 2013-02-09

* Bugs Fixed:
  * As seen in rspec/rspec-expectations#200, the
    release of Diff::LCS 1.2 introduced an unnecessary public API change to
    Diff::LCS::Hunk (see the change at
    rspec/rspec-expectations@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.
    halostatue/diff-lcs#1
  * Resolved issue #2 by handling string[string.size, 1] properly (it returns
    "" not nil). halostatue/diff-lcs#2
  * Michael Granger (ged) fixed an implementation error in Diff::LCS::Change
    and added specs in pull request #8. Thanks!
    halostatue/diff-lcs#8
  * Made the code auto-testable.
  * Vít Ondruch (voxik) provided the latest version of the GPL2 license file in
    pull request #10. Thanks! halostatue/diff-lcs#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!
    halostatue/diff-lcs#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! halostatue/diff-lcs#9
  * Kenichi Kamiya (kachick) removed some warnings of an unused variable in
    lucky pull request #13. halostatue/diff-lcs#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.
  • Loading branch information
taca committed Feb 11, 2013
1 parent 67df2c9 commit 235b6e1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
4 changes: 2 additions & 2 deletions textproc/ruby-diff-lcs/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.4 2011/09/12 13:38:16 taca Exp $
# $NetBSD: Makefile,v 1.5 2013/02/11 02:41:42 taca Exp $

DISTNAME= diff-lcs-1.1.3
DISTNAME= diff-lcs-1.2.1
CATEGORIES= textproc

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
14 changes: 12 additions & 2 deletions textproc/ruby-diff-lcs/PLIST
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
@comment $NetBSD: PLIST,v 1.3 2011/09/12 13:38:16 taca Exp $
@comment $NetBSD: PLIST,v 1.4 2013/02/11 02:41:42 taca Exp $
bin/htmldiff
bin/ldiff
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.autotest
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/.hoerc
${GEM_LIBDIR}/.rspec
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/Contributing.rdoc
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/History.rdoc
${GEM_LIBDIR}/License.rdoc
${GEM_LIBDIR}/Manifest.txt
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/autotest/discover.rb
${GEM_LIBDIR}/bin/htmldiff
${GEM_LIBDIR}/bin/ldiff
${GEM_LIBDIR}/diff-lcs.gemspec
${GEM_LIBDIR}/docs/COPYING.txt
${GEM_LIBDIR}/docs/artistic.html
${GEM_LIBDIR}/docs/artistic.txt
${GEM_LIBDIR}/lib/diff-lcs.rb
${GEM_LIBDIR}/lib/diff/lcs.rb
${GEM_LIBDIR}/lib/diff/lcs/array.rb
Expand All @@ -21,9 +28,12 @@ ${GEM_LIBDIR}/lib/diff/lcs/callbacks.rb
${GEM_LIBDIR}/lib/diff/lcs/change.rb
${GEM_LIBDIR}/lib/diff/lcs/htmldiff.rb
${GEM_LIBDIR}/lib/diff/lcs/hunk.rb
${GEM_LIBDIR}/lib/diff/lcs/internals.rb
${GEM_LIBDIR}/lib/diff/lcs/ldiff.rb
${GEM_LIBDIR}/lib/diff/lcs/string.rb
${GEM_LIBDIR}/spec/change_spec.rb
${GEM_LIBDIR}/spec/diff_spec.rb
${GEM_LIBDIR}/spec/issues_spec.rb
${GEM_LIBDIR}/spec/lcs_spec.rb
${GEM_LIBDIR}/spec/patch_spec.rb
${GEM_LIBDIR}/spec/sdiff_spec.rb
Expand Down
8 changes: 4 additions & 4 deletions textproc/ruby-diff-lcs/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2011/09/12 13:38:16 taca Exp $
$NetBSD: distinfo,v 1.3 2013/02/11 02:41:42 taca Exp $

SHA1 (diff-lcs-1.1.3.gem) = f9e5dac8411c1b51905d71c38da72aa4948514b7
RMD160 (diff-lcs-1.1.3.gem) = 9a0e172a7b50b4a20b4a4591d47ea20b01dd9bd5
Size (diff-lcs-1.1.3.gem) = 41472 bytes
SHA1 (diff-lcs-1.2.1.gem) = 9be5a63dddb78ef153b747789cb640bdcf059d14
RMD160 (diff-lcs-1.2.1.gem) = c9bab2b63fb9ee870a6bba6984bb6ee41d91e9fe
Size (diff-lcs-1.2.1.gem) = 46080 bytes

0 comments on commit 235b6e1

Please sign in to comment.