howcast 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.7.3 2010-04-01
2
+
3
+ * Add missing playlist id attribute
4
+
1
5
  == 0.7.2 2010-04-01
2
6
 
3
7
  * Update homepage object per API changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.7.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{howcast}
8
- s.version = "0.7.2"
8
+ s.version = "0.7.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jingshen Jimmy Zhang", "Ian Smith-Heisters"]
@@ -31,7 +31,6 @@ Gem::Specification.new do |s|
31
31
  "README.markdown",
32
32
  "Rakefile",
33
33
  "VERSION",
34
- "howcast-0.7.1.gem",
35
34
  "howcast.gemspec",
36
35
  "lib/howcast.rb",
37
36
  "lib/howcast/client.rb",
@@ -24,7 +24,7 @@
24
24
  class Howcast::Client
25
25
  class Playlist
26
26
  extend WatchAttrAccessors
27
- attr_accessor :title, :description, :playlist_thumbnail_url, :videos
27
+ attr_accessor :id, :title, :description, :playlist_thumbnail_url, :videos
28
28
 
29
29
  # Creates a new Playlist object which is used to encapsulate all the attributes available
30
30
  # from the Howcast playlist API.
@@ -30,6 +30,10 @@ describe Howcast::Client, "playlist" do
30
30
  @hc.playlist(12345)
31
31
  }.should raise_error(Howcast::ApiKeyNotFound)
32
32
  end
33
+
34
+ it "should set the id attribute in the playlist model response" do
35
+ @hc.playlist(12345).id.should == "4566"
36
+ end
33
37
 
34
38
  it "should set the title attribute in the playlist model response" do
35
39
  @hc.playlist(12345).title.should == "Eggs-Travaganza!"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 2
9
- version: 0.7.2
8
+ - 3
9
+ version: 0.7.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jingshen Jimmy Zhang
@@ -57,7 +57,6 @@ files:
57
57
  - README.markdown
58
58
  - Rakefile
59
59
  - VERSION
60
- - howcast-0.7.1.gem
61
60
  - howcast.gemspec
62
61
  - lib/howcast.rb
63
62
  - lib/howcast/client.rb
Binary file