vibedeck-youtube_it 0.0.1 → 2.0.0.vbdk

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  class YouTubeIt
2
- VERSION = '2.0.0.vbdk'
2
+ VERSION = File.read("../../VERSION")
3
3
  end
4
4
 
@@ -0,0 +1 @@
1
+ <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007'><entry gd:etag='W/&quot;C08NSH47eCp7ImA9WhZXGUU.&quot;'><id>tag:youtube.com,2008:video:z8zIecfFRjM</id><published>2011-01-28T20:32:47.000Z</published><updated>2011-05-09T22:58:19.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Music' label='Music'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='School Jam USA'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='lennon bus live'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='lennon bus'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='lennon'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='john lennon'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='ac/dc'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='motley crue'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='namm 2011'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='namm'/><title>Lennon Bus Live: Peligro - "Hollywood Red"</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/z8zIecfFRjM?f=videos&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=z8zIecfFRjM&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/z8zIecfFRjM/responses?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/z8zIecfFRjM/related?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=z8zIecfFRjM'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/z8zIecfFRjM?v=2'/><author><name>johnlennonbus</name><uri>http://gdata.youtube.com/feeds/api/users/johnlennonbus</uri></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink href='http://gdata.youtube.com/feeds/api/videos/z8zIecfFRjM/comments?v=2' countHint='28'/></gd:comments><yt:location>Anaheim, Ca</yt:location><media:group><media:category label='Music' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Music</media:category><media:content url='http://www.youtube.com/v/z8zIecfFRjM?f=videos&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='192' yt:format='5'/><media:content url='rtsp://v6.cache2.c.youtube.com/CiILENy73wIaGQkzRsXHecjMzxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='192' yt:format='1'/><media:content url='rtsp://v3.cache5.c.youtube.com/CiILENy73wIaGQkzRsXHecjMzxMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='192' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube'>johnlennonbus</media:credit><media:description type='plain'>At NAMM 2011, School Jam USA winners Peligro had the opportunity to come aboard the John Lennon Educational Tour Bus to record a song and shoot a music video. These young rockers would not seem out of place alongside AC/DC or Mötley Crüe. Be Sure to check them out as they rock out during a Lennon Bus Live Session, performing their hit, Hollywood Red</media:description><media:keywords>School Jam USA, lennon bus live, lennon bus, lennon, john lennon, ac/dc, motley crue, namm 2011, namm</media:keywords><media:player url='http://www.youtube.com/watch?v=z8zIecfFRjM&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/z8zIecfFRjM/default.jpg' height='90' width='120' time='00:01:36' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/z8zIecfFRjM/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/z8zIecfFRjM/1.jpg' height='90' width='120' time='00:00:48' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/z8zIecfFRjM/2.jpg' height='90' width='120' time='00:01:36' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/z8zIecfFRjM/3.jpg' height='90' width='120' time='00:02:24' yt:name='end'/><media:title type='plain'>Lennon Bus Live: Peligro - "Hollywood Red"</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='192'/><yt:uploaded>2011-01-28T20:32:47.000Z</yt:uploaded><yt:videoid>z8zIecfFRjM</yt:videoid></media:group><gd:rating average='4.894737' max='5' min='1' numRaters='38' rel='http://schemas.google.com/g/2005#overall'/><yt:recorded>2011-01-16</yt:recorded><yt:statistics favoriteCount='21' viewCount='3648'/><yt:rating numDislikes='1' numLikes='37'/></entry></feed>
@@ -0,0 +1,53 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <entry xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:yt="http://gdata.youtube.com/schemas/2007" gd:etag="W/&quot;A0UBR347eCp7ImA9Wx9bFEs.&quot;">
3
+ <id>tag:youtube.com,2008:video:AbC123DeFgH</id>
4
+ <published>2010-12-29T13:57:49.000Z</published>
5
+ <updated>2011-02-23T13:54:16.000Z</updated>
6
+ <category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#video"/>
7
+ <category scheme="http://gdata.youtube.com/schemas/2007/categories.cat" term="Test" label="Test"/>
8
+ <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="test"/>
9
+ <title>YouTube Test Video</title>
10
+ <content type="application/x-shockwave-flash" src="http://www.youtube.com/v/YTAbC123DeF?f=videos&amp;app=youtube_gdata"/>
11
+ <link rel="alternate" type="text/html" href="http://www.youtube.com/watch?v=AbC123DeFgH&amp;feature=youtube_gdata"/>
12
+ <link rel="http://gdata.youtube.com/schemas/2007#video.responses" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/videos/AbC123DeFgH/responses?v=2"/>
13
+ <link rel="http://gdata.youtube.com/schemas/2007#video.related" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/videos/AbC123DeFgH/related?v=2"/>
14
+ <link rel="http://gdata.youtube.com/schemas/2007#mobile" type="text/html" href="http://m.youtube.com/details?v=AbC123DeFgH"/>
15
+ <link rel="self" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/videos/AbC123DeFgH?v=2"/>
16
+ <author>
17
+ <name>Test user</name>
18
+ <uri>http://gdata.youtube.com/feeds/api/users/test_user</uri>
19
+ </author>
20
+ <yt:accessControl action="comment" permission="allowed"/>
21
+ <yt:accessControl action="commentVote" permission="allowed"/>
22
+ <yt:accessControl action="videoRespond" permission="moderated"/>
23
+ <yt:accessControl action="rate" permission="allowed"/>
24
+ <yt:accessControl action="embed" permission="allowed"/>
25
+ <yt:accessControl action="list" permission="allowed"/>
26
+ <yt:accessControl action="syndicate" permission="allowed"/>
27
+ <gd:comments>
28
+ <gd:feedLink href="http://gdata.youtube.com/feeds/api/videos/AbC123DeFgH/comments?v=2" countHint="1000"/>
29
+ </gd:comments>
30
+ <media:group>
31
+ <media:category label="Sports" scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Test</media:category>
32
+ <media:content url="http://www.youtube.com/v/AbC123DeFgH?f=videos&amp;app=youtube_gdata" type="application/x-shockwave-flash" medium="video" isDefault="true" expression="full" duration="356" yt:format="5"/>
33
+ <media:content url="rtsp://v7.cache6.c.youtube.com/TESTCACHE/0/0/0/video.3gp" type="video/3gpp" medium="video" expression="full" duration="356" yt:format="1"/>
34
+ <media:content url="rtsp://v8.cache7.c.youtube.com/TESTCACHE/0/0/0/video.3gp" type="video/3gpp" medium="video" expression="full" duration="356" yt:format="6"/>
35
+ <media:credit role="uploader" scheme="urn:youtube" yt:type="partner">Test user</media:credit>
36
+ <media:description type="plain">Youtube Test Video</media:description>
37
+ <media:keywords>Test, Youtube, Youtube_it, Ruby</media:keywords>
38
+ <media:player url="http://www.youtube.com/watch?v=AbC123DeFgH&amp;feature=youtube_gdata_player"/>
39
+ <media:thumbnail url="http://i.ytimg.com/vi/AbC123DeFgH/default.jpg" height="90" width="120" time="00:02:58" yt:name="default"/>
40
+ <media:thumbnail url="http://i.ytimg.com/vi/AbC123DeFgH/hqdefault.jpg" height="360" width="480" yt:name="hqdefault"/>
41
+ <media:thumbnail url="http://i.ytimg.com/vi/AbC123DeFgH/1.jpg" height="90" width="120" time="00:01:29" yt:name="start"/>
42
+ <media:thumbnail url="http://i.ytimg.com/vi/AbC123DeFgH/2.jpg" height="90" width="120" time="00:02:58" yt:name="middle"/>
43
+ <media:thumbnail url="http://i.ytimg.com/vi/AbC123DeFgH/3.jpg" height="90" width="120" time="00:04:27" yt:name="end"/>
44
+ <media:title type="plain">Ich sterbe für YouTube</media:title>
45
+ <yt:aspectRatio>widescreen</yt:aspectRatio>
46
+ <yt:duration seconds="356"/>
47
+ <yt:uploaded>2010-12-29T13:57:49.000Z</yt:uploaded>
48
+ <yt:videoid>AbC123DeFgH</yt:videoid>
49
+ </media:group>
50
+ <gd:rating average="4.305027" max="5" min="1" numRaters="2049" rel="http://schemas.google.com/g/2005#overall"/>
51
+ <yt:statistics favoriteCount="200" viewCount="240000"/>
52
+ <yt:rating numDislikes="350" numLikes="1700"/>
53
+ </entry>
data/test/test.mov ADDED
Binary file
@@ -0,0 +1,97 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ require 'youtube_it/version'
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = %q{vibedeck-youtube_it}
10
+ s.version = YouTubeIt::VERSION
11
+
12
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
+ s.authors = ["kylejginavan", "chebyte", "mseppae"]
14
+ s.date = %q{2011-07-02}
15
+ s.description = %q{Upload, delete, update, comment on youtube videos all from one gem.}
16
+ s.email = %q{kylejginavan@gmail.com}
17
+ s.extra_rdoc_files = [
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "lib/youtube_it.rb",
24
+ "lib/youtube_it/chain_io.rb",
25
+ "lib/youtube_it/client.rb",
26
+ "lib/youtube_it/middleware/faraday_authheader.rb",
27
+ "lib/youtube_it/middleware/faraday_oauth.rb",
28
+ "lib/youtube_it/middleware/faraday_youtubeit.rb",
29
+ "lib/youtube_it/model/author.rb",
30
+ "lib/youtube_it/model/category.rb",
31
+ "lib/youtube_it/model/comment.rb",
32
+ "lib/youtube_it/model/contact.rb",
33
+ "lib/youtube_it/model/content.rb",
34
+ "lib/youtube_it/model/playlist.rb",
35
+ "lib/youtube_it/model/rating.rb",
36
+ "lib/youtube_it/model/subscription.rb",
37
+ "lib/youtube_it/model/thumbnail.rb",
38
+ "lib/youtube_it/model/user.rb",
39
+ "lib/youtube_it/model/video.rb",
40
+ "lib/youtube_it/parser.rb",
41
+ "lib/youtube_it/record.rb",
42
+ "lib/youtube_it/request/base_search.rb",
43
+ "lib/youtube_it/request/error.rb",
44
+ "lib/youtube_it/request/standard_search.rb",
45
+ "lib/youtube_it/request/user_search.rb",
46
+ "lib/youtube_it/request/video_search.rb",
47
+ "lib/youtube_it/request/video_upload.rb",
48
+ "lib/youtube_it/response/video_search.rb",
49
+ "lib/youtube_it/version.rb",
50
+ "test/files/recorded_response.xml",
51
+ "test/files/youtube_video_response.xml",
52
+ "test/helper.rb",
53
+ "test/test.mov",
54
+ "test/test_chain_io.rb",
55
+ "test/test_client.rb",
56
+ "test/test_field_search.rb",
57
+ "test/test_video.rb",
58
+ "test/test_video_feed_parser.rb",
59
+ "test/test_video_search.rb",
60
+ "youtube_it.gemspec"
61
+ ]
62
+ s.homepage = %q{http://github.com/kylejginavan/youtube_it}
63
+ s.require_paths = ["lib"]
64
+ s.rubygems_version = %q{1.5.2}
65
+ s.summary = %q{The most complete Ruby wrapper for youtube api's}
66
+ s.test_files = [
67
+ "test/helper.rb",
68
+ "test/test_chain_io.rb",
69
+ "test/test_client.rb",
70
+ "test/test_field_search.rb",
71
+ "test/test_video.rb",
72
+ "test/test_video_feed_parser.rb",
73
+ "test/test_video_search.rb"
74
+ ]
75
+
76
+ if s.respond_to? :specification_version then
77
+ s.specification_version = 3
78
+
79
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
80
+ s.add_runtime_dependency(%q<oauth>, [">= 0.4.4"])
81
+ s.add_runtime_dependency(%q<simple_oauth>, [">= 0.1.5"])
82
+ s.add_runtime_dependency(%q<faraday>, ["~> 0.6"])
83
+ s.add_runtime_dependency(%q<builder>, [">= 0"])
84
+ else
85
+ s.add_dependency(%q<oauth>, [">= 0.4.4"])
86
+ s.add_dependency(%q<simple_oauth>, [">= 0.1.5"])
87
+ s.add_dependency(%q<faraday>, [">= 0.7.3"])
88
+ s.add_dependency(%q<builder>, [">= 0"])
89
+ end
90
+ else
91
+ s.add_dependency(%q<oauth>, [">= 0.4.4"])
92
+ s.add_dependency(%q<simple_oauth>, [">= 0.1.5"])
93
+ s.add_dependency(%q<faraday>, [">= 0.7.3"])
94
+ s.add_dependency(%q<builder>, [">= 0"])
95
+ end
96
+ end
97
+
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vibedeck-youtube_it
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
+ - 2
6
7
  - 0
7
8
  - 0
8
- - 1
9
- version: 0.0.1
9
+ - vbdk
10
+ version: 2.0.0.vbdk
10
11
  platform: ruby
11
12
  authors:
12
13
  - kylejginavan
@@ -16,7 +17,7 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2011-08-22 00:00:00 +01:00
20
+ date: 2011-07-02 00:00:00 +01:00
20
21
  default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
@@ -81,6 +82,9 @@ extensions: []
81
82
  extra_rdoc_files:
82
83
  - README.rdoc
83
84
  files:
85
+ - README.rdoc
86
+ - Rakefile
87
+ - lib/youtube_it.rb
84
88
  - lib/youtube_it/chain_io.rb
85
89
  - lib/youtube_it/client.rb
86
90
  - lib/youtube_it/middleware/faraday_authheader.rb
@@ -107,9 +111,17 @@ files:
107
111
  - lib/youtube_it/request/video_upload.rb
108
112
  - lib/youtube_it/response/video_search.rb
109
113
  - lib/youtube_it/version.rb
110
- - lib/youtube_it.rb
111
- - README.rdoc
112
- - Rakefile
114
+ - test/files/recorded_response.xml
115
+ - test/files/youtube_video_response.xml
116
+ - test/helper.rb
117
+ - test/test.mov
118
+ - test/test_chain_io.rb
119
+ - test/test_client.rb
120
+ - test/test_field_search.rb
121
+ - test/test_video.rb
122
+ - test/test_video_feed_parser.rb
123
+ - test/test_video_search.rb
124
+ - youtube_it.gemspec
113
125
  has_rdoc: true
114
126
  homepage: http://github.com/kylejginavan/youtube_it
115
127
  licenses: []
@@ -135,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
147
  version: "0"
136
148
  requirements: []
137
149
 
138
- rubyforge_project: vibedeck-youtube_it
150
+ rubyforge_project:
139
151
  rubygems_version: 1.3.6
140
152
  signing_key:
141
153
  specification_version: 3