Project

General

Profile

« Previous | Next » 

Revision 158cf62b

Added by kazu (Kazuhiro Egawa) over 7 years ago

fix YAML::Store

  • lib/yaml/store.rb (YAML::Store#initialize): Fix arguments.
    [ruby-dev:49821] [Bug #12800]

  • test/yaml/test_store.rb: Add tests from test/test_pstore.rb.

  • test/yaml/test_store.rb (YAMLStoreTest#test_with_options): Add options test.

  • lib/yaml/store.rb (YAML::Store#dump): Revert to to_yaml.

  • lib/yaml/store.rb (YAML::Store#empty_marshal_data): Use to_yaml with options.

  • lib/yaml/store.rb (YAML::Store#empty_marshal_checksum): Use CHECKSUM_ALGO.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e