ruby-changes:34865
From: nobu <ko1@a...>
Date: Fri, 25 Jul 2014 17:01:51 +0900 (JST)
Subject: [ruby-changes:34865] nobu:r46948 (trunk): fix encoding spec
nobu 2014-07-25 16:55:58 +0900 (Fri, 25 Jul 2014) New Revision: 46948 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46948 Log: fix encoding spec "UTF-8" is invalid encoding name in Emacs, use "utf-8" instead. Modified files: trunk/lib/erb.rb trunk/test/erb/test_erb_m17n.rb trunk/test/psych/test_yamldbm.rb trunk/test/rubygems/test_gem_specification.rb Index: lib/erb.rb =================================================================== --- lib/erb.rb (revision 46947) +++ lib/erb.rb (revision 46948) @@ -68,7 +68,7 @@ require "cgi/util" https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L68 # a magic comment, however, it returns a string in the encoding specified # by the magic comment. # -# # -*- coding: UTF-8 -*- +# # -*- coding: utf-8 -*- # require 'erb' # # template = ERB.new <<EOF Index: test/rubygems/test_gem_specification.rb =================================================================== --- test/rubygems/test_gem_specification.rb (revision 46947) +++ test/rubygems/test_gem_specification.rb (revision 46948) @@ -1,4 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_specification.rb#L1 -# -*- coding: UTF-8 -*- require 'rubygems/test_case' require 'pathname' require 'stringio' Index: test/erb/test_erb_m17n.rb =================================================================== --- test/erb/test_erb_m17n.rb (revision 46947) +++ test/erb/test_erb_m17n.rb (revision 46948) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/erb/test_erb_m17n.rb#L1 -# -*- coding: UTF-8 -*- +# -*- coding: utf-8 -*- require 'test/unit' require 'erb' Index: test/psych/test_yamldbm.rb =================================================================== --- test/psych/test_yamldbm.rb (revision 46947) +++ test/psych/test_yamldbm.rb (revision 46948) @@ -1,5 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/test/psych/test_yamldbm.rb#L1 -# -*- coding: UTF-8 -*- - require_relative 'helper' require 'tmpdir' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/