Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ruby3.3-rubygem-diff-lcs | Distribution: openSUSE Tumbleweed |
Version: 1.5.0 | Vendor: openSUSE |
Release: 2.1 | Build date: Tue May 21 12:25:06 2024 |
Group: Development/Languages/Ruby | Build host: reproducible |
Size: 183640 | Source RPM: rubygem-diff-lcs-1.5.0-2.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/halostatue/diff-lcs | |
Summary: Diff::LCS computes the difference between two Enumerable sequences |
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.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.
Artistic-2.0 AND MIT AND GPL-2.0-only
* Tue May 21 2024 Dominique Leuenberger <dimstar@opensuse.org> - Replace %patchN with %patch -P N: %patchN is deprecated. * Sat Dec 25 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.5.0 * Updated the CI configuration and monkey-patch Hoe. * Kenichi Kamiya fixed a test configuration deprecation in SimpleCov. [#69] * Tien introduced several corrections and code improvements: - Removed an off-by-one error when calculating an index value by embracing Ruby iteration properly. This had a side-effect of fixing a long-standing bug in `#traverse_sequences` where the traversal would not be transitive. That is, `LCS(s2, s1)` should produce a sequence that is transitive with `LCS(s1, s2)` on traversal, and applying the diff computed from those results would result in equivalent changes that could be played forward or backward as appropriate. [#71], [#75] - The above fix resulted in a changed order of the longest common subsequence when callbacks were applied. After analysis, it was determined that the computed subsequence was _equivalent_ to the prior version, so the test was updated. This also resulted in the clarification of documentation when traversing the subsequences. [#79] - An infinite loop case in the case where Diff::LCS would be included into an enumerable class has been fixed. [#73] - Clarified the purpose of a threshold test in calculation of LCS. [#72], [#80] * Removed autotest directory * Mon Jul 13 2020 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.4.4 [#]# 1.4.4 / 2020-07-01 - Fixed an issue reported by Jun Aruga in the Diff::LCS::Ldiff binary text detection. [#44][] - Fixed a theoretical issue reported by Jun Aruga in Diff::LCS::Hunk to raise a more useful exception. [#43][] - Added documentation that should address custom object issues as reported in [#35][]. - Fixed more diff errors, in part reported in [#65][]. - The use of `Numeric#abs` is incorrect in `Diff::LCS::Block#diff_size`. The diff size _must_ be accurate for correct change placement. - When selecting @max_diff_size in Diff::LCS::Hunk, choose it based on `block.diff_size.abs`. - Made a number of changes that will, unfortunately, increase allocations at the cost of being safe with frozen strings. - Add some knowledge that when `Diff::LCS::Hunk#diff` is called, that we are processing the _last_ hunk, so some changes will be made to how the output is generated. - `old`, `ed`, and `reverse_ed` formats have no differences. - `unified` format will report `\ No newline at end of file` given the correct conditions, at most once. Unified range reporting also differs for the last hunk such that the `length` of the range is reduced by one. - `context` format will report `\No newline at end of file` given the correct conditions, up to once per "file". Context range reporting also differs for the last hunk such that the `end` part of the range is reduced by one to a minimum of one. - Added a bunch more tests for the cases above, and fixed `hunk_spec.rb` so that the phrase being compared isn't nonsense French. - Updated formatting. - Added a Rake task to assist with manual testing on Ruby 1.8. [#]# 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][]. * Sat Jun 27 2020 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.4.2 [#]# 1.4.2 / 2020-06-23 - Camille Drapier fixed a small issue with RuboCop configuration. [#59][] - Applied another fix (and unit test) to fix an issue for the Chef team. [#60][], [#61][] [#]# 1.4.1 / 2020-06-23 - Fix an issue where diff sizes could be negative, and they should be. [#57][], [#58][] [#]# 1.4 / 2020-06-23 - Ruby versions lower than 2.4 are soft-deprecated and will not be run as part of the CI process any longer. - Akinora MUSHA (knu) added the ability for Diff::LCS::Change objects to be implicitly treated arrays. Originally provided as pull request [#47][], but it introduced a number of test failures as documented in [#48][], and remediation of Diff::LCS itself was introduced in [#49][]. - Resolved [#5][] with some tests comparing output from `system` calls to `bin/ldiff` with some pre-generated output. Resolved [#6][] with these tests. - Resolved a previously undetected `bin/ldiff` issue with `--context` output not matching `diff --context` output. - Resolved an issue with later versions of Ruby not working with an `OptParse` specification of `Numeric`; this has been changed to `Integer`. - Brandon Fish added truffleruby in [#52][]. - Fixed two missing classes as reported in [#53][]. - Updated fix-interpreter.patch to apply again * Thu Jan 19 2017 coolo@suse.com - updated to version 1.3 History.rdoc removed upstream * Wed Mar 23 2016 olaf@aepfle.de - Force fixed timestamps for patched gems (bsc#916047) * Mon Nov 10 2014 tboerger@suse.com - Renamed fix-interpreter.diff to fix-interpreter.patch - Added gem2rpm.yml - Fixed license list - Added patch again * Mon Nov 10 2014 tboerger@suse.com - Added new ruby macros with gem2rpm * Fri Nov 22 2013 coolo@suse.com - updated to version 1.2.5 * Bugs fixed: * Comparing arrays flattened them too far, especially with Diff::LCS.sdiff. https://github.com/halostatue/diff-lcs/pull/23 * Thu Oct 03 2013 jreidinger@suse.com - conform license to conform SPDX
/etc/alternatives/htmldiff /etc/alternatives/htmldiff-1.5.0 /etc/alternatives/htmldiff.ruby3.3 /etc/alternatives/ldiff /etc/alternatives/ldiff-1.5.0 /etc/alternatives/ldiff.ruby3.3 /usr/bin/htmldiff /usr/bin/htmldiff-1.5.0 /usr/bin/htmldiff.ruby3.3 /usr/bin/htmldiff.ruby3.3-1.5.0 /usr/bin/ldiff /usr/bin/ldiff-1.5.0 /usr/bin/ldiff.ruby3.3 /usr/bin/ldiff.ruby3.3-1.5.0 /usr/lib64/ruby/gems/3.3.0/build_info /usr/lib64/ruby/gems/3.3.0/cache/diff-lcs-1.5.0.gem /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0 /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/.rspec /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/Contributing.md /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/History.md /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/License.md /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/Manifest.txt /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/README.rdoc /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/Rakefile /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/bin /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/bin/htmldiff /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/bin/ldiff /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/docs /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/docs/COPYING.txt /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/docs/artistic.txt /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb /usr/lib64/ruby/gems/3.3.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb /usr/lib64/ruby/gems/3.3.0/specifications/diff-lcs-1.5.0.gemspec /usr/share/doc/packages/ruby3.3-rubygem-diff-lcs /usr/share/doc/packages/ruby3.3-rubygem-diff-lcs/History.md /usr/share/doc/packages/ruby3.3-rubygem-diff-lcs/License.md /usr/share/doc/packages/ruby3.3-rubygem-diff-lcs/README.rdoc
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Nov 13 00:41:02 2024