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
1.4.4 (from changelog)
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.
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 (from changelog)
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.
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 (from changelog)
Fix an issue where diff sizes could be negative, and they should be. #57,
#58
1.4 (from changelog)
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.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rspec-its (1.2.0 → 1.3.0) · Repo · Changelog
Release Notes
1.3.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 33 commits:
Supress check for local repos when flag set
Release 1.3.0
Enable one-liner syntax for expectation blocks (#67)
CI matrix: Update JRuby versions (#66)
Pin ffi (#65)
[docs] Typos; refer to metadata; note the alias [ci skip] (#47)
README: add Markdown Ruby code fences (#48)
Fix broken syntax (#57)
Add logic to install correct version of rubygems/bundler from rspec (#64)
Fix the build and update Ruby (#63)
Add project metadata to the gemspec (#59)
Merge pull request #58 from imtayadeway/patch-1
[skip ci] Fix multiple keys example in README
Merge pull request #55 from alyssais/README_syntax_highlighting
Add syntax highlighting to README
Merge pull request #54 from olleolleolle/patch-3
gemspec: Avoid including cucumber.yml
Merge pull request #52 from rspec/travis-improvements
Add Ruby 2.5.0
Update ruby versions
Simplify cucumber running to fix 1.9.2
Merge pull request #51 from rspec/update_travis
Use rspec-cores cucumber setup
Update specs for 2.4.2
Update travis config to match rspec-core
pin aruba for 1.8.7
Merge pull request #43 from rspec/fix-build
Use containerised Travis so we have 1.8.7
Merge pull request #42 from rspec/fix-build
Update bundler to fix build
Update rubygems to fix build
add ruby 2.3
Merge pull request #37 from michaelachrisco/master
↗️ diff-lcs (indirect, 1.3 → 1.5.0) · Repo · Changelog
Release Notes
1.5.0 (from changelog)
1.4.4 (from changelog)
1.4.3 (from changelog)
1.4.2 (from changelog)
1.4.1 (from changelog)
1.4 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 66 commits:
Prevent tests from running more than once
Add codeql workflow
Make tests a little quieter by removing a debug statement
Prepare for release of 1.5.0
Merge pull request #80 from halostatue/reintroduce-the-threshold-test-optimization
Merge pull request #79 from halostatue/fix-failed-test-due-to-resolving-off-by-one-error
Reintroduce the threshold test optimization
Updating the comment to reflect the new found logic
Apply some performance improvement
The symmetrically makes it easier to understand
Use element directly instead of accessing it from the index
Correct the expected diff
Ensure that `rake test` runs `rake spec`
Remove rubocop configuration
Remove probaby-unnecessary threshold map update
Merge pull request #72 from tiendo1011/ax-unecessary-call
Use comment to aid reverting in case the change is problematic
Prepare for pre-release gem
Merge pull request #75 from tiendo1011/fix-off-by-one-error
Merge pull request #73 from tiendo1011/fix-infinite-method-call
Ax unnecessary calls
Fix off-by-one error
Fix infinite method call
Incremental improvements not yet released
Merge pull request #71 from tiendo1011/correct-last-index-calculation
Correct last index position
Handle some outdated dependency issues
Add more versions to unit test
Merge pull request #69 from kachick/use-new-interface-for-simplecov
Use new interface for SimpleCov::Formatter::MultiFormatter
Prepare for dropping rspec support in Hoe
Add fixtures to the manifest for inclusion in the gem
Merge pull request #66 from halostatue/misplaced-chunk-issue-65
diff-lcs 1.4.4 - Fix broken formatting
# This is a combination of 9 commits.
Release v1.4.3
Merge pull request #64 from halostatue/fix-ruby-1.8-support
Fix some issues with 1.4 on older Rubies
Merge pull request #61 from halostatue/fix-issue-60
Fix filename substitution
Test fix for timestamp issue
Change when max_diff_size is applied
Merge pull request #59 from CamilleDrapier/camille/fix_rubocop_typo
Fix typo for rubocop cop namspace
Merge pull request #58 from halostatue/fix-issue-57
Change test runner
Fix windows test failures
Fix an issue with negative hunk max_size
Merge pull request #55 from halostatue/release-v14
Finalize 1.4 release
Try GitHub Actions for diff-lcs CI
Merge pull request #54 from halostatue/hoe-3-18-support
Various updates for v 1.4
Merge pull request #52 from bjfish/add-truffleruby-to-ci
Add truffleruby to travis CI
Resolve multiple issues for 1.4
Update documentation
Reintroduce Diff::LCS::Change#to_ary
Applied Rubocop rules that I like
Revert PR#47 "Add #to_ary to Diff::LCS::Change…"
Make travis test the right things...
Mention in rdoc that Diff::LCS::ContextChange can be converted to an array
Add #to_ary to Diff::LCS::Change and Diff::LCS::ContextChange
Merge pull request #42 from nicolasleger/patch-1
[CI] Test against Ruby 2.5
Small README fix
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands