slainer68_youtube_it 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/Gemfile +10 -0
  2. data/Gemfile.lock +27 -0
  3. data/Manifest.txt +37 -0
  4. data/README.rdoc +270 -0
  5. data/Rakefile +53 -0
  6. data/VERSION +1 -0
  7. data/lib/youtube_it/chain_io.rb +76 -0
  8. data/lib/youtube_it/client.rb +447 -0
  9. data/lib/youtube_it/middleware/faraday_authheader.rb +24 -0
  10. data/lib/youtube_it/middleware/faraday_oauth.rb +21 -0
  11. data/lib/youtube_it/middleware/faraday_oauth2.rb +13 -0
  12. data/lib/youtube_it/middleware/faraday_youtubeit.rb +30 -0
  13. data/lib/youtube_it/model/activity.rb +17 -0
  14. data/lib/youtube_it/model/author.rb +13 -0
  15. data/lib/youtube_it/model/category.rb +11 -0
  16. data/lib/youtube_it/model/comment.rb +16 -0
  17. data/lib/youtube_it/model/contact.rb +19 -0
  18. data/lib/youtube_it/model/content.rb +18 -0
  19. data/lib/youtube_it/model/message.rb +12 -0
  20. data/lib/youtube_it/model/playlist.rb +11 -0
  21. data/lib/youtube_it/model/rating.rb +23 -0
  22. data/lib/youtube_it/model/subscription.rb +7 -0
  23. data/lib/youtube_it/model/thumbnail.rb +17 -0
  24. data/lib/youtube_it/model/user.rb +27 -0
  25. data/lib/youtube_it/model/video.rb +239 -0
  26. data/lib/youtube_it/parser.rb +534 -0
  27. data/lib/youtube_it/record.rb +12 -0
  28. data/lib/youtube_it/request/base_search.rb +72 -0
  29. data/lib/youtube_it/request/error.rb +15 -0
  30. data/lib/youtube_it/request/standard_search.rb +43 -0
  31. data/lib/youtube_it/request/user_search.rb +47 -0
  32. data/lib/youtube_it/request/video_search.rb +102 -0
  33. data/lib/youtube_it/request/video_upload.rb +538 -0
  34. data/lib/youtube_it/response/video_search.rb +41 -0
  35. data/lib/youtube_it/version.rb +4 -0
  36. data/lib/youtube_it.rb +83 -0
  37. data/slainer68_youtube_it.gemspec +102 -0
  38. data/test/files/recorded_response.xml +1 -0
  39. data/test/files/youtube_video_response.xml +53 -0
  40. data/test/helper.rb +9 -0
  41. data/test/test.mov +0 -0
  42. data/test/test_chain_io.rb +63 -0
  43. data/test/test_client.rb +435 -0
  44. data/test/test_field_search.rb +48 -0
  45. data/test/test_video.rb +48 -0
  46. data/test/test_video_feed_parser.rb +271 -0
  47. data/test/test_video_search.rb +141 -0
  48. metadata +172 -0
metadata ADDED
@@ -0,0 +1,172 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: slainer68_youtube_it
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - kylejginavan
9
+ - chebyte
10
+ - mseppae
11
+ - slainer68
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2012-01-11 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: oauth
19
+ requirement: &70313814854780 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ! '>='
23
+ - !ruby/object:Gem::Version
24
+ version: '0'
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: *70313814854780
28
+ - !ruby/object:Gem::Dependency
29
+ name: simple_oauth
30
+ requirement: &70313814869600 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ! '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: *70313814869600
39
+ - !ruby/object:Gem::Dependency
40
+ name: faraday
41
+ requirement: &70313814869100 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: *70313814869100
50
+ - !ruby/object:Gem::Dependency
51
+ name: builder
52
+ requirement: &70313814868440 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ type: :runtime
59
+ prerelease: false
60
+ version_requirements: *70313814868440
61
+ - !ruby/object:Gem::Dependency
62
+ name: oauth2
63
+ requirement: &70313814867740 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ type: :runtime
70
+ prerelease: false
71
+ version_requirements: *70313814867740
72
+ - !ruby/object:Gem::Dependency
73
+ name: faraday
74
+ requirement: &70313814867000 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: 0.7.3
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: *70313814867000
83
+ - !ruby/object:Gem::Dependency
84
+ name: builder
85
+ requirement: &70313814866300 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: *70313814866300
94
+ description: Upload, delete, update, comment on youtube videos all from one gem.
95
+ email: slainer68@gmail.com
96
+ executables: []
97
+ extensions: []
98
+ extra_rdoc_files:
99
+ - README.rdoc
100
+ files:
101
+ - Gemfile
102
+ - Gemfile.lock
103
+ - Manifest.txt
104
+ - README.rdoc
105
+ - Rakefile
106
+ - VERSION
107
+ - lib/youtube_it.rb
108
+ - lib/youtube_it/chain_io.rb
109
+ - lib/youtube_it/client.rb
110
+ - lib/youtube_it/middleware/faraday_authheader.rb
111
+ - lib/youtube_it/middleware/faraday_oauth.rb
112
+ - lib/youtube_it/middleware/faraday_oauth2.rb
113
+ - lib/youtube_it/middleware/faraday_youtubeit.rb
114
+ - lib/youtube_it/model/activity.rb
115
+ - lib/youtube_it/model/author.rb
116
+ - lib/youtube_it/model/category.rb
117
+ - lib/youtube_it/model/comment.rb
118
+ - lib/youtube_it/model/contact.rb
119
+ - lib/youtube_it/model/content.rb
120
+ - lib/youtube_it/model/message.rb
121
+ - lib/youtube_it/model/playlist.rb
122
+ - lib/youtube_it/model/rating.rb
123
+ - lib/youtube_it/model/subscription.rb
124
+ - lib/youtube_it/model/thumbnail.rb
125
+ - lib/youtube_it/model/user.rb
126
+ - lib/youtube_it/model/video.rb
127
+ - lib/youtube_it/parser.rb
128
+ - lib/youtube_it/record.rb
129
+ - lib/youtube_it/request/base_search.rb
130
+ - lib/youtube_it/request/error.rb
131
+ - lib/youtube_it/request/standard_search.rb
132
+ - lib/youtube_it/request/user_search.rb
133
+ - lib/youtube_it/request/video_search.rb
134
+ - lib/youtube_it/request/video_upload.rb
135
+ - lib/youtube_it/response/video_search.rb
136
+ - lib/youtube_it/version.rb
137
+ - slainer68_youtube_it.gemspec
138
+ - test/files/recorded_response.xml
139
+ - test/files/youtube_video_response.xml
140
+ - test/helper.rb
141
+ - test/test.mov
142
+ - test/test_chain_io.rb
143
+ - test/test_client.rb
144
+ - test/test_field_search.rb
145
+ - test/test_video.rb
146
+ - test/test_video_feed_parser.rb
147
+ - test/test_video_search.rb
148
+ homepage: http://github.com/slainer68/youtube_it
149
+ licenses: []
150
+ post_install_message:
151
+ rdoc_options: []
152
+ require_paths:
153
+ - lib
154
+ required_ruby_version: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ requirements: []
167
+ rubyforge_project:
168
+ rubygems_version: 1.8.11
169
+ signing_key:
170
+ specification_version: 3
171
+ summary: The most complete Ruby wrapper for youtube api's
172
+ test_files: []