kschrader-mtv-music 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module MTV
6
6
 
7
7
  def videos
8
8
  xml = Video.fetch_and_parse(self.class.api_path(:videos, self.id))
9
- return xml.search("entry/id").collect{|elem| Video.new(Video.fetch_and_parse(elem.inner_text))}
9
+ return xml.search("entry").collect{|elem| Video.new(elem)}
10
10
  end
11
11
 
12
12
  def related
@@ -3,7 +3,7 @@ module MTV
3
3
  class Base
4
4
  class << self
5
5
 
6
- cattr_accessor :attributes
6
+ cattr_accessor :attributes
7
7
  cattr_accessor :connection
8
8
 
9
9
  def attribute(*args)
@@ -95,7 +95,7 @@ module MTV
95
95
  self.instance_variable_set("@#{attribute}", value)
96
96
  end
97
97
  end
98
-
98
+
99
99
  end
100
100
 
101
101
  def initialize_with_polymorphism(arg)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "mtv-music"
3
- s.version = "0.1.1"
3
+ s.version = "0.1.2"
4
4
  s.date = "2008-11-13"
5
5
  s.summary = "A Ruby wrapper for the MTV Music API."
6
6
  s.email = "kurt@karmalab.org"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kschrader-mtv-music
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson