r18n / r18n-rails-api

Rails I18n compatibility for R18n
GNU Lesser General Public License v3.0
0 stars 1 forks source link

[ruby] Update toys → 0.15.0 (unknown) #67

Closed depfu[bot] closed 1 year ago

depfu[bot] commented 1 year ago

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ toys (~> 0.14.2 → ~> 0.15.0) · Repo · Changelog

Release Notes

0.15.0 (from changelog)

Toys 0.15.0 is a major release that adds arbitrary signal handling, cleans up some warts around entrypoint and method definition, and fixes a few long-standing issues.

Breaking changes:

  • If a missing delegate or a delegation loop is detected, ToolDefinitionError is raised instead of RuntimeError.
  • Passing a block to the to_run directive no longer defines the "run" method, but simply uses the block as the run entrypoint.
  • The default algorithm for determining whether flags and arguments add methods now allows overriding of methods of Toys::Context and any other included modules, but prevents collisions with private methods defined in the tool. (It continues to prevent overriding of public methods of Object and BasicObject.)

New functionality:

  • New DSL directive on_signal lets tools provide signal handlers.
  • You can pass a symbol to the to_run directive to set the entrypoint to a method other than "run".
  • Flags and arguments can be configured explicitly to add methods or not add methods, overriding the default behavior.
  • The minitest template has a configuration argument that defines MT_COMPAT.

Fixes and documentation:

  • The Bundler integration prevents Bundler from attempting to self-update to the version specified in a lockfile (which would often cause problems when Bundler is called from Toys).
  • Tools generated by the minitest and rspec standard templates can now interact properly with stdin (e.g. so you can invoke pry temporarily from a test.)
  • Some cleanup of varioius mixins to prevent issues if their methods ever get overridden.
  • Various improvements and clarifications in the reference documentation and user guide.

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


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)
codecov[bot] commented 1 year ago

Codecov Report

Merging #67 (40517dc) into main (859f3e4) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   98.36%   98.36%           
=======================================
  Files           8        8           
  Lines         244      244           
=======================================
  Hits          240      240           
  Misses          4        4           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

depfu[bot] commented 1 year ago

Closed in favor of #68.