<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/tempfile.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/tempfile] Bump up 0.2.1</title>
<updated>2023-12-05T07:02:17+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-05T07:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f19de1289b4c20b12efe431d124f6988fbaf007f'/>
<id>f19de1289b4c20b12efe431d124f6988fbaf007f</id>
<content type='text'>
https://github.com/ruby/tempfile/commit/1450bb4f1c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tempfile/commit/1450bb4f1c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Alias #to_s to #inspect</title>
<updated>2023-12-05T06:43:42+00:00</updated>
<author>
<name>Akshay Birajdar</name>
<email>akshaybirajdar05@gmail.com</email>
</author>
<published>2023-05-01T10:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=494e2e4bfb28349a19b4503e37ac11509de1d50e'/>
<id>494e2e4bfb28349a19b4503e37ac11509de1d50e</id>
<content type='text'>
https://github.com/ruby/tempfile/commit/e515889412
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tempfile/commit/e515889412
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Make Tempfile#open return the underlying File</title>
<updated>2023-11-08T16:47:29+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2023-11-08T16:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ddd99a529005eade4e99735e7aba8166f4a32ca2'/>
<id>ddd99a529005eade4e99735e7aba8166f4a32ca2</id>
<content type='text'>
Add test for this behavior.

https://github.com/ruby/tempfile/commit/0ca31a6b8d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test for this behavior.

https://github.com/ruby/tempfile/commit/0ca31a6b8d
</pre>
</div>
</content>
</entry>
<entry>
<title>* remove trailing spaces. [ci skip]</title>
<updated>2023-11-08T15:20:01+00:00</updated>
<author>
<name>git</name>
<email>svn-admin@ruby-lang.org</email>
</author>
<published>2023-11-08T15:20:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=32e89b7f9cdd29d553be7f0e55eed1c21fc79184'/>
<id>32e89b7f9cdd29d553be7f0e55eed1c21fc79184</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Fix Tempfile#{dup,clone}</title>
<updated>2023-11-08T15:19:52+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2023-11-08T15:19:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ddcfc9feabf22ed6cc1071e65948a1d512a906fe'/>
<id>ddcfc9feabf22ed6cc1071e65948a1d512a906fe</id>
<content type='text'>
Instead of storing the delegate in @tmpfile, use __getobj__, since
delegate library already handles dup/clone for that.  Copy the
unlinked, mode, and opts instance variables to the returned object
when using dup/clone.

Split the close/unlink finalizer into two finalizers. The close
finalizer always closes when any Tempfile instance is GCed, since
each Tempfile instance uses a separate file descriptor. The unlink
finalizer unlinks only when the original and all duped/cloned
Tempfiles are GCed, since all share the same path.

For Tempfile#open, undefine the close finalizer after closing the
current file, the redefine the close finalizer with the new file.

Fixes [Bug #19441]

https://github.com/ruby/tempfile/commit/dafabf9c7b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of storing the delegate in @tmpfile, use __getobj__, since
delegate library already handles dup/clone for that.  Copy the
unlinked, mode, and opts instance variables to the returned object
when using dup/clone.

Split the close/unlink finalizer into two finalizers. The close
finalizer always closes when any Tempfile instance is GCed, since
each Tempfile instance uses a separate file descriptor. The unlink
finalizer unlinks only when the original and all duped/cloned
Tempfiles are GCed, since all share the same path.

For Tempfile#open, undefine the close finalizer after closing the
current file, the redefine the close finalizer with the new file.

Fixes [Bug #19441]

https://github.com/ruby/tempfile/commit/dafabf9c7b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Bump up 0.2.0</title>
<updated>2023-11-07T03:54:09+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-11-07T02:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0c55886fc2aad1688dbbb116803f36789f4cde9c'/>
<id>0c55886fc2aad1688dbbb116803f36789f4cde9c</id>
<content type='text'>
https://github.com/ruby/tempfile/commit/d6ddf7881e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tempfile/commit/d6ddf7881e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Expose Tempfile::VERSION</title>
<updated>2023-04-13T09:49:14+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-03-30T05:14:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8b924ebdf25fd77250d6ab69f162a2ab7fc888fc'/>
<id>8b924ebdf25fd77250d6ab69f162a2ab7fc888fc</id>
<content type='text'>
https://github.com/ruby/tempfile/commit/6aa1f37dc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tempfile/commit/6aa1f37dc4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Fix inconsistency in doc of Tempfile.create</title>
<updated>2023-02-27T02:29:06+00:00</updated>
<author>
<name>Sven Schwyn</name>
<email>sven.schwyn@bitcetera.com</email>
</author>
<published>2023-02-22T10:37:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc8329e8bc487aad825ba1e7948a714d77c2c6ac'/>
<id>cc8329e8bc487aad825ba1e7948a714d77c2c6ac</id>
<content type='text'>
https://github.com/ruby/tempfile/commit/3f96b2ed29
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tempfile/commit/3f96b2ed29
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Replace the external URIs to docs with rdoc-ref</title>
<updated>2022-10-12T03:27:40+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-12T02:54:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3539da64fc42d6eb76f1d4c3ccd219c3259ecd8b'/>
<id>3539da64fc42d6eb76f1d4c3ccd219c3259ecd8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tempfile] Enhanced RDoc for ::new and ::create (https://github.com/ruby/tempfile/pull/10)</title>
<updated>2022-05-20T08:49:14+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-05-06T18:07:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=589f1c1d55433cbff3e8c8dab471fa8f88371ae8'/>
<id>589f1c1d55433cbff3e8c8dab471fa8f88371ae8</id>
<content type='text'>
https://github.com/ruby/tempfile/commit/a5e53aa82a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tempfile/commit/a5e53aa82a
</pre>
</div>
</content>
</entry>
</feed>
