move `Tempfile.create(anonymous: true)` entry.

This commit is contained in:
Tanaka Akira 2024-06-01 18:14:29 +09:00
Родитель c05f60a600
Коммит 767aa0cdb6
1 изменённых файлов: 7 добавлений и 5 удалений

12
NEWS.md
Просмотреть файл

@ -40,6 +40,13 @@ Note: We're only listing outstanding class updates.
## Stdlib updates ## Stdlib updates
* Tempfile
* The keyword argument `anonymous: true` is implemented for `Tempfile.create`.
`Tempfile.create(anonymous: true)` removes the created temporary file immediately.
So applications don't need to remove the file.
[[Feature #20497]]
The following default gems are updated. The following default gems are updated.
* RubyGems 3.6.0.dev * RubyGems 3.6.0.dev
@ -89,11 +96,6 @@ The following bundled gems are promoted from default gems.
See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/logger/releases) or changelog for details of the default gems or bundled gems. See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/logger/releases) or changelog for details of the default gems or bundled gems.
* The keyword argument `anonymous: true` is implemented for `Tempfile.create`.
`Tempfile.create(anonymous: true)` removes the created temporary file immediately.
So applications don't need to remove the file.
[[Feature #20497]]
## Supported platforms ## Supported platforms
## Compatibility issues ## Compatibility issues