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

Use Struct instead of OpenStruct. #545

Merged
merged 2 commits into from Mar 15, 2024
Merged

Use Struct instead of OpenStruct. #545

merged 2 commits into from Mar 15, 2024

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Mar 14, 2024

I will migrate osturct as bundled gems at Ruby 3.5. We should remove its dependency from Rake.

I will migrate osturct as bundled gems at Ruby 3.5. We should remove
its dependency from Rake
@hsbt hsbt force-pushed the remove-ostrust-dependency branch from dcb5c1c to a27bb8e Compare March 14, 2024 09:11
@hsbt hsbt merged commit 24e8de2 into master Mar 15, 2024
76 checks passed
@hsbt hsbt deleted the remove-ostrust-dependency branch March 15, 2024 00:34
xjunior pushed a commit to powerhome/audiences that referenced this pull request Apr 8, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [rake](https://togithub.com/ruby/rake)
([changelog](https://togithub.com/ruby/rake/blob/v13.2.1/History.rdoc))
| `13.1.0` -> `13.2.1` |
[![age](https://developer.mend.io/api/mc/badges/age/rubygems/rake/13.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/rake/13.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/rake/13.1.0/13.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rake/13.1.0/13.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ruby/rake (rake)</summary>

### [`v13.2.1`](https://togithub.com/ruby/rake/releases/tag/v13.2.1)

[Compare
Source](https://togithub.com/ruby/rake/compare/v13.2.0...v13.2.1)

#### What's Changed

- Suppressed "<internal:array>:52:in 'Array#each'" from backtrace by
[@&#8203;hsbt](https://togithub.com/hsbt) in
[ruby/rake#554
- Bump actions/configure-pages from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[ruby/rake#553

**Full Changelog**:
ruby/rake@v13.2.0...v13.2.1

### [`v13.2.0`](https://togithub.com/ruby/rake/releases/tag/v13.2.0)

[Compare
Source](https://togithub.com/ruby/rake/compare/v13.1.0...v13.2.0)

#### What's Changed

- Fix rule example to be correct by
[@&#8203;zenspider](https://togithub.com/zenspider) in
[ruby/rake#525
- Switch to use test-unit by [@&#8203;hsbt](https://togithub.com/hsbt)
in
[ruby/rake#536
- Removed redundant block by [@&#8203;hsbt](https://togithub.com/hsbt)
in
[ruby/rake#537
- Use Struct instead of OpenStruct. by
[@&#8203;hsbt](https://togithub.com/hsbt) in
[ruby/rake#545
- Accept FileList object as directory task's target by
[@&#8203;gemmaro](https://togithub.com/gemmaro) in
[ruby/rake#530
- Fix exception when exception has nil backtrace by
[@&#8203;janbiedermann](https://togithub.com/janbiedermann) in
[ruby/rake#451
- Add TruffleRuby on CI by
[@&#8203;andrykonchin](https://togithub.com/andrykonchin) in
[ruby/rake#551

#### New Contributors

- [@&#8203;zenspider](https://togithub.com/zenspider) made their first
contribution in
[ruby/rake#525
- [@&#8203;gemmaro](https://togithub.com/gemmaro) made their first
contribution in
[ruby/rake#530
- [@&#8203;janbiedermann](https://togithub.com/janbiedermann) made their
first contribution in
[ruby/rake#451
- [@&#8203;andrykonchin](https://togithub.com/andrykonchin) made their
first contribution in
[ruby/rake#551

**Full Changelog**:
ruby/rake@v13.1.0...v13.2.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [x] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/powerhome/audiences).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
:nosearch, :rakelib, :show_all_tasks, :show_prereqs,
:show_task_pattern, :show_tasks, :silent, :suppress_backtrace_pattern,
:thread_pool_size, :trace, :trace_output, :trace_rules
).new
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nicer if this was a named class:

NoMethodError: undefined method `verbose' for an instance of #<Class:0x00000001038112e0>

vs something like:

NoMethodError: undefined method `verbose' for an instance of #<Rake::Options:0x00000001038112e0>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants