Project

General

Profile

Actions

Misc #21834

open

Extract `yaml/store` into it's own gem that depends on the `pstore` gem

Misc #21834: Extract `yaml/store` into it's own gem that depends on the `pstore` gem

Added by postmodern (Hal Brodigan) about 9 hours ago. Updated about 9 hours ago.

Status:
Open
Assignee:
-
[ruby-core:124479]

Description

Ruby 4.0.0 removed the pstore gem from the set of default stdlib libraries. However, yaml/store is still available from the yaml library, but relies on the pstore gem which is now no longer part of stdlib. It is odd that a file which is still part of stdlib requires another gem that is not part of stdlib. Perhaps yaml/store could be extracted into it's own gem called yaml-store which would have an explicit dependency on the pstore gem. This would reduce the need to explicitly list pstore as a gem dependency in the Gemfile or gemspec, if code requires yaml/store for YAML::Store.

Actions

Also available in: PDF Atom