From 99f65fdc8253c3bf800bc0e17c2cbbde9ade9ba8 Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Mon, 29 Jun 2020 09:03:19 -0400 Subject: [PATCH] Release v1.4.3 - Clarify the compatibility policy some. --- History.md | 15 +++++++++++++++ README.rdoc | 17 +++++++++-------- diff-lcs.gemspec | 6 +++--- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/History.md b/History.md index 576409e..ff24b50 100644 --- a/History.md +++ b/History.md @@ -1,5 +1,19 @@ # History +## 1.4.3 / 2020-06-29 + +- Fixed several issues with the 1.4 on Rubies older than 2.0. Some of this was + providing useful shim functions to Hoe 3.x (which dropped these older + Rubies a while ago). Specifically: + + - Removed Array#lazy from a method in Diff::LCS::Hunk. + - Changed some unit tests to use old-style Symbol-keyed hashes. + - Changed some unit test helper functions to no longer use keyword + parameters, but only a trailing options hash. + - Made the use of `psych` dependent on `RUBY_VERSION >= 1.9`. + + Resolves [#63][]. + ## 1.4.2 / 2020-06-23 - Camille Drapier fixed a small issue with RuboCop configuration. [#59][] @@ -261,3 +275,4 @@ [#59]: https://github.com/halostatue/diff-lcs/pull/59 [#60]: https://github.com/halostatue/diff-lcs/issues/60 [#61]: https://github.com/halostatue/diff-lcs/pull/61 +[#63]: https://github.com/halostatue/diff-lcs/issues/63 diff --git a/README.rdoc b/README.rdoc index 07a9be7..6092424 100644 --- a/README.rdoc +++ b/README.rdoc @@ -12,14 +12,15 @@ Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities to create a simple HTML diff output format and a standard diff-like tool. -This is release 1.4, providing a simple extension that allows for -Diff::LCS::Change objects to be treated implicitly as arrays. Ruby versions -below 2.5 are soft-deprecated. - -This means that older versions are no longer part of the CI test suite. If any -changes have been introduced that break those versions, bug reports and patches -will be accepted, but it will be up to the reporter to verify any fixes prior -to release. A future release will completely break compatibility. +This is release 1.4.3, providing a simple extension that allows for +Diff::LCS::Change objects to be treated implicitly as arrays and fixes a +number of formatting issues. + +Ruby versions below 2.5 are soft-deprecated, which means that older versions +are no longer part of the CI test suite. If any changes have been introduced +that break those versions, bug reports and patches will be accepted, but it +will be up to the reporter to verify any fixes prior to release. The next +major release will completely break compatibility. == Synopsis diff --git a/diff-lcs.gemspec b/diff-lcs.gemspec index f3a59c6..03f9738 100644 --- a/diff-lcs.gemspec +++ b/diff-lcs.gemspec @@ -1,15 +1,15 @@ # -*- encoding: utf-8 -*- -# stub: diff-lcs 1.4.2 ruby lib +# stub: diff-lcs 1.4.3 ruby lib Gem::Specification.new do |s| s.name = "diff-lcs".freeze - s.version = "1.4.2" + s.version = "1.4.3" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.metadata = { "bug_tracker_uri" => "https://github.com/halostatue/diff-lcs/issues", "homepage_uri" => "https://github.com/halostatue/diff-lcs", "source_code_uri" => "https://github.com/halostatue/diff-lcs" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Austin Ziegler".freeze] - s.date = "2020-06-24" + s.date = "2020-06-29" s.description = "Diff::LCS computes the difference between two Enumerable sequences using the\nMcIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities\nto create a simple HTML diff output format and a standard diff-like tool.\n\nThis is release 1.4, providing a simple extension that allows for\nDiff::LCS::Change objects to be treated implicitly as arrays. Ruby versions\nbelow 2.5 are soft-deprecated.\n\nThis means that older versions are no longer part of the CI test suite. If any\nchanges have been introduced that break those versions, bug reports and patches\nwill be accepted, but it will be up to the reporter to verify any fixes prior\nto release. A future release will completely break compatibility.".freeze s.email = ["halostatue@gmail.com".freeze] s.executables = ["htmldiff".freeze, "ldiff".freeze]