howcast 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/howcast.gemspec +1 -2
- data/lib/howcast/client/playlist.rb +1 -1
- data/spec/howcast/client/playlist_spec.rb +4 -0
- metadata +2 -3
- data/howcast-0.7.1.gem +0 -0
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.3
|
data/howcast.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{howcast}
|
8
|
-
s.version = "0.7.
|
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
|
-
-
|
9
|
-
version: 0.7.
|
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
|
data/howcast-0.7.1.gem
DELETED
Binary file
|