From 340422dc1e1f029a2e5d38d9aa1e3cc4d084a629 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 2 Apr 2009 07:00:21 +0000 Subject: * test/rss/rss-assertions.rb (RSS::Assertions::assert_atom_content_inline_other_text): newlines are valid for Base64 data. [ruby-dev:38248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/rss/rss-assertions.rb | 2 +- version.h | 8 +------- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6feac2c700..b8635e3c39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 2 15:43:46 2009 Kouhei Sutou + + * test/rss/rss-assertions.rb (RSS::Assertions::assert_atom_content_inline_other_text): + newlines are valid for Base64 data. [ruby-dev:38248] + Thu Apr 2 14:17:09 2009 Kazuhiro NISHIYAMA * test/openssl/test_ssl.rb (OpenSSL#test_client_session): diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb index 0d0d2cbe4f..e8916bd7da 100644 --- a/test/rss/rss-assertions.rb +++ b/test/rss/rss-assertions.rb @@ -564,7 +564,7 @@ EOA png_file = File.join(File.dirname(__FILE__), "dot.png") png = File.open(png_file, "rb") {|file| file.read} - base64_content = [png].pack("m").delete("\n") + base64_content = [png].pack("m") [false, true].each do |with_space| xml_content = base64_content diff --git a/version.h b/version.h index 7b13700ecd..e80d7a9d3f 100644 --- a/version.h +++ b/version.h @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-04-02" #define RUBY_VERSION_CODE 187 #define RUBY_RELEASE_CODE 20090402 -#define RUBY_PATCHLEVEL 157 +#define RUBY_PATCHLEVEL 158 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 @@ -28,9 +28,3 @@ RUBY_EXTERN const char *ruby_copyright; #define RUBY_RELEASE_STR "patchlevel" #define RUBY_RELEASE_NUM RUBY_PATCHLEVEL - - - - - - -- cgit v1.2.3