<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/tmpdir.rb, branch v3_2_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/tmpdir] Ignore empty environment variables</title>
<updated>2022-10-25T07:54:40+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-25T07:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=114e71d06280f9c57b9859ee4405ae89a989ddb6'/>
<id>114e71d06280f9c57b9859ee4405ae89a989ddb6</id>
<content type='text'>
Fixes https://github.com/ruby/tmpdir/pull/17

https://github.com/ruby/tmpdir/commit/a79c727a5d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/ruby/tmpdir/pull/17

https://github.com/ruby/tmpdir/commit/a79c727a5d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] Found or raise </title>
<updated>2022-10-25T07:16:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-25T07:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=883d9c305f82b23fbe0ed28e9d74461cc5e13b97'/>
<id>883d9c305f82b23fbe0ed28e9d74461cc5e13b97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] Make `Dir.tmpdir` more idiomatic and functional</title>
<updated>2022-10-25T06:59:16+00:00</updated>
<author>
<name>Peter Vandenberk</name>
<email>peter.vandenberk@simplybusiness.co.uk</email>
</author>
<published>2022-09-20T07:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=287c5da4aae6a3c8ae16cde590a9eb6d4dd655bf'/>
<id>287c5da4aae6a3c8ae16cde590a9eb6d4dd655bf</id>
<content type='text'>
Use `Enumerable#find` to iterate over the candidates, not `Enumerable.each`.

(this makes the code more functional, and - IMO - slightly more idiomatic,
as it avoids setting the "global" (by which I mean: non-local) `tmp`
variable from inside the block)

https://github.com/ruby/tmpdir/commit/d1f20ad694
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `Enumerable#find` to iterate over the candidates, not `Enumerable.each`.

(this makes the code more functional, and - IMO - slightly more idiomatic,
as it avoids setting the "global" (by which I mean: non-local) `tmp`
variable from inside the block)

https://github.com/ruby/tmpdir/commit/d1f20ad694
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] Fix typo </title>
<updated>2022-10-25T05:02:54+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-25T05:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cade3aba610b5b018072c646b28a2c10bc2669bb'/>
<id>cade3aba610b5b018072c646b28a2c10bc2669bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] [DOC] Improve documentation</title>
<updated>2022-10-25T04:57:56+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-25T04:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=71a5b1d4573ea16e4691e0847cea7d309116e224'/>
<id>71a5b1d4573ea16e4691e0847cea7d309116e224</id>
<content type='text'>
https://github.com/ruby/tmpdir/commit/b9c880f2b6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tmpdir/commit/b9c880f2b6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] [DOC] Fix syntax in example code [ci skip]</title>
<updated>2021-11-11T01:37:35+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-11-05T00:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=414b5565f7d0aeb27b43e8f3b81914314e03dfb0'/>
<id>414b5565f7d0aeb27b43e8f3b81914314e03dfb0</id>
<content type='text'>
RDoc expects example code to be valid syntax.

https://github.com/ruby/tmpdir/commit/ee42540ebb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RDoc expects example code to be valid syntax.

https://github.com/ruby/tmpdir/commit/ee42540ebb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] Make usable chars more strict</title>
<updated>2021-04-05T12:08:57+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-03-31T16:17:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4b6fa03a72b23fa03a8f37cbfdcad3f0251832cf'/>
<id>4b6fa03a72b23fa03a8f37cbfdcad3f0251832cf</id>
<content type='text'>
Remove other than alphanumeric and some punctuations considered
filesystem-safe, instead of removing some unsafe chars only.

https://hackerone.com/reports/1131465

https://github.com/ruby/tmpdir/commit/adf294bc2d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove other than alphanumeric and some punctuations considered
filesystem-safe, instead of removing some unsafe chars only.

https://hackerone.com/reports/1131465

https://github.com/ruby/tmpdir/commit/adf294bc2d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/tmpdir] Warn when environment variables skipped (fixes #2)</title>
<updated>2020-09-14T09:22:37+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-07-16T08:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=edb5c67195129e1d10f329edb55e486e1874b20e'/>
<id>edb5c67195129e1d10f329edb55e486e1874b20e</id>
<content type='text'>
https://github.com/ruby/tmpdir/commit/af7b020a89
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/tmpdir/commit/af7b020a89
</pre>
</div>
</content>
</entry>
<entry>
<title>Correctly remove temporary directory if path yielded is mutated</title>
<updated>2020-05-29T14:06:46+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-05-29T02:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2ecfb88ee50510955acd3ae9fc94a5f109e7f109'/>
<id>2ecfb88ee50510955acd3ae9fc94a5f109e7f109</id>
<content type='text'>
Another approach would be to freeze the string, but that could
cause backwards compatibility issues.

Fixes [Bug #16918]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Another approach would be to freeze the string, but that could
cause backwards compatibility issues.

Fixes [Bug #16918]
</pre>
</div>
</content>
</entry>
<entry>
<title>Isolate the PRNG for tmpdir/tempfile</title>
<updated>2020-01-29T01:14:15+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-01-29T01:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=98f6c74b429f9e8afccb000da4a50920479dffd6'/>
<id>98f6c74b429f9e8afccb000da4a50920479dffd6</id>
<content type='text'>
To get rid of conflicts affected by `srand`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To get rid of conflicts affected by `srand`.
</pre>
</div>
</content>
</entry>
</feed>
