mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
multi-byte string. * test/json/{test_json.rb, test_json_unicode.rb}: add magic comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f7db0db75
commit
7c884e9012
5 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Sat Jan 26 09:41:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
|
||||||
|
multi-byte string.
|
||||||
|
|
||||||
|
* test/json/{test_json.rb, test_json_unicode.rb}:
|
||||||
|
add magic comment.
|
||||||
|
|
||||||
Sat Jan 26 09:30:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Jan 26 09:30:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* include/ruby/encoding.h (rb_usascii_encindex): added prototype.
|
* include/ruby/encoding.h (rb_usascii_encindex): added prototype.
|
||||||
|
|
|
@ -188,7 +188,7 @@ module REXML
|
||||||
|
|
||||||
# Method contributed by Henrik Martensson
|
# Method contributed by Henrik Martensson
|
||||||
def strip_quotes(quoted_string)
|
def strip_quotes(quoted_string)
|
||||||
quoted_string =~ /^[\'\"].*[\´\"]$/ ?
|
quoted_string =~ /^[\'\"].*[\'\"]$/ ?
|
||||||
quoted_string[1, quoted_string.length-2] :
|
quoted_string[1, quoted_string.length-2] :
|
||||||
quoted_string
|
quoted_string
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'json'
|
require 'json'
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'json'
|
require 'json'
|
||||||
|
|
|
@ -462,7 +462,7 @@ module RSS
|
||||||
"all of your answers here.",
|
"all of your answers here.",
|
||||||
maker_readers, feed_readers)
|
maker_readers, feed_readers)
|
||||||
_assert_maker_itunes_summary("This week we talk about surviving in a " +
|
_assert_maker_itunes_summary("This week we talk about surviving in a " +
|
||||||
"Red state if you’re a Blue person. Or " +
|
"Red state if you're a Blue person. Or " +
|
||||||
"vice versa.",
|
"vice versa.",
|
||||||
maker_readers, feed_readers)
|
maker_readers, feed_readers)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue