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.10.0 → 3.12.0 (minor) #134

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Oct 27, 2022

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.10.0 → 3.12.0) · Repo

Commits

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

↗️ diff-lcs (indirect, 1.4.4 → 1.5.0) · Repo · Changelog

Release Notes

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

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

Commits

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

↗️ rspec-core (indirect, 3.10.1 → 3.12.0) · Repo · Changelog

Release Notes

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)

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.10.1 → 3.12.0) · Repo · Changelog

Release Notes

3.12.0 (from changelog)

Full Changelog

Enhancements:

  • Add an_array_matching alias for match_array to improve readability as an argument matcher. (Mark Schneider, #1361)

3.11.1 (from changelog)

Full Changelog

Bug Fixes:

  • Allow the contain_exactly matcher to be reused by resetting its internals on matches? (@bclayman-sq, #1326)
  • Using the exist matcher on FileTest no longer produces a deprecation warning. (Ryo Nakamura, #1383)

3.11.0 (from changelog)

Full Changelog

Enhancements:

  • Return true from aggregate_failures when no exception occurs. (Jon Rowe, #1225)

Deprecations:

  • Print a deprecation message when using the implicit block expectation syntax. (Phil Pirozhkov, #1139)

3.10.2 (from changelog)

Full Changelog

Bug Fixes:

  • Fix support for dynamic matchers for expectation target checks (Phil Pirozhkov, #1294)
  • Fix expect(array).to include(hash).times, previously this would fail due to matching the entire array as a single hash, rather than a member of the hash. (Slava Kardakov, #1322)
  • Ensure raise_error matches works with the error_highlight option from Ruby 3.1. (Peter Goldstein, #1339)

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-mocks (indirect, 3.10.2 → 3.12.0) · Repo · Changelog

Release Notes

3.12.0 (from changelog)

Full Changelog

Enhancements:

  • Improve diff output when diffing keyword arguments against hashes. (Jean Boussier, #1461)

3.11.2 (from changelog)

Full Changelog

Bug Fixes:

  • Use the original implementation of Class.new to detect overridden definitions of new rather than the owner, fixing detection of "double aliased" methods in Ruby 3 and above. (Benoit Daloze, #1470, #1476)
  • Support keyword argument semantics when constraining argument expectations using with on Ruby 3.0+ with instance_double (Andrii Malyshko, #1473)

3.11.1 (from changelog)

Full Changelog

Bug Fixes:

  • Add extra ruby2_keywords calls to properly designate methods using *args to pass keyword around, fixes an issue with TruffleRuby. (Benoit Daloze, #1464)

3.11.0 (from changelog)

Full Changelog

Enhancements:

  • Add and_invoke implementation for configuring responses to receive (and receive_messages) with multiple callable objects. (Kyle Smith, #1411)

3.10.3 (from changelog)

Full Changelog

Bug Fixes:

  • Suppress warning by setting $VERBOSE to nil. (Nobuyoshi Nakada, #1414)
  • Support keyword argument semantics when constraining argument expectations using with on Ruby 3.0+ (Yusuke Endoh, #1394)

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-support (indirect, 3.10.2 → 3.12.0) · Repo · Changelog

Release Notes

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)

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 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 Oct 27, 2022
Copy link
Contributor Author

depfu bot commented Feb 5, 2024

Closed in favor of #206.

@depfu depfu bot closed this Feb 5, 2024
@depfu depfu bot deleted the depfu/update/rspec-3.12.0 branch February 5, 2024 14:16
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