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

Bump zeitwerk from 2.6.8 to 2.6.9 #697

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 26, 2023

Bumps zeitwerk from 2.6.8 to 2.6.9.

Changelog

Sourced from zeitwerk's changelog.

2.6.9 (25 July 2023)

  • Given a path as a string or Pathname object, Zeitwerk::Loader#cpath_expected_at returns a string with the corresponding expected constant path.

    Some examples, assuming that app/models is a root directory:

    loader.cpath_expected_at("app/models")                  # => "Object"
    loader.cpath_expected_at("app/models/user.rb")          # => "User"
    loader.cpath_expected_at("app/models/hotel")            # => "Hotel"
    loader.cpath_expected_at("app/models/hotel/billing.rb") # => "Hotel::Billing"

    This method returns nil for some input like ignored files, and may raise errors too. Please check its documentation for further details.

  • Zeitwerk::Loader#load_file raises with a more informative error if given a hidden file or directory.

  • Zeitwerk::Loader#eager_load_dir does nothing if the argument is a hidden file or directory. This is coherent with its existing behavior for eager load exclusions and ignored paths. Before, that kind of argument would result in a non-deliberate NameError.

  • Documentation improvements.

Commits
  • 14dc846 Ready for version 2.6.9
  • 7897991 CHANGELOG.md edits
  • 2cfc3c2 Rename expected_cpath_at to cpath_expected_at
  • 3928654 Update CHANGELOG.md
  • 2d84135 Let expected_cpath_at validate cnames itself
  • 278ea85 Let expected_cpath_at raise Zeitwerk::NameError on invalid cnames
  • ecd79cc Rename cpath_at to expected_cpath_at
  • 607e162 Add test coverage for an edge case in load_file
  • d250a0e Improve load_file error handling for hidden arguments
  • a694dc2 Link to a section in cpath_at docs
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [zeitwerk](https://github.com/fxn/zeitwerk) from 2.6.8 to 2.6.9.
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md)
- [Commits](fxn/zeitwerk@v2.6.8...v2.6.9)

---
updated-dependencies:
- dependency-name: zeitwerk
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 26, 2023
@dependabot dependabot bot requested a review from unhappychoice July 26, 2023 03:47
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Merging #697 (74af130) into master (d4a7275) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #697   +/-   ##
=======================================
  Coverage   89.08%   89.08%           
=======================================
  Files          25       25           
  Lines         559      559           
=======================================
  Hits          498      498           
  Misses         61       61           

@unhappychoice unhappychoice merged commit a30751c into master Jul 26, 2023
2 of 6 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/zeitwerk-2.6.9 branch July 26, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant