refinerycms-vimeo-videos 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/Gemfile.lock +33 -0
- data/README.markdown +8 -0
- data/TODO +2 -1
- data/app/controllers/admin/vimeo_account_controller.rb +30 -7
- data/app/controllers/admin/vimeo_videos_controller.rb +10 -9
- data/app/models/vimeo_embed_cache.rb +6 -1
- data/app/models/vimeo_meta_cache.rb +25 -24
- data/lib/refinerycms-vimeo-videos.rb +4 -1
- data/lib/refinerycms_vimeo_videos/account.rb +31 -0
- data/lib/refinerycms_vimeo_videos/version.rb +1 -1
- data/refinerycms-vimeo-videos.gemspec +146 -4
- data/spec/controllers/admin/vimeo_account_controller_spec.rb +0 -0
- data/spec/fixtures/advanced/album/add_video.json +4 -0
- data/spec/fixtures/advanced/album/create.json +7 -0
- data/spec/fixtures/advanced/album/delete.json +4 -0
- data/spec/fixtures/advanced/album/get_all.json +111 -0
- data/spec/fixtures/advanced/album/get_videos.json +30 -0
- data/spec/fixtures/advanced/album/remove_video.json +4 -0
- data/spec/fixtures/advanced/album/set_description.json +4 -0
- data/spec/fixtures/advanced/album/set_password.json +4 -0
- data/spec/fixtures/advanced/album/set_title.json +4 -0
- data/spec/fixtures/advanced/auth/access_token.txt +1 -0
- data/spec/fixtures/advanced/auth/check_access_token.json +9 -0
- data/spec/fixtures/advanced/auth/check_token.json +13 -0
- data/spec/fixtures/advanced/auth/get_frob.json +5 -0
- data/spec/fixtures/advanced/auth/get_token.json +13 -0
- data/spec/fixtures/advanced/auth/request_token.txt +1 -0
- data/spec/fixtures/advanced/channel/add_video.json +4 -0
- data/spec/fixtures/advanced/channel/get_all.json +1357 -0
- data/spec/fixtures/advanced/channel/get_info.json +55 -0
- data/spec/fixtures/advanced/channel/get_moderators.json +45 -0
- data/spec/fixtures/advanced/channel/get_subscribers.json +44 -0
- data/spec/fixtures/advanced/channel/get_videos.json +19 -0
- data/spec/fixtures/advanced/channel/remove_video.json +4 -0
- data/spec/fixtures/advanced/channel/subscribe.json +4 -0
- data/spec/fixtures/advanced/channel/unsubscribe.json +4 -0
- data/spec/fixtures/advanced/contact/get_all.json +117 -0
- data/spec/fixtures/advanced/contact/get_mutual.json +80 -0
- data/spec/fixtures/advanced/contact/get_online.json +47 -0
- data/spec/fixtures/advanced/contact/get_who_added.json +117 -0
- data/spec/fixtures/advanced/group/add_video.json +4 -0
- data/spec/fixtures/advanced/group/get_all.json +1532 -0
- data/spec/fixtures/advanced/group/get_files.json +255 -0
- data/spec/fixtures/advanced/group/get_info.json +72 -0
- data/spec/fixtures/advanced/group/get_members.json +862 -0
- data/spec/fixtures/advanced/group/get_moderators.json +44 -0
- data/spec/fixtures/advanced/group/get_video_comments.json +96 -0
- data/spec/fixtures/advanced/group/get_videos.json +102 -0
- data/spec/fixtures/advanced/group/join.json +4 -0
- data/spec/fixtures/advanced/group/leave.json +4 -0
- data/spec/fixtures/advanced/group_events/get_month.json +141 -0
- data/spec/fixtures/advanced/group_events/get_past.json +141 -0
- data/spec/fixtures/advanced/group_events/get_upcoming.json +141 -0
- data/spec/fixtures/advanced/group_forums/get_topic_comments.json +222 -0
- data/spec/fixtures/advanced/group_forums/get_topics.json +504 -0
- data/spec/fixtures/advanced/person/add_contact.json +4 -0
- data/spec/fixtures/advanced/person/add_subscription.json +4 -0
- data/spec/fixtures/advanced/person/find_by_email.json +9 -0
- data/spec/fixtures/advanced/person/get_hd_embeds.json +8 -0
- data/spec/fixtures/advanced/person/get_info.json +20 -0
- data/spec/fixtures/advanced/person/get_portrait_urls.json +28 -0
- data/spec/fixtures/advanced/person/remove_contact.json +4 -0
- data/spec/fixtures/advanced/person/remove_subscription.json +4 -0
- data/spec/fixtures/advanced/test/echo.json +8 -0
- data/spec/fixtures/advanced/test/login.json +8 -0
- data/spec/fixtures/advanced/test/null.json +4 -0
- data/spec/fixtures/advanced/upload/get_quota.json +16 -0
- data/spec/fixtures/advanced/upload/get_ticket.json +8 -0
- data/spec/fixtures/advanced/upload/sample_iTunes.mov +0 -0
- data/spec/fixtures/advanced/video/add_cast.json +4 -0
- data/spec/fixtures/advanced/video/add_comment.json +7 -0
- data/spec/fixtures/advanced/video/add_photos.json +4 -0
- data/spec/fixtures/advanced/video/add_tags.json +4 -0
- data/spec/fixtures/advanced/video/clear_tags.json +4 -0
- data/spec/fixtures/advanced/video/delete.json +4 -0
- data/spec/fixtures/advanced/video/delete_comment.json +4 -0
- data/spec/fixtures/advanced/video/edit_comment.json +4 -0
- data/spec/fixtures/advanced/video/get_all.json +30 -0
- data/spec/fixtures/advanced/video/get_appears_in.json +10 -0
- data/spec/fixtures/advanced/video/get_by_tag.json +237 -0
- data/spec/fixtures/advanced/video/get_cast.json +42 -0
- data/spec/fixtures/advanced/video/get_comments_list.json +52 -0
- data/spec/fixtures/advanced/video/get_contacts_liked.json +48 -0
- data/spec/fixtures/advanced/video/get_contacts_uploaded.json +237 -0
- data/spec/fixtures/advanced/video/get_info.json +246 -0
- data/spec/fixtures/advanced/video/get_likes.json +32 -0
- data/spec/fixtures/advanced/video/get_subscriptions.json +237 -0
- data/spec/fixtures/advanced/video/get_thumbnail_urls.json +28 -0
- data/spec/fixtures/advanced/video/get_uploaded.json +30 -0
- data/spec/fixtures/advanced/video/remove_cast.json +4 -0
- data/spec/fixtures/advanced/video/remove_tag.json +4 -0
- data/spec/fixtures/advanced/video/search.json +237 -0
- data/spec/fixtures/advanced/video/set_description.json +4 -0
- data/spec/fixtures/advanced/video/set_like.json +4 -0
- data/spec/fixtures/advanced/video/set_privacy.json +4 -0
- data/spec/fixtures/advanced/video/set_title.json +4 -0
- data/spec/fixtures/advanced/video_embed/get_presets.json +8 -0
- data/spec/fixtures/advanced/video_embed/set_preset.json +4 -0
- data/spec/fixtures/oembed/oembed.json +5 -0
- data/spec/fixtures/simple/activity/contacts_did.json +1 -0
- data/spec/fixtures/simple/activity/everyone_did.json +1 -0
- data/spec/fixtures/simple/activity/happened_to_contacts.json +1 -0
- data/spec/fixtures/simple/activity/happened_to_user.json +1 -0
- data/spec/fixtures/simple/activity/user_did.json +1 -0
- data/spec/fixtures/simple/album/info.json +1 -0
- data/spec/fixtures/simple/album/videos.json +1 -0
- data/spec/fixtures/simple/channel/info.json +1 -0
- data/spec/fixtures/simple/channel/videos.json +1 -0
- data/spec/fixtures/simple/group/info.json +1 -0
- data/spec/fixtures/simple/group/users.json +1 -0
- data/spec/fixtures/simple/group/videos.json +1 -0
- data/spec/fixtures/simple/user/albums.json +1 -0
- data/spec/fixtures/simple/user/all_videos.json +1 -0
- data/spec/fixtures/simple/user/appears_in.json +1 -0
- data/spec/fixtures/simple/user/channels.json +1 -0
- data/spec/fixtures/simple/user/contacts_like.json +1 -0
- data/spec/fixtures/simple/user/contacts_videos.json +1 -0
- data/spec/fixtures/simple/user/groups.json +1 -0
- data/spec/fixtures/simple/user/info.json +1 -0
- data/spec/fixtures/simple/user/likes.json +1 -0
- data/spec/fixtures/simple/user/subscriptions.json +1 -0
- data/spec/fixtures/simple/user/videos.json +1 -0
- data/spec/fixtures/simple/video/info.json +1 -0
- data/spec/models/vimeo_embed_cache_spec.rb +65 -0
- data/spec/models/vimeo_meta_cache_spec.rb +24 -0
- data/spec/models/vimeo_video_spec.rb +0 -8
- data/spec/vimeo_helper.rb +54 -0
- metadata +131 -3
- data/app/controllers/admin/vimeo_base_controller.rb +0 -40
@@ -0,0 +1 @@
|
|
1
|
+
oauth_token=12345&oauth_token_secret=secret
|
@@ -0,0 +1 @@
|
|
1
|
+
oauth_token=12345&oauth_token_secret=secret&oauth_callback_confirmed=true
|