1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/psych
tenderlove 6b3bac29fe merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815]
* ext/psych/lib/psych.rb: updated to released version.

    * ext/psych/psych.gemspec: ditto

    * ext/psych/emitter.c (initialize): allow a configuration object to be
      passed to the constructor so that mutation isn't required after
      instantiation.

    * ext/psych/lib/psych/handler.rb: add configuration object

    * ext/psych/lib/psych/visitors/emitter.rb: use configuration object if
      extra configuration is present.

    * ext/psych/lib/psych/visitors/to_ruby.rb: strings with YAML anchors
      are properly referenced. Patched by Joe Rafaniello via Github:
        https://github.com/tenderlove/psych/pull/69
    * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
    * test/psych/test_alias_and_anchor.rb: test for change

    * ext/psych/lib/psych.rb: bumping psych to 1.3.3
    * ext/psych/psych.gemspec: ditto

    * ext/psych/extconf.rb: Use an exception instaed of bare abort.

    * ext/psych/parser.c (transcode_string): fix encoding index names.
      Thanks markizko for reporting.

    * ext/psych/lib/psych/visitors/to_ruby.rb: fix a bug with string
      subclass dumping and loading.

    * test/psych/test_array.rb: pertinent tests

    * test/psych/test_string.rb: ditto

    * ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged maps to
      Psych::Omap objects rather than hashes. [Bug #6425]

    * test/psych/test_omap.rb: pertinent test.

    * ext/psych/lib/psych/visitors/yaml_tree.rb: keep a reference to
      custom coders so that GC does not impact dumped yaml reference ids.

    * ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not
      be changeable for JSON events.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07 20:50:05 +00:00
..
json * ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that 2011-05-03 23:06:19 +00:00
nodes converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
visitors merge revision(s) 33160,33381,33382,33383,33384,33385: 2011-12-12 17:47:29 +00:00
helper.rb merge revision(s) 33160,33381,33382,33383,33384,33385: 2011-12-12 17:47:29 +00:00
test_alias_and_anchor.rb merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815] 2012-08-07 20:50:05 +00:00
test_array.rb merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815] 2012-08-07 20:50:05 +00:00
test_boolean.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_class.rb * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded 2011-06-09 00:22:33 +00:00
test_coder.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_date_time.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_deprecated.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_document.rb merge revision(s) 33160,33381,33382,33383,33384,33385: 2011-12-12 17:47:29 +00:00
test_emitter.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_encoding.rb merge revision(s) 35245,35248: 2012-04-07 21:31:43 +00:00
test_engine_manager.rb merge revision(s) 32699: 2011-07-27 08:59:35 +00:00
test_exception.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_hash.rb * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read 2011-06-09 01:58:07 +00:00
test_json_tree.rb * ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that 2011-05-03 23:06:19 +00:00
test_merge_keys.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_nil.rb fix ambiguous argument warnings in test/psych/test_nil.rb 2011-06-21 18:04:41 +00:00
test_null.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_numeric.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_object.rb * ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of 2011-06-21 18:22:54 +00:00
test_object_references.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_omap.rb merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815] 2012-08-07 20:50:05 +00:00
test_parser.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_psych.rb fixing syntax error in 1.8 2011-03-30 03:52:07 +00:00
test_scalar.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_scalar_scanner.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_serialize_subclasses.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_set.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_stream.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_string.rb merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815] 2012-08-07 20:50:05 +00:00
test_struct.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_symbol.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_tainted.rb merge revision(s) 32578,33401,33403,33404,33531,33655,33679,33809,33900,33965,34067,34069,34087,34328,34330,34527,34772,34783,34839,34914,34953,34954,35153: [Backport #6212] 2012-03-29 01:25:11 +00:00
test_to_yaml_properties.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_tree_builder.rb converting require_relative to just regular requires 2011-03-30 03:38:53 +00:00
test_yaml.rb * ext/psych/lib/psych/core_ext.rb: Make Kernel#y private. 2011-08-13 00:29:56 +00:00