You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-47232: [Ruby] Suppress warnings in test with Ruby 3.5 (#47233)
### Rationale for this change
```text
ruby/red-arrow/test/test-buffer.rb:26: warning: ObjectSpace._id2ref is deprecated
```
```text
ruby/red-arrow/test/test-ractor.rb:32: warning: Ractor#take was deprecated and use Ractor#value instead. This method will be removed after the end of Aug 2025
```
### What changes are included in this PR?
* Use `ObjectSpace::WeakMap` instead of `ObjectSapce._id2ref`
* Use `Ractor#value` instead of `Ractor#take`
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #47232
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
0 commit comments