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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ruby_tube.rb +1 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -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
- OpenStruct.new({:big => thumbs.last["url"], :small => thumbs.first["url"]})
139
+ {:big => thumbs.last["url"], :small => thumbs.first["url"]}
141
140
  end
142
141
 
143
142
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mikedamage-ruby_tube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Green