summaryrefslogtreecommitdiff
path: root/pathname_builtin.rb
AgeCommit message (Collapse)Author
2025-12-07[ruby/pathname] Raise the previous messageNobuyoshi Nakada
Fix ruby/pathname#75. https://github.com/ruby/pathname/commit/5ba967b274
2025-12-07[ruby/pathname] [DOC] Pathname#freezeNobuyoshi Nakada
https://github.com/ruby/pathname/commit/4580540a2b
2025-12-07[ruby/pathname] Define private method `same_paths?` for Ractor-safetyNobuyoshi Nakada
https://github.com/ruby/pathname/commit/d33d18e5e2
2025-12-07[ruby/pathname] Freeze and hide internal constantsNobuyoshi Nakada
https://github.com/ruby/pathname/commit/60f5d58d73
2025-12-07[ruby/pathname] Use `File.path` for conversion to path nameNobuyoshi Nakada
This method has been defined since 1.9, as the standard conversion procedure. https://github.com/ruby/pathname/commit/8f582dc65d
2025-12-07[ruby/pathname] Define `to_path` alias directlyNobuyoshi Nakada
The constant `TO_PATH` was defined for 1.9 compatibility but the code for it was dropped 10 years ago. https://github.com/ruby/pathname/commit/95ad4ceb19
2025-11-05Support passing a #to_str object to Pathname.new for compatibilityBenoit Daloze
* See https://github.com/ruby/pathname/pull/57#issuecomment-3485646510
2025-09-15[DOC] Fix typos in commentsÉtienne Barrié
2025-09-07Refine use of `Pathname::SEPARATOR_PAT`Nobuyoshi Nakada
- Remove unnecessary string interpolations. - `/#{SEPARATOR_PAT}/o` is always same as `SEPARATOR_PAT` Regexp.
2025-08-26[DOC] Document constants in PathnamePeter Zhu
2025-08-26[DOC] Improve documentation of Kernel#PathnamePeter Zhu
2025-08-26Fix Pathname#lutime test and add the method backBenoit Daloze
2025-08-26Use File.sysopen for consistencyBenoit Daloze
* There is no point to call IO.sysopen and that's the last IO method, with Pathname we know it's always a file path.
2025-08-26Add back Pathname#realdirpathBenoit Daloze
* This has no test in test_pathname.rb, that is why it was missed. * Found by ruby/spec, and confirmed pathname.c did the same.
2025-08-26Pathname#initialize should raise TypeError if coercion failsBenoit Daloze
* Found by ruby/spec, and confirmed pathname.c did the same.
2025-08-26The Pathname method should be a module_function of KernelBenoit Daloze
* Found by ruby/spec, and confirmed pathname.c did the same.
2025-08-25Suppress CodeQL warnings to use File methods instead of IOHiroshi SHIBATA
2025-08-25Make Kernel.Pathname as public againHiroshi SHIBATA
2025-08-25Raise TypeError without String argument same as C versionHiroshi SHIBATA
2025-08-25Import https://github.com/ruby/pathname/pull/57Hiroshi SHIBATA
2025-08-04[DOC] Fill undocumented documentsNobuyoshi Nakada
2025-08-03pathname_buitin.rb: Remove useless `o` modifierJean Boussier
2025-07-15Make Pathname#mkpath builtinJean Boussier
[Feature #17473]
2025-07-15pathname.rbinc conflicts with `lib/pathname.rb` in our test suite.Hiroshi SHIBATA
We can use `pathname.rb` after merging `lib/pathname.rb` to `pathname_builtin.rb`.