ruby-changes:19174
From: tenderlove <ko1@a...>
Date: Wed, 30 Mar 2011 12:39:13 +0900 (JST)
Subject: [ruby-changes:19174] Ruby:r31213 (trunk): converting require_relative to just regular requires
tenderlove 2011-03-30 12:38:53 +0900 (Wed, 30 Mar 2011) New Revision: 31213 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31213 Log: converting require_relative to just regular requires Modified files: trunk/test/psych/json/test_stream.rb trunk/test/psych/nodes/test_enumerable.rb trunk/test/psych/test_alias_and_anchor.rb trunk/test/psych/test_array.rb trunk/test/psych/test_boolean.rb trunk/test/psych/test_class.rb trunk/test/psych/test_coder.rb trunk/test/psych/test_date_time.rb trunk/test/psych/test_deprecated.rb trunk/test/psych/test_document.rb trunk/test/psych/test_emitter.rb trunk/test/psych/test_encoding.rb trunk/test/psych/test_engine_manager.rb trunk/test/psych/test_exception.rb trunk/test/psych/test_hash.rb trunk/test/psych/test_json_tree.rb trunk/test/psych/test_merge_keys.rb trunk/test/psych/test_nil.rb trunk/test/psych/test_null.rb trunk/test/psych/test_object.rb trunk/test/psych/test_omap.rb trunk/test/psych/test_parser.rb trunk/test/psych/test_psych.rb trunk/test/psych/test_scalar.rb trunk/test/psych/test_scalar_scanner.rb trunk/test/psych/test_serialize_subclasses.rb trunk/test/psych/test_set.rb trunk/test/psych/test_stream.rb trunk/test/psych/test_string.rb trunk/test/psych/test_struct.rb trunk/test/psych/test_symbol.rb trunk/test/psych/test_to_yaml_properties.rb trunk/test/psych/test_tree_builder.rb trunk/test/psych/test_yaml.rb trunk/test/psych/visitors/test_depth_first.rb trunk/test/psych/visitors/test_emitter.rb trunk/test/psych/visitors/test_to_ruby.rb trunk/test/psych/visitors/test_yaml_tree.rb Index: test/psych/test_serialize_subclasses.rb =================================================================== --- test/psych/test_serialize_subclasses.rb (revision 31212) +++ test/psych/test_serialize_subclasses.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestSerializeSubclasses < TestCase Index: test/psych/test_scalar_scanner.rb =================================================================== --- test/psych/test_scalar_scanner.rb (revision 31212) +++ test/psych/test_scalar_scanner.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestScalarScanner < TestCase Index: test/psych/test_to_yaml_properties.rb =================================================================== --- test/psych/test_to_yaml_properties.rb (revision 31212) +++ test/psych/test_to_yaml_properties.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestToYamlProperties < MiniTest::Unit::TestCase Index: test/psych/test_nil.rb =================================================================== --- test/psych/test_nil.rb (revision 31212) +++ test/psych/test_nil.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestNil < TestCase Index: test/psych/test_psych.rb =================================================================== --- test/psych/test_psych.rb (revision 31212) +++ test/psych/test_psych.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' require 'stringio' require 'tempfile' Index: test/psych/test_encoding.rb =================================================================== --- test/psych/test_encoding.rb (revision 31212) +++ test/psych/test_encoding.rb (revision 31213) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -require_relative 'helper' +require 'psych/helper' module Psych class TestEncoding < TestCase Index: test/psych/test_date_time.rb =================================================================== --- test/psych/test_date_time.rb (revision 31212) +++ test/psych/test_date_time.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' require 'date' module Psych Index: test/psych/test_engine_manager.rb =================================================================== --- test/psych/test_engine_manager.rb (revision 31212) +++ test/psych/test_engine_manager.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' require 'yaml' module Psych Index: test/psych/test_symbol.rb =================================================================== --- test/psych/test_symbol.rb (revision 31212) +++ test/psych/test_symbol.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestSymbol < TestCase Index: test/psych/test_tree_builder.rb =================================================================== --- test/psych/test_tree_builder.rb (revision 31212) +++ test/psych/test_tree_builder.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestTreeBuilder < TestCase Index: test/psych/nodes/test_enumerable.rb =================================================================== --- test/psych/nodes/test_enumerable.rb (revision 31212) +++ test/psych/nodes/test_enumerable.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative '../helper' +require 'psych/helper' module Psych module Nodes Index: test/psych/json/test_stream.rb =================================================================== --- test/psych/json/test_stream.rb (revision 31212) +++ test/psych/json/test_stream.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative '../helper' +require 'psych/helper' module Psych module JSON Index: test/psych/test_array.rb =================================================================== --- test/psych/test_array.rb (revision 31212) +++ test/psych/test_array.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestArray < TestCase Index: test/psych/test_document.rb =================================================================== --- test/psych/test_document.rb (revision 31212) +++ test/psych/test_document.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestDocument < TestCase Index: test/psych/test_boolean.rb =================================================================== --- test/psych/test_boolean.rb (revision 31212) +++ test/psych/test_boolean.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych ### Index: test/psych/visitors/test_yaml_tree.rb =================================================================== --- test/psych/visitors/test_yaml_tree.rb (revision 31212) +++ test/psych/visitors/test_yaml_tree.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative '../helper' +require 'psych/helper' module Psych module Visitors Index: test/psych/visitors/test_to_ruby.rb =================================================================== --- test/psych/visitors/test_to_ruby.rb (revision 31212) +++ test/psych/visitors/test_to_ruby.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative '../helper' +require 'psych/helper' module Psych module Visitors Index: test/psych/visitors/test_emitter.rb =================================================================== --- test/psych/visitors/test_emitter.rb (revision 31212) +++ test/psych/visitors/test_emitter.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative '../helper' +require 'psych/helper' module Psych module Visitors Index: test/psych/visitors/test_depth_first.rb =================================================================== --- test/psych/visitors/test_depth_first.rb (revision 31212) +++ test/psych/visitors/test_depth_first.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative '../helper' +require 'psych/helper' module Psych module Visitors Index: test/psych/test_hash.rb =================================================================== --- test/psych/test_hash.rb (revision 31212) +++ test/psych/test_hash.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestHash < TestCase Index: test/psych/test_struct.rb =================================================================== --- test/psych/test_struct.rb (revision 31212) +++ test/psych/test_struct.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' class PsychStructWithIvar < Struct.new(:foo) attr_reader :bar Index: test/psych/test_json_tree.rb =================================================================== --- test/psych/test_json_tree.rb (revision 31212) +++ test/psych/test_json_tree.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestJSONTree < TestCase Index: test/psych/test_merge_keys.rb =================================================================== --- test/psych/test_merge_keys.rb (revision 31212) +++ test/psych/test_merge_keys.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestMergeKeys < TestCase Index: test/psych/test_set.rb =================================================================== --- test/psych/test_set.rb (revision 31212) +++ test/psych/test_set.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestSet < TestCase Index: test/psych/test_stream.rb =================================================================== --- test/psych/test_stream.rb (revision 31212) +++ test/psych/test_stream.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestStream < TestCase Index: test/psych/test_coder.rb =================================================================== --- test/psych/test_coder.rb (revision 31212) +++ test/psych/test_coder.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestCoder < TestCase Index: test/psych/test_omap.rb =================================================================== --- test/psych/test_omap.rb (revision 31212) +++ test/psych/test_omap.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestOmap < TestCase Index: test/psych/test_parser.rb =================================================================== --- test/psych/test_parser.rb (revision 31212) +++ test/psych/test_parser.rb (revision 31213) @@ -1,6 +1,6 @@ # coding: utf-8 -require_relative 'helper' +require 'psych/helper' module Psych class TestParser < TestCase Index: test/psych/test_exception.rb =================================================================== --- test/psych/test_exception.rb (revision 31212) +++ test/psych/test_exception.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestException < TestCase Index: test/psych/test_deprecated.rb =================================================================== --- test/psych/test_deprecated.rb (revision 31212) +++ test/psych/test_deprecated.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestDeprecated < TestCase Index: test/psych/test_yaml.rb =================================================================== --- test/psych/test_yaml.rb (revision 31212) +++ test/psych/test_yaml.rb (revision 31213) @@ -2,7 +2,7 @@ # vim:sw=4:ts=4 # $Id$ # -require_relative 'helper' +require 'psych/helper' # [ruby-core:01946] module Psych_Tests Index: test/psych/test_class.rb =================================================================== --- test/psych/test_class.rb (revision 31212) +++ test/psych/test_class.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestClass < TestCase Index: test/psych/test_alias_and_anchor.rb =================================================================== --- test/psych/test_alias_and_anchor.rb (revision 31212) +++ test/psych/test_alias_and_anchor.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestAliasAndAnchor < TestCase Index: test/psych/test_scalar.rb =================================================================== --- test/psych/test_scalar.rb (revision 31212) +++ test/psych/test_scalar.rb (revision 31213) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -require_relative 'helper' +require 'psych/helper' module Psych class TestScalar < TestCase Index: test/psych/test_string.rb =================================================================== --- test/psych/test_string.rb (revision 31212) +++ test/psych/test_string.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class TestString < TestCase Index: test/psych/test_object.rb =================================================================== --- test/psych/test_object.rb (revision 31212) +++ test/psych/test_object.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych class Tagged Index: test/psych/test_emitter.rb =================================================================== --- test/psych/test_emitter.rb (revision 31212) +++ test/psych/test_emitter.rb (revision 31213) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -require_relative 'helper' +require 'psych/helper' module Psych class TestEmitter < TestCase Index: test/psych/test_null.rb =================================================================== --- test/psych/test_null.rb (revision 31212) +++ test/psych/test_null.rb (revision 31213) @@ -1,4 +1,4 @@ -require_relative 'helper' +require 'psych/helper' module Psych ### -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/