mikedamage-ruby_tube 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ruby_tube.rb +1 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/lib/ruby_tube.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require "ostruct"
|
2
1
|
require File.join(File.dirname(__FILE__), "yt_client.rb")
|
3
2
|
require File.join(File.dirname(__FILE__), "yt_video.rb")
|
4
3
|
require File.join(File.dirname(__FILE__), "yt_comment.rb")
|
@@ -137,7 +136,7 @@ class RubyTube < YTClient
|
|
137
136
|
private
|
138
137
|
def process_thumbnail_urls(hpricot)
|
139
138
|
thumbs = (hpricot/"media:thumbnail")
|
140
|
-
|
139
|
+
{:big => thumbs.last["url"], :small => thumbs.first["url"]}
|
141
140
|
end
|
142
141
|
|
143
142
|
end
|