Commit a0dbf2a
committed
Move Pathname to core and use mostly-Ruby version
* RubyPathname is stripped down to match the remaining extension
in CRuby 3.5 (<=> and sub).
* RubyPathname.path field is bound to @path instance variable.
* pathname.rb comes from ruby/pathname, with undef preamble,
extension load, and a few utility methods removed.
* stdlib pathname.rb contains those utility methods.
See ruby/pathname#57 and ruby/pathname#17
Fixes jruby#90601 parent 7af7ec5 commit a0dbf2a
File tree
10 files changed
+1234
-943
lines changed- core/src/main
- java/org/jruby
- ext/pathname
- runtime
- ruby/jruby
- kernel
- lib
- ruby/stdlib
- test/mri/pathname
10 files changed
+1234
-943
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| 481 | + | |
480 | 482 | | |
481 | 483 | | |
482 | 484 | | |
| |||
5253 | 5255 | | |
5254 | 5256 | | |
5255 | 5257 | | |
| 5258 | + | |
5256 | 5259 | | |
5257 | 5260 | | |
5258 | 5261 | | |
| |||
Lines changed: 0 additions & 41 deletions
This file was deleted.
0 commit comments