Commit 5f4ba59
authored
### 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 <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
1 parent d9618fe commit 5f4ba59
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
0 commit comments