From f1d18e5c6a5152d370bcbccd8b5578b6f5fa5b43 Mon Sep 17 00:00:00 2001 From: Tiago Pinto Date: Wed, 31 Mar 2010 18:49:30 +0100 Subject: [PATCH] minior bug --- History.txt | 8 ++++++-- lib/sapo.rb | 2 +- lib/sapo/videos.rb | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/History.txt b/History.txt index a848f48..8a75e39 100644 --- a/History.txt +++ b/History.txt @@ -1,8 +1,12 @@ -== 0.0.12 / 2010-03-23 +== 0.0.13 / 2010-03-31 + +* minor bug + +== 0.0.12 / 2010-03-31 * bugfixing -== 0.0.11 / 2010-03-23 +== 0.0.11 / 2010-03-31 * support for custom endpoint diff --git a/lib/sapo.rb b/lib/sapo.rb index fdcda0a..e4d97a2 100644 --- a/lib/sapo.rb +++ b/lib/sapo.rb @@ -8,7 +8,7 @@ %w[adwords adsl auto blogs connector id jobs photos shopping sts traffic videos].each{|l| require File.join(File.dirname(__FILE__), 'sapo', "#{l}.rb") } module Sapo - VERSION = '0.0.12' + VERSION = '0.0.13' def self.auth(l, p, o = {}) Connector.new(l, p, o) diff --git a/lib/sapo/videos.rb b/lib/sapo/videos.rb index 57fb770..d115492 100644 --- a/lib/sapo/videos.rb +++ b/lib/sapo/videos.rb @@ -46,7 +46,7 @@ def checkVideo(randname) resp = do_post_request(data, headers_for(data.size, "CheckVideo")) - return Video.new(resp.body) + return resp.body end def addVideoPost(video = {})