From 40ddc00bc41e8c4afc436b09c8c9d62e655cb6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Mon, 18 Jul 2011 15:22:04 +0200 Subject: [PATCH] Compatiblity for oZones with ruby1.9 --- src/ozones/Client/lib/OZonesClient.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ozones/Client/lib/OZonesClient.rb b/src/ozones/Client/lib/OZonesClient.rb index 3641c5319d..bc8294259d 100644 --- a/src/ozones/Client/lib/OZonesClient.rb +++ b/src/ozones/Client/lib/OZonesClient.rb @@ -94,7 +94,7 @@ EOT body_str = "" - template.strip.each{|line| + template.strip.each_line{|line| line.strip! key,value = line.split("=") body_str = body_str + key + "=" + URI.escape(value) + "&" @@ -261,4 +261,4 @@ EOT OZonesClient::Error.new(e.message) end end -end \ No newline at end of file +end