зеркало из https://github.com/github/ruby.git
move `Tempfile.create(anonymous: true)` entry.
This commit is contained in:
Родитель
c05f60a600
Коммит
767aa0cdb6
12
NEWS.md
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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче