<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/pathname/test_pathname.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/pathname] Raise the previous message</title>
<updated>2025-12-07T14:20:25+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-07T03:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=db6071b5216ac58976f8ab8181ff6eab02dfa8be'/>
<id>db6071b5216ac58976f8ab8181ff6eab02dfa8be</id>
<content type='text'>
Fix ruby/pathname#75.

https://github.com/ruby/pathname/commit/5ba967b274
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix ruby/pathname#75.

https://github.com/ruby/pathname/commit/5ba967b274
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pathname] Add more tests for `Pathname#initialize`</title>
<updated>2025-12-07T14:20:24+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-07T03:29:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a8a188e1fc8568185c2ca460b5a2e800e9cac4bd'/>
<id>a8a188e1fc8568185c2ca460b5a2e800e9cac4bd</id>
<content type='text'>
https://github.com/ruby/pathname/commit/a2edd25bc1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pathname/commit/a2edd25bc1
</pre>
</div>
</content>
</entry>
<entry>
<title>Support passing a #to_str object to Pathname.new for compatibility</title>
<updated>2025-11-05T05:52:58+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-11-04T14:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f8d1291162d45db18f51f0a8e0e27bb1f98b60ae'/>
<id>f8d1291162d45db18f51f0a8e0e27bb1f98b60ae</id>
<content type='text'>
* See https://github.com/ruby/pathname/pull/57#issuecomment-3485646510
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* See https://github.com/ruby/pathname/pull/57#issuecomment-3485646510
</pre>
</div>
</content>
</entry>
<entry>
<title>Exclude a couple tests failing on JRuby for multiple reasons</title>
<updated>2025-08-26T09:58:59+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-08-23T12:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=59c996797e16f45a3b91baa04083c2da3a1edfcb'/>
<id>59c996797e16f45a3b91baa04083c2da3a1edfcb</id>
<content type='text'>
* https://github.com/jruby/jruby/issues/8972
  but also at least 2 more incompatibilities.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* https://github.com/jruby/jruby/issues/8972
  but also at least 2 more incompatibilities.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Pathname#lutime test and add the method back</title>
<updated>2025-08-26T09:58:40+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-08-23T12:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1c62bbb51a58bb97dea72570a735fcb4a4eee4d9'/>
<id>1c62bbb51a58bb97dea72570a735fcb4a4eee4d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TestPathname#has_symlink? it was returning false on Linux</title>
<updated>2025-08-26T09:58:18+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-08-23T12:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5981961c2cc875466dfc05e074c0856dd7326c3e'/>
<id>5981961c2cc875466dfc05e074c0856dd7326c3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Import https://github.com/ruby/pathname/pull/57</title>
<updated>2025-08-25T08:40:11+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-08-22T02:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b4a380855ab141c3b8cf3cdc0725cd24784fc62'/>
<id>1b4a380855ab141c3b8cf3cdc0725cd24784fc62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow method chaining with Pathname#mkpath</title>
<updated>2024-10-04T03:21:27+00:00</updated>
<author>
<name>schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2020-10-26T18:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3c54b8e9205fa8debe09447138fd08aeaa59e69c'/>
<id>3c54b8e9205fa8debe09447138fd08aeaa59e69c</id>
<content type='text'>
Currently in my code when I want to create a pathname object and create a path at the same time I must use tap

```
path = Pathname.new("/tmp/new").tap(&amp;:mkpath)
```

I think it would be cleaner to be able to chain on the results of these methods instead:

```
path = Pathname.new("/tmp/new").mkpath
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently in my code when I want to create a pathname object and create a path at the same time I must use tap

```
path = Pathname.new("/tmp/new").tap(&amp;:mkpath)
```

I think it would be cleaner to be able to chain on the results of these methods instead:

```
path = Pathname.new("/tmp/new").mkpath
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce Pathname.mktmpdir</title>
<updated>2024-10-04T02:15:33+00:00</updated>
<author>
<name>schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2020-10-27T18:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=08346e7267b4f17ae207d67543d5f78c2541dc86'/>
<id>08346e7267b4f17ae207d67543d5f78c2541dc86</id>
<content type='text'>
When I want to create a tmpdir I often want to manipulate it as a pathname. By introducing Pathname.mktmpdir I can get this behavior. 

Currently I must:

```ruby
Dir.mktmpdir do |dir|
  dir = Pathname(dir)
  # ... code
end
```

I would like to be able to instead:

```ruby
Pathname.mktmpdir do |dir|
  # ... code
end
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When I want to create a tmpdir I often want to manipulate it as a pathname. By introducing Pathname.mktmpdir I can get this behavior. 

Currently I must:

```ruby
Dir.mktmpdir do |dir|
  dir = Pathname(dir)
  # ... code
end
```

I would like to be able to instead:

```ruby
Pathname.mktmpdir do |dir|
  # ... code
end
```</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pathname] Implement Pathname#lutime</title>
<updated>2022-04-21T08:10:19+00:00</updated>
<author>
<name>Akinori MUSHA</name>
<email>knu@idaemons.org</email>
</author>
<published>2022-04-03T17:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cb02324c4e5c7aae0add0a5c4e5adbf637d9acb0'/>
<id>cb02324c4e5c7aae0add0a5c4e5adbf637d9acb0</id>
<content type='text'>
https://github.com/ruby/pathname/commit/268cb5acff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pathname/commit/268cb5acff
</pre>
</div>
</content>
</entry>
</feed>
