aboutsummaryrefslogtreecommitdiffstats
path: root/lib/yaml/store.rb
Commit message (Collapse)AuthorAgeFilesLines
* * lib/yaml/store.rb (YAML::Store#dump): use table argument instead of @table ↵kazu2016-09-291-1/+1
| | | | | | directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update call-seq of YAML::Store#initialize [ci skip]kazu2016-09-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix YAML::Storekazu2016-09-291-9/+12
| | | | | | | | | | | | | | | | | * 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
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb: make initialize method signature match thetenderlove2011-10-021-10/+5
| | | | | | superclass signature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/dbm.rb: Add documentation. Patch by Justin Collins.drbrain2011-05-141-0/+43
| | | | | | | | [Ruby 1.9 - Bug #4693] * lib/yaml/store.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/syck/dbm.rb: moved to lib/yaml/dbm.rb since it is nottenderlove2010-04-111-0/+43
| | | | | | | | YAML engine specific * ext/syck/lib/syck/store.rb: moved to lib/yaml/store.rb since it is not YAML engine specific. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml: Moved to ext/syck/lib, Syck only uses Syck constant.tenderlove2010-04-031-43/+0
| | | | | | | * lib/yaml.rb: Added an engine manager for choosing YAML engine. * ext/syck/lib/syck/rubytypes.rb: squashed warnings when using Psych git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb (YAML::load): modified to support emptymatz2008-04-111-1/+15
| | | | | | database. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (PStore::dump, PStore::load): allow subclassmatz2008-04-101-2/+2
| | | | | | | | | overriding. [ruby-dev:34305] * lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?): add a method to support faster PStore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (transaction): allow overriding dump and load.matz2004-05-271-66/+19
| | | | | | | | | [ruby-dev:23567] * lib/yaml/store.rb: follow lib/pstore.rb's change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb: use FileUtils::copy.eban2004-05-091-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb (YAML::Store#initialize): filename is firstwhy2003-08-011-1/+1
| | | | | | | argument. Thanks Kent Dahl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial checkin of YAML substances.why2003-05-091-0/+75
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e