vimeo 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/CHANGELOG.rdoc +24 -0
- data/LICENSE +20 -0
- data/README.rdoc +322 -0
- data/Rakefile +68 -0
- data/VERSION.yml +4 -0
- data/lib/vimeo/advanced/album.rb +57 -0
- data/lib/vimeo/advanced/auth.rb +22 -0
- data/lib/vimeo/advanced/base.rb +105 -0
- data/lib/vimeo/advanced/channel.rb +58 -0
- data/lib/vimeo/advanced/contact.rb +31 -0
- data/lib/vimeo/advanced/group.rb +68 -0
- data/lib/vimeo/advanced/group_events.rb +25 -0
- data/lib/vimeo/advanced/group_forums.rb +19 -0
- data/lib/vimeo/advanced/person.rb +48 -0
- data/lib/vimeo/advanced/test.rb +36 -0
- data/lib/vimeo/advanced/upload.rb +62 -0
- data/lib/vimeo/advanced/video.rb +131 -0
- data/lib/vimeo/advanced/video_embed.rb +19 -0
- data/lib/vimeo/advanced.rb +20 -0
- data/lib/vimeo/simple/activity.rb +42 -0
- data/lib/vimeo/simple/album.rb +21 -0
- data/lib/vimeo/simple/base.rb +10 -0
- data/lib/vimeo/simple/channel.rb +21 -0
- data/lib/vimeo/simple/group.rb +28 -0
- data/lib/vimeo/simple/user.rb +84 -0
- data/lib/vimeo/simple/video.rb +14 -0
- data/lib/vimeo/simple.rb +14 -0
- data/lib/vimeo.rb +10 -0
- data/test/fixtures/advanced/album/add_video.json +4 -0
- data/test/fixtures/advanced/album/create.json +7 -0
- data/test/fixtures/advanced/album/delete.json +4 -0
- data/test/fixtures/advanced/album/get_all.json +111 -0
- data/test/fixtures/advanced/album/get_videos.json +30 -0
- data/test/fixtures/advanced/album/remove_video.json +4 -0
- data/test/fixtures/advanced/album/set_description.json +4 -0
- data/test/fixtures/advanced/album/set_password.json +4 -0
- data/test/fixtures/advanced/album/set_title.json +4 -0
- data/test/fixtures/advanced/auth/check_token.json +13 -0
- data/test/fixtures/advanced/auth/get_frob.json +5 -0
- data/test/fixtures/advanced/auth/get_token.json +13 -0
- data/test/fixtures/advanced/channel/add_video.json +4 -0
- data/test/fixtures/advanced/channel/get_all.json +1395 -0
- data/test/fixtures/advanced/channel/get_info.json +55 -0
- data/test/fixtures/advanced/channel/get_moderators.json +45 -0
- data/test/fixtures/advanced/channel/get_subscribers.json +44 -0
- data/test/fixtures/advanced/channel/get_videos.json +19 -0
- data/test/fixtures/advanced/channel/remove_video.json +4 -0
- data/test/fixtures/advanced/channel/subscribe.json +4 -0
- data/test/fixtures/advanced/channel/unsubscribe.json +4 -0
- data/test/fixtures/advanced/contact/get_all.json +117 -0
- data/test/fixtures/advanced/contact/get_mutual.json +80 -0
- data/test/fixtures/advanced/contact/get_online.json +47 -0
- data/test/fixtures/advanced/contact/get_who_added.json +117 -0
- data/test/fixtures/advanced/group/add_video.json +4 -0
- data/test/fixtures/advanced/group/get_all.json +1556 -0
- data/test/fixtures/advanced/group/get_files.json +255 -0
- data/test/fixtures/advanced/group/get_info.json +73 -0
- data/test/fixtures/advanced/group/get_members.json +862 -0
- data/test/fixtures/advanced/group/get_moderators.json +44 -0
- data/test/fixtures/advanced/group/get_video_comments.json +96 -0
- data/test/fixtures/advanced/group/get_videos.json +102 -0
- data/test/fixtures/advanced/group/join.json +4 -0
- data/test/fixtures/advanced/group/leave.json +4 -0
- data/test/fixtures/advanced/group_events/get_month.json +146 -0
- data/test/fixtures/advanced/group_events/get_past.json +146 -0
- data/test/fixtures/advanced/group_events/get_upcoming.json +146 -0
- data/test/fixtures/advanced/group_forums/get_topic_comments.json +224 -0
- data/test/fixtures/advanced/group_forums/get_topics.json +504 -0
- data/test/fixtures/advanced/person/add_contact.json +4 -0
- data/test/fixtures/advanced/person/add_subscription.json +4 -0
- data/test/fixtures/advanced/person/find_by_email.json +9 -0
- data/test/fixtures/advanced/person/get_hd_embeds.json +8 -0
- data/test/fixtures/advanced/person/get_info.json +21 -0
- data/test/fixtures/advanced/person/get_portrait_urls.json +28 -0
- data/test/fixtures/advanced/person/remove_contact.json +4 -0
- data/test/fixtures/advanced/person/remove_subscription.json +4 -0
- data/test/fixtures/advanced/test/echo.json +8 -0
- data/test/fixtures/advanced/test/login.json +8 -0
- data/test/fixtures/advanced/test/null.json +4 -0
- data/test/fixtures/advanced/upload/confirm.json +9 -0
- data/test/fixtures/advanced/upload/get_quota.json +16 -0
- data/test/fixtures/advanced/upload/get_ticket.json +8 -0
- data/test/fixtures/advanced/upload/manifest_to_upload.json +6 -0
- data/test/fixtures/advanced/upload/sample_iTunes.mov +0 -0
- data/test/fixtures/advanced/upload/verify_manifest.json +11 -0
- data/test/fixtures/advanced/video/add_cast.json +4 -0
- data/test/fixtures/advanced/video/add_comment.json +7 -0
- data/test/fixtures/advanced/video/add_photos.json +4 -0
- data/test/fixtures/advanced/video/add_tags.json +4 -0
- data/test/fixtures/advanced/video/clear_tags.json +4 -0
- data/test/fixtures/advanced/video/delete.json +4 -0
- data/test/fixtures/advanced/video/delete_comment.json +4 -0
- data/test/fixtures/advanced/video/edit_comment.json +4 -0
- data/test/fixtures/advanced/video/get_all.json +30 -0
- data/test/fixtures/advanced/video/get_appears_in.json +10 -0
- data/test/fixtures/advanced/video/get_by_tag.json +239 -0
- data/test/fixtures/advanced/video/get_cast.json +42 -0
- data/test/fixtures/advanced/video/get_comments_list.json +52 -0
- data/test/fixtures/advanced/video/get_contacts_liked.json +48 -0
- data/test/fixtures/advanced/video/get_contacts_uploaded.json +237 -0
- data/test/fixtures/advanced/video/get_info.json +246 -0
- data/test/fixtures/advanced/video/get_likes.json +32 -0
- data/test/fixtures/advanced/video/get_subscriptions.json +241 -0
- data/test/fixtures/advanced/video/get_thumbnail_urls.json +28 -0
- data/test/fixtures/advanced/video/get_uploaded.json +30 -0
- data/test/fixtures/advanced/video/remove_cast.json +4 -0
- data/test/fixtures/advanced/video/remove_tag.json +4 -0
- data/test/fixtures/advanced/video/search.json +238 -0
- data/test/fixtures/advanced/video/set_description.json +4 -0
- data/test/fixtures/advanced/video/set_like.json +4 -0
- data/test/fixtures/advanced/video/set_privacy.json +4 -0
- data/test/fixtures/advanced/video/set_title.json +4 -0
- data/test/fixtures/advanced/video_embed/get_presets.json +8 -0
- data/test/fixtures/advanced/video_embed/set_preset.json +4 -0
- data/test/fixtures/simple/activity/contacts_did.json +1 -0
- data/test/fixtures/simple/activity/everyone_did.json +1 -0
- data/test/fixtures/simple/activity/happened_to_contacts.json +1 -0
- data/test/fixtures/simple/activity/happened_to_user.json +1 -0
- data/test/fixtures/simple/activity/user_did.json +1 -0
- data/test/fixtures/simple/album/info.json +1 -0
- data/test/fixtures/simple/album/videos.json +1 -0
- data/test/fixtures/simple/channel/info.json +1 -0
- data/test/fixtures/simple/channel/videos.json +1 -0
- data/test/fixtures/simple/group/info.json +1 -0
- data/test/fixtures/simple/group/users.json +1 -0
- data/test/fixtures/simple/group/videos.json +1 -0
- data/test/fixtures/simple/user/albums.json +1 -0
- data/test/fixtures/simple/user/all_videos.json +1 -0
- data/test/fixtures/simple/user/appears_in.json +1 -0
- data/test/fixtures/simple/user/channels.json +1 -0
- data/test/fixtures/simple/user/contacts_like.json +1 -0
- data/test/fixtures/simple/user/contacts_videos.json +1 -0
- data/test/fixtures/simple/user/groups.json +1 -0
- data/test/fixtures/simple/user/info.json +1 -0
- data/test/fixtures/simple/user/likes.json +1 -0
- data/test/fixtures/simple/user/subscriptions.json +1 -0
- data/test/fixtures/simple/user/videos.json +1 -0
- data/test/fixtures/simple/video/info.json +1 -0
- data/test/test_helper.rb +50 -0
- data/test/vimeo/advanced/album_test.rb +88 -0
- data/test/vimeo/advanced/auth_test.rb +37 -0
- data/test/vimeo/advanced/base_test.rb +24 -0
- data/test/vimeo/advanced/channels_test.rb +79 -0
- data/test/vimeo/advanced/contacts_test.rb +40 -0
- data/test/vimeo/advanced/group_events_test.rb +33 -0
- data/test/vimeo/advanced/group_forums_test.rb +26 -0
- data/test/vimeo/advanced/groups_test.rb +82 -0
- data/test/vimeo/advanced/person_test.rb +68 -0
- data/test/vimeo/advanced/test_test.rb +33 -0
- data/test/vimeo/advanced/upload_test.rb +50 -0
- data/test/vimeo/advanced/videos_embed_test.rb +26 -0
- data/test/vimeo/advanced/videos_test.rb +203 -0
- data/test/vimeo/advanced_test.rb +0 -0
- data/test/vimeo/simple/activity_test.rb +60 -0
- data/test/vimeo/simple/album_test.rb +31 -0
- data/test/vimeo/simple/channel_test.rb +31 -0
- data/test/vimeo/simple/group_test.rb +41 -0
- data/test/vimeo/simple/user_test.rb +112 -0
- data/test/vimeo/simple/video_test.rb +22 -0
- data/test/vimeo/simple_test.rb +0 -0
- data/test/vimeo_test.rb +0 -0
- data/vimeo.gemspec +244 -0
- metadata +303 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class ChannelTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
context "vimeo simple channel" do
|
6
|
+
|
7
|
+
setup do
|
8
|
+
@channel_name = "canon7d"
|
9
|
+
end
|
10
|
+
|
11
|
+
context "making api calls" do
|
12
|
+
|
13
|
+
should "be able to see videos in a channel" do
|
14
|
+
stub_get("/channel/#{@channel_name}/videos.json", "simple/channel/videos.json")
|
15
|
+
videos = Vimeo::Simple::Channel.videos(@channel_name)
|
16
|
+
|
17
|
+
assert_equal 20, videos.size
|
18
|
+
first = videos.first
|
19
|
+
assert_equal "7D Test 03", first["title"]
|
20
|
+
end
|
21
|
+
|
22
|
+
should "be able to get information about a channel" do
|
23
|
+
stub_get("/channel/#{@channel_name}/info.json", "simple/channel/info.json")
|
24
|
+
info = Vimeo::Simple::Channel.info(@channel_name)
|
25
|
+
|
26
|
+
assert_equal "58337", info["id"]
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class GroupTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
context "vimeo simple group" do
|
6
|
+
|
7
|
+
setup do
|
8
|
+
@group_name = "worldtour"
|
9
|
+
end
|
10
|
+
|
11
|
+
context "making api calls" do
|
12
|
+
|
13
|
+
should "be able to see videos in a group" do
|
14
|
+
stub_get("/group/#{@group_name}/videos.json", "simple/group/videos.json")
|
15
|
+
videos = Vimeo::Simple::Group.videos(@group_name)
|
16
|
+
|
17
|
+
assert_equal 10, videos.size
|
18
|
+
first = videos.first
|
19
|
+
assert_equal "Vimeo Offline Party: London", first["title"]
|
20
|
+
end
|
21
|
+
|
22
|
+
should "be able to see users in a group" do
|
23
|
+
# This fixture file has been shortened.
|
24
|
+
stub_get("/group/#{@group_name}/users.json", "simple/group/users.json")
|
25
|
+
users = Vimeo::Simple::Group.users(@group_name)
|
26
|
+
|
27
|
+
assert_equal 1, users.size
|
28
|
+
first = users.first
|
29
|
+
assert_equal "cris", first["display_name"]
|
30
|
+
end
|
31
|
+
|
32
|
+
should "be able to get information about a group" do
|
33
|
+
stub_get("/group/#{@group_name}/info.json", "simple/group/info.json")
|
34
|
+
info = Vimeo::Simple::Group.info(@group_name)
|
35
|
+
|
36
|
+
assert_equal "20067", info["id"]
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class UserTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
context "vimeo simple user" do
|
6
|
+
|
7
|
+
setup do
|
8
|
+
@user_name = "blakewhitman"
|
9
|
+
end
|
10
|
+
|
11
|
+
context "making api calls" do
|
12
|
+
|
13
|
+
should "be able to get info for a user" do
|
14
|
+
stub_get("/#{@user_name}/info.json", "simple/user/info.json")
|
15
|
+
info = Vimeo::Simple::User.info(@user_name)
|
16
|
+
|
17
|
+
assert_equal "Blake Whitman", info["display_name"]
|
18
|
+
end
|
19
|
+
|
20
|
+
should "be able to get videos created by a user" do
|
21
|
+
stub_get("/#{@user_name}/videos.json", "simple/user/videos.json")
|
22
|
+
videos = Vimeo::Simple::User.videos(@user_name)
|
23
|
+
|
24
|
+
assert_equal 20, videos.size
|
25
|
+
first = videos.first
|
26
|
+
assert_equal "pulse", first["title"]
|
27
|
+
end
|
28
|
+
|
29
|
+
should "be able to get videos a user likes" do
|
30
|
+
stub_get("/#{@user_name}/likes.json", "simple/user/likes.json")
|
31
|
+
videos = Vimeo::Simple::User.likes(@user_name)
|
32
|
+
|
33
|
+
assert_equal 20, videos.size
|
34
|
+
first = videos.first
|
35
|
+
assert_equal "Seed", first["title"]
|
36
|
+
end
|
37
|
+
|
38
|
+
should "be able to get videos that a user appears in" do
|
39
|
+
stub_get("/#{@user_name}/appears_in.json", "simple/user/appears_in.json")
|
40
|
+
videos = Vimeo::Simple::User.appears_in(@user_name)
|
41
|
+
|
42
|
+
assert_equal 20, videos.size
|
43
|
+
first = videos.first
|
44
|
+
assert_equal "Vimeo Offline Party: London", first["title"]
|
45
|
+
end
|
46
|
+
|
47
|
+
should "be able to get videos that a user appears in and/or created" do
|
48
|
+
stub_get("/#{@user_name}/all_videos.json", "simple/user/all_videos.json")
|
49
|
+
videos = Vimeo::Simple::User.all_videos(@user_name)
|
50
|
+
|
51
|
+
assert_equal 20, videos.size
|
52
|
+
first = videos.first
|
53
|
+
assert_equal "Vimeo Offline Party: London", first["title"]
|
54
|
+
end
|
55
|
+
|
56
|
+
should "be able to get videos a user is subscribed to" do
|
57
|
+
stub_get("/#{@user_name}/subscriptions.json", "simple/user/subscriptions.json")
|
58
|
+
videos = Vimeo::Simple::User.subscriptions(@user_name)
|
59
|
+
|
60
|
+
assert_equal 20, videos.size
|
61
|
+
first = videos.first
|
62
|
+
assert_equal "TIDES - HD", first["title"]
|
63
|
+
end
|
64
|
+
|
65
|
+
should "be able to get albums a user has created" do
|
66
|
+
stub_get("/#{@user_name}/albums.json", "simple/user/albums.json")
|
67
|
+
albums = Vimeo::Simple::User.albums(@user_name)
|
68
|
+
|
69
|
+
assert_equal 30, albums.size
|
70
|
+
first = albums.first
|
71
|
+
assert_equal "Amigos", first["title"]
|
72
|
+
end
|
73
|
+
|
74
|
+
should "be able to get channels a user has created and subscribed to" do
|
75
|
+
stub_get("/#{@user_name}/channels.json", "simple/user/channels.json")
|
76
|
+
channels = Vimeo::Simple::User.channels(@user_name)
|
77
|
+
|
78
|
+
assert_equal 195, channels.size
|
79
|
+
first = channels.first
|
80
|
+
assert_equal "01SHORTFILM ______ Only the best, international, award-winning, CINEMATIC shortfilms", first["name"]
|
81
|
+
end
|
82
|
+
|
83
|
+
should "be able to get groups that a user either created and/or joined" do
|
84
|
+
stub_get("/#{@user_name}/groups.json", "simple/user/groups.json")
|
85
|
+
groups = Vimeo::Simple::User.groups(@user_name)
|
86
|
+
|
87
|
+
assert_equal 97, groups.size
|
88
|
+
first = groups.first
|
89
|
+
assert_equal "3D Animation", first["name"]
|
90
|
+
end
|
91
|
+
|
92
|
+
should "be able to get videos that a user's contacts created" do
|
93
|
+
stub_get("/#{@user_name}/contacts_videos.json", "simple/user/contacts_videos.json")
|
94
|
+
videos = Vimeo::Simple::User.contacts_videos(@user_name)
|
95
|
+
|
96
|
+
assert_equal 20, videos.size
|
97
|
+
first = videos.first
|
98
|
+
assert_equal "Star Wars Uncut - Scene 90", first["title"]
|
99
|
+
end
|
100
|
+
|
101
|
+
should "be able to get videos that a user's contacts liked" do
|
102
|
+
stub_get("/#{@user_name}/contacts_like.json", "simple/user/contacts_like.json")
|
103
|
+
videos = Vimeo::Simple::User.contacts_like(@user_name)
|
104
|
+
|
105
|
+
assert_equal 20, videos.size
|
106
|
+
first = videos.first
|
107
|
+
assert_equal "Jaybilizer 3000 Camera Stabilizer Shooting Techniques and Montage", first["title"]
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class VideoTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
context "vimeo simple video" do
|
6
|
+
|
7
|
+
setup do
|
8
|
+
@video_id = "411684"
|
9
|
+
end
|
10
|
+
|
11
|
+
context "making api calls" do
|
12
|
+
|
13
|
+
should "be able to get information about a video" do
|
14
|
+
stub_get("/video/#{@video_id}.json", "simple/video/info.json")
|
15
|
+
info = Vimeo::Simple::Video.info(@video_id).first
|
16
|
+
|
17
|
+
assert_equal "411684", info["id"]
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
File without changes
|
data/test/vimeo_test.rb
ADDED
File without changes
|
data/vimeo.gemspec
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{vimeo}
|
8
|
+
s.version = "1.0.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Matt Hooks"]
|
12
|
+
s.date = %q{2009-09-28}
|
13
|
+
s.description = %q{A full featured Ruby implementation of the Vimeo API.}
|
14
|
+
s.email = %q{matthooks@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"CHANGELOG.rdoc",
|
17
|
+
"LICENSE",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".gitignore",
|
22
|
+
"CHANGELOG.rdoc",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION.yml",
|
27
|
+
"lib/vimeo.rb",
|
28
|
+
"lib/vimeo/advanced.rb",
|
29
|
+
"lib/vimeo/advanced/album.rb",
|
30
|
+
"lib/vimeo/advanced/auth.rb",
|
31
|
+
"lib/vimeo/advanced/base.rb",
|
32
|
+
"lib/vimeo/advanced/channel.rb",
|
33
|
+
"lib/vimeo/advanced/contact.rb",
|
34
|
+
"lib/vimeo/advanced/group.rb",
|
35
|
+
"lib/vimeo/advanced/group_events.rb",
|
36
|
+
"lib/vimeo/advanced/group_forums.rb",
|
37
|
+
"lib/vimeo/advanced/person.rb",
|
38
|
+
"lib/vimeo/advanced/test.rb",
|
39
|
+
"lib/vimeo/advanced/upload.rb",
|
40
|
+
"lib/vimeo/advanced/video.rb",
|
41
|
+
"lib/vimeo/advanced/video_embed.rb",
|
42
|
+
"lib/vimeo/simple.rb",
|
43
|
+
"lib/vimeo/simple/activity.rb",
|
44
|
+
"lib/vimeo/simple/album.rb",
|
45
|
+
"lib/vimeo/simple/base.rb",
|
46
|
+
"lib/vimeo/simple/channel.rb",
|
47
|
+
"lib/vimeo/simple/group.rb",
|
48
|
+
"lib/vimeo/simple/user.rb",
|
49
|
+
"lib/vimeo/simple/video.rb",
|
50
|
+
"test/fixtures/advanced/album/add_video.json",
|
51
|
+
"test/fixtures/advanced/album/create.json",
|
52
|
+
"test/fixtures/advanced/album/delete.json",
|
53
|
+
"test/fixtures/advanced/album/get_all.json",
|
54
|
+
"test/fixtures/advanced/album/get_videos.json",
|
55
|
+
"test/fixtures/advanced/album/remove_video.json",
|
56
|
+
"test/fixtures/advanced/album/set_description.json",
|
57
|
+
"test/fixtures/advanced/album/set_password.json",
|
58
|
+
"test/fixtures/advanced/album/set_title.json",
|
59
|
+
"test/fixtures/advanced/auth/check_token.json",
|
60
|
+
"test/fixtures/advanced/auth/get_frob.json",
|
61
|
+
"test/fixtures/advanced/auth/get_token.json",
|
62
|
+
"test/fixtures/advanced/channel/add_video.json",
|
63
|
+
"test/fixtures/advanced/channel/get_all.json",
|
64
|
+
"test/fixtures/advanced/channel/get_info.json",
|
65
|
+
"test/fixtures/advanced/channel/get_moderators.json",
|
66
|
+
"test/fixtures/advanced/channel/get_subscribers.json",
|
67
|
+
"test/fixtures/advanced/channel/get_videos.json",
|
68
|
+
"test/fixtures/advanced/channel/remove_video.json",
|
69
|
+
"test/fixtures/advanced/channel/subscribe.json",
|
70
|
+
"test/fixtures/advanced/channel/unsubscribe.json",
|
71
|
+
"test/fixtures/advanced/contact/get_all.json",
|
72
|
+
"test/fixtures/advanced/contact/get_mutual.json",
|
73
|
+
"test/fixtures/advanced/contact/get_online.json",
|
74
|
+
"test/fixtures/advanced/contact/get_who_added.json",
|
75
|
+
"test/fixtures/advanced/group/add_video.json",
|
76
|
+
"test/fixtures/advanced/group/get_all.json",
|
77
|
+
"test/fixtures/advanced/group/get_files.json",
|
78
|
+
"test/fixtures/advanced/group/get_info.json",
|
79
|
+
"test/fixtures/advanced/group/get_members.json",
|
80
|
+
"test/fixtures/advanced/group/get_moderators.json",
|
81
|
+
"test/fixtures/advanced/group/get_video_comments.json",
|
82
|
+
"test/fixtures/advanced/group/get_videos.json",
|
83
|
+
"test/fixtures/advanced/group/join.json",
|
84
|
+
"test/fixtures/advanced/group/leave.json",
|
85
|
+
"test/fixtures/advanced/group_events/get_month.json",
|
86
|
+
"test/fixtures/advanced/group_events/get_past.json",
|
87
|
+
"test/fixtures/advanced/group_events/get_upcoming.json",
|
88
|
+
"test/fixtures/advanced/group_forums/get_topic_comments.json",
|
89
|
+
"test/fixtures/advanced/group_forums/get_topics.json",
|
90
|
+
"test/fixtures/advanced/person/add_contact.json",
|
91
|
+
"test/fixtures/advanced/person/add_subscription.json",
|
92
|
+
"test/fixtures/advanced/person/find_by_email.json",
|
93
|
+
"test/fixtures/advanced/person/get_hd_embeds.json",
|
94
|
+
"test/fixtures/advanced/person/get_info.json",
|
95
|
+
"test/fixtures/advanced/person/get_portrait_urls.json",
|
96
|
+
"test/fixtures/advanced/person/remove_contact.json",
|
97
|
+
"test/fixtures/advanced/person/remove_subscription.json",
|
98
|
+
"test/fixtures/advanced/test/echo.json",
|
99
|
+
"test/fixtures/advanced/test/login.json",
|
100
|
+
"test/fixtures/advanced/test/null.json",
|
101
|
+
"test/fixtures/advanced/upload/confirm.json",
|
102
|
+
"test/fixtures/advanced/upload/get_quota.json",
|
103
|
+
"test/fixtures/advanced/upload/get_ticket.json",
|
104
|
+
"test/fixtures/advanced/upload/manifest_to_upload.json",
|
105
|
+
"test/fixtures/advanced/upload/sample_iTunes.mov",
|
106
|
+
"test/fixtures/advanced/upload/verify_manifest.json",
|
107
|
+
"test/fixtures/advanced/video/add_cast.json",
|
108
|
+
"test/fixtures/advanced/video/add_comment.json",
|
109
|
+
"test/fixtures/advanced/video/add_photos.json",
|
110
|
+
"test/fixtures/advanced/video/add_tags.json",
|
111
|
+
"test/fixtures/advanced/video/clear_tags.json",
|
112
|
+
"test/fixtures/advanced/video/delete.json",
|
113
|
+
"test/fixtures/advanced/video/delete_comment.json",
|
114
|
+
"test/fixtures/advanced/video/edit_comment.json",
|
115
|
+
"test/fixtures/advanced/video/get_all.json",
|
116
|
+
"test/fixtures/advanced/video/get_appears_in.json",
|
117
|
+
"test/fixtures/advanced/video/get_by_tag.json",
|
118
|
+
"test/fixtures/advanced/video/get_cast.json",
|
119
|
+
"test/fixtures/advanced/video/get_comments_list.json",
|
120
|
+
"test/fixtures/advanced/video/get_contacts_liked.json",
|
121
|
+
"test/fixtures/advanced/video/get_contacts_uploaded.json",
|
122
|
+
"test/fixtures/advanced/video/get_info.json",
|
123
|
+
"test/fixtures/advanced/video/get_likes.json",
|
124
|
+
"test/fixtures/advanced/video/get_subscriptions.json",
|
125
|
+
"test/fixtures/advanced/video/get_thumbnail_urls.json",
|
126
|
+
"test/fixtures/advanced/video/get_uploaded.json",
|
127
|
+
"test/fixtures/advanced/video/remove_cast.json",
|
128
|
+
"test/fixtures/advanced/video/remove_tag.json",
|
129
|
+
"test/fixtures/advanced/video/search.json",
|
130
|
+
"test/fixtures/advanced/video/set_description.json",
|
131
|
+
"test/fixtures/advanced/video/set_like.json",
|
132
|
+
"test/fixtures/advanced/video/set_privacy.json",
|
133
|
+
"test/fixtures/advanced/video/set_title.json",
|
134
|
+
"test/fixtures/advanced/video_embed/get_presets.json",
|
135
|
+
"test/fixtures/advanced/video_embed/set_preset.json",
|
136
|
+
"test/fixtures/simple/activity/contacts_did.json",
|
137
|
+
"test/fixtures/simple/activity/everyone_did.json",
|
138
|
+
"test/fixtures/simple/activity/happened_to_contacts.json",
|
139
|
+
"test/fixtures/simple/activity/happened_to_user.json",
|
140
|
+
"test/fixtures/simple/activity/user_did.json",
|
141
|
+
"test/fixtures/simple/album/info.json",
|
142
|
+
"test/fixtures/simple/album/videos.json",
|
143
|
+
"test/fixtures/simple/channel/info.json",
|
144
|
+
"test/fixtures/simple/channel/videos.json",
|
145
|
+
"test/fixtures/simple/group/info.json",
|
146
|
+
"test/fixtures/simple/group/users.json",
|
147
|
+
"test/fixtures/simple/group/videos.json",
|
148
|
+
"test/fixtures/simple/user/albums.json",
|
149
|
+
"test/fixtures/simple/user/all_videos.json",
|
150
|
+
"test/fixtures/simple/user/appears_in.json",
|
151
|
+
"test/fixtures/simple/user/channels.json",
|
152
|
+
"test/fixtures/simple/user/contacts_like.json",
|
153
|
+
"test/fixtures/simple/user/contacts_videos.json",
|
154
|
+
"test/fixtures/simple/user/groups.json",
|
155
|
+
"test/fixtures/simple/user/info.json",
|
156
|
+
"test/fixtures/simple/user/likes.json",
|
157
|
+
"test/fixtures/simple/user/subscriptions.json",
|
158
|
+
"test/fixtures/simple/user/videos.json",
|
159
|
+
"test/fixtures/simple/video/info.json",
|
160
|
+
"test/test_helper.rb",
|
161
|
+
"test/vimeo/advanced/album_test.rb",
|
162
|
+
"test/vimeo/advanced/auth_test.rb",
|
163
|
+
"test/vimeo/advanced/base_test.rb",
|
164
|
+
"test/vimeo/advanced/channels_test.rb",
|
165
|
+
"test/vimeo/advanced/contacts_test.rb",
|
166
|
+
"test/vimeo/advanced/group_events_test.rb",
|
167
|
+
"test/vimeo/advanced/group_forums_test.rb",
|
168
|
+
"test/vimeo/advanced/groups_test.rb",
|
169
|
+
"test/vimeo/advanced/person_test.rb",
|
170
|
+
"test/vimeo/advanced/test_test.rb",
|
171
|
+
"test/vimeo/advanced/upload_test.rb",
|
172
|
+
"test/vimeo/advanced/videos_embed_test.rb",
|
173
|
+
"test/vimeo/advanced/videos_test.rb",
|
174
|
+
"test/vimeo/advanced_test.rb",
|
175
|
+
"test/vimeo/simple/activity_test.rb",
|
176
|
+
"test/vimeo/simple/album_test.rb",
|
177
|
+
"test/vimeo/simple/channel_test.rb",
|
178
|
+
"test/vimeo/simple/group_test.rb",
|
179
|
+
"test/vimeo/simple/user_test.rb",
|
180
|
+
"test/vimeo/simple/video_test.rb",
|
181
|
+
"test/vimeo/simple_test.rb",
|
182
|
+
"test/vimeo_test.rb",
|
183
|
+
"vimeo.gemspec"
|
184
|
+
]
|
185
|
+
s.homepage = %q{http://github.com/matthooks/vimeo}
|
186
|
+
s.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--charset=UTF-8"]
|
187
|
+
s.require_paths = ["lib"]
|
188
|
+
s.rubyforge_project = %q{vimeo}
|
189
|
+
s.rubygems_version = %q{1.3.5}
|
190
|
+
s.summary = %q{A full featured Ruby implementation of the Vimeo API.}
|
191
|
+
s.test_files = [
|
192
|
+
"test/test_helper.rb",
|
193
|
+
"test/vimeo/advanced/album_test.rb",
|
194
|
+
"test/vimeo/advanced/auth_test.rb",
|
195
|
+
"test/vimeo/advanced/base_test.rb",
|
196
|
+
"test/vimeo/advanced/channels_test.rb",
|
197
|
+
"test/vimeo/advanced/contacts_test.rb",
|
198
|
+
"test/vimeo/advanced/group_events_test.rb",
|
199
|
+
"test/vimeo/advanced/group_forums_test.rb",
|
200
|
+
"test/vimeo/advanced/groups_test.rb",
|
201
|
+
"test/vimeo/advanced/person_test.rb",
|
202
|
+
"test/vimeo/advanced/test_test.rb",
|
203
|
+
"test/vimeo/advanced/upload_test.rb",
|
204
|
+
"test/vimeo/advanced/videos_embed_test.rb",
|
205
|
+
"test/vimeo/advanced/videos_test.rb",
|
206
|
+
"test/vimeo/advanced_test.rb",
|
207
|
+
"test/vimeo/simple/activity_test.rb",
|
208
|
+
"test/vimeo/simple/album_test.rb",
|
209
|
+
"test/vimeo/simple/channel_test.rb",
|
210
|
+
"test/vimeo/simple/group_test.rb",
|
211
|
+
"test/vimeo/simple/user_test.rb",
|
212
|
+
"test/vimeo/simple/video_test.rb",
|
213
|
+
"test/vimeo/simple_test.rb",
|
214
|
+
"test/vimeo_test.rb"
|
215
|
+
]
|
216
|
+
|
217
|
+
if s.respond_to? :specification_version then
|
218
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
219
|
+
s.specification_version = 3
|
220
|
+
|
221
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
222
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 2.10.2"])
|
223
|
+
s.add_development_dependency(%q<fakeweb>, [">= 1.2.6"])
|
224
|
+
s.add_development_dependency(%q<crack>, [">= 0.1.4"])
|
225
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0.4.5"])
|
226
|
+
s.add_runtime_dependency(%q<curb>, [">= 0.5.4.0"])
|
227
|
+
s.add_runtime_dependency(%q<json>, [">= 1.1.9"])
|
228
|
+
else
|
229
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 2.10.2"])
|
230
|
+
s.add_dependency(%q<fakeweb>, [">= 1.2.6"])
|
231
|
+
s.add_dependency(%q<crack>, [">= 0.1.4"])
|
232
|
+
s.add_dependency(%q<httparty>, [">= 0.4.5"])
|
233
|
+
s.add_dependency(%q<curb>, [">= 0.5.4.0"])
|
234
|
+
s.add_dependency(%q<json>, [">= 1.1.9"])
|
235
|
+
end
|
236
|
+
else
|
237
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 2.10.2"])
|
238
|
+
s.add_dependency(%q<fakeweb>, [">= 1.2.6"])
|
239
|
+
s.add_dependency(%q<crack>, [">= 0.1.4"])
|
240
|
+
s.add_dependency(%q<httparty>, [">= 0.4.5"])
|
241
|
+
s.add_dependency(%q<curb>, [">= 0.5.4.0"])
|
242
|
+
s.add_dependency(%q<json>, [">= 1.1.9"])
|
243
|
+
end
|
244
|
+
end
|