Commit ae0b115
committed
fix: remove ostruct dependency for Ruby 3.5+ compatibility
Replace OpenStruct with custom PropertyStruct implementation to ensure
compatibility with Ruby 3.5+ where ostruct is being removed from the
standard library.
The PropertyStruct class provides the same dynamic attribute access
functionality as OpenStruct but without requiring the external gem.
Fixes rkoster/rubionic-workspace#229
Related to cloudfoundry#7081 parent 06110bc commit ae0b115
1 file changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
8 | 30 | | |
9 | 31 | | |
10 | 32 | | |
| |||
99 | 121 | | |
100 | 122 | | |
101 | 123 | | |
102 | | - | |
| 124 | + | |
103 | 125 | | |
104 | 126 | | |
105 | 127 | | |
| |||
0 commit comments