Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rspec 3.8.0 → 3.13.0 (minor) #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Feb 5, 2024


Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!


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 (3.8.0 → 3.13.0) · Repo

Commits

See the full diff on Github. The new version differs by 22 commits:

↗️ diff-lcs (indirect, 1.3 → 1.5.1) · Repo · Changelog

Release Notes

1.5.1 (from changelog)

  • Peter Goldstein updated CI configuration to add Ruby 3.1 and Masato Nakamura added Ruby 3.2 and 3.3. #82, #89

  • Updated the CI configuration, resolving #82 to add Ruby 3.1. Masato

  • Switched to standard ruby formatting.

  • Justin Steele converted the licence file to Markdown. #84

  • Updated the gem SPDX identifier for GPL 2.0 or later, resolving #86 by Vit Ondruch.

  • Resolve a potential security issue with ldiff in its use of IO.read instead of File.read. #91

  • Added MFA authentication requirement for release to RubyGems. #90

  • Added dependabot management for actions and gems. #90

  • Updated CodeQL coniguration. #90

1.5.0 (from changelog)

  • 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.

  • 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 (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.

    Resolves #63.

1.4.2 (from changelog)

  • 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.
  • Brandon Fish added truffleruby in #52.
  • Fixed two missing classes as reported in #53.

Does any of this look wrong? Please let us know.

↗️ rspec-core (indirect, 3.8.2 → 3.13.0) · Repo · Changelog

Release Notes

3.13.0 (from changelog)

Full Changelog

Enhancements:

  • Support the --backtrace flag when using the JSON formatter. (Matt Larraz, #2980)
  • Ignore commented out lines in CLI config files (e.g. .rspec). (Junichi Ito, #2984)
  • Add pending_failure_output config option to allow skipping backtraces or muting pending specs output. (Phil Pirozhkov, #2957)
  • Process --dry-run before configuration flags that read files so that introspecting it returns the correct value. (Xenor Chang, #3008)
  • Allow specifying custom ordering strategies via --order. (Jon Rowe, #3025)
  • Use the improved syntax_suggest output for SyntaxError when available. (Richard Schneeman, #3015, #3026)
  • Add config option (RSpec::Core::Configuration#full_cause_backtrace) to print the entire backtrace of an exception cause. (David Taylor, #3046)

3.12.3 (from changelog)

Full Changelog

Bug fixes:

  • Use __send__ in output wrapper to avoid issues with IO objects that implement send like Socket. (Richard Platel, #3045)

3.12.1 (from changelog)

Full Changelog

Bug fixes:

  • Prevent multiple calls to extra_failure_lines from adding additional whitespace around them when the lines already contain whitespace. (Jon Rowe, #3006)

3.12.0 (from changelog)

Full Changelog

  • No changes, released to support other gems.

3.11.0 (from changelog)

Full Changelog

Enhancements:

  • Improve pluralisation of words ending with s (like process). (Joshua Pinter, #2779)
  • Add ordering by file modification time (most recent first). (Matheus Richard, #2778)
  • Add to_s to reserved names for #let and #subject. (Nick Flückiger, #2886)
  • Introduce RSpec.current_scope to expose the current scope in which RSpec is executing. e.g. :before_example_hook, :example etc. (@odinhb, #2895)
  • Add named bold colours as options for custom colours. (#2913, #2914)
  • Warn when (but not prevent) a SystemExit occurs. (Jared Beck, #2926)

3.9.1 (from changelog)

Full Changelog

Bug Fixes:

  • Prevent bisect command from blocking when number of specs exceeds file descriptor limit on OSX or Linux. (Benoit Tigeot, #2669)
  • Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, #2680)

3.9.0 (from changelog)

Full Changelog

Enhancements:

  • Improve the handling of errors during loading support files, if a file errors before loading specs, RSpec will now skip loading the specs. (David Rodríguez, #2568)
  • Add support for --example-matches to run examples by regular expression. (Sam Joseph, Matt Rider, @okothkongo1, #2586)
  • Add did_you_mean suggestions for file names encountering a LoadError outside of examples. (@obromios, #2601)
  • Add a minimalist quick fix style formatter, only outputs failures as file:line:message. (Romain Tartière, #2614)
  • Convert string number values to integer when used for RSpec::Configuration#fail_fast (Viktor Fonic, #2634)
  • Issue warning when invalid values are used for RSpec::Configuration#fail_fast (Viktor Fonic, #2634)
  • Add support for running the Rake task in a clean environment. (Jon Rowe, #2632)
  • Indent messages by there example group / example in the documentation formatter. (Samuel Williams, #2649)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rspec-expectations (indirect, 3.8.4 → 3.13.0) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rspec-mocks (indirect, 3.8.1 → 3.13.0) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ rspec-support (indirect, 3.8.2 → 3.13.0) · Repo · Changelog

Release Notes

3.13.0 (from changelog)

Full Changelog

Enchancements

  • Add RubyFeatures#supports_syntax_suggest?. (Jon Rowe, #571)

3.12.2 (from changelog)

Full Changelog

Bug Fixes:

  • Properly surface errors from in_sub_process. (Jon Rowe, #575)
  • Add magic comment for freezing string literals. (Josh Nichols, #586)
  • Allow string keys for keyword arguments during verification of method signatures, (but only on Ruby 3+). (@malcolmohare, #591)

3.12.1 (from changelog)

Full Changelog

Bug Fixes:

  • Fix RSpec::Support.thread_local_data to be Thread local but not Fiber local. (Jon Rowe, #581)

3.12.0 (from changelog)

Full Changelog Enhancements:

  • Add RSpec::Support::RubyFeatures.distincts_kw_args_from_positional_hash? (Jean byroot Boussier, #535)

3.11.1 (from changelog)

Full Changelog

Bug Fixes:

  • Fix ripper detection on TruffleRuby. (Brandon Fish, #541)

3.11.0 (from changelog)

Full Changelog

No changes. Released to support other RSpec releases.

3.10.3 (from changelog)

Full Changelog

Bug Fixes:

  • Use Mutex#owned? to allow RSpec::Support::ReentrantMutex to work in nested Fibers on Ruby 3.0 and later. (Benoit Daloze, #503, #504)
  • Support end-less methods in RSpec::Support::Source::Token so that RSpec won't hang when an end-less method raises an error. (Yuji Nakayama, #505)

3.9.2 (from changelog)

Full Changelog

Bug Fixes:

  • Remove unneeded eval. (Matijs van Zuijlen, #394)

3.9.1 (from changelog)

Full Changelog

Bug Fixes:

  • Remove warning caused by keyword arguments on Ruby 2.7.0. (Jon Rowe, #392)

3.9.0 (from changelog)

Full Changelog

NO CHANGES

Version 3.9.0 was released to allow other RSpec gems to release 3.9.0.

3.8.3 (from changelog)

Bug Fixes:

  • Escape \r when outputting strings inside arrays. (Tomita Masahiro, Jon Rowe, #378)
  • Ensure that optional hash arguments are recognised correctly vs keyword arguments. (Evgeni Dzhelyov, #366)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

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)

@depfu depfu bot added the depfu label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants