youtube_it 1.4.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +4 -0
- data/README.rdoc +37 -6
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/youtube_it.rb +6 -0
- data/lib/youtube_it/client.rb +47 -12
- data/lib/youtube_it/middleware/faraday_authheader.rb +13 -0
- data/lib/youtube_it/middleware/faraday_oauth.rb +21 -0
- data/lib/youtube_it/middleware/faraday_youtubeit.rb +30 -0
- data/lib/youtube_it/model/subscription.rb +7 -0
- data/lib/youtube_it/model/video.rb +3 -0
- data/lib/youtube_it/parser.rb +97 -58
- data/lib/youtube_it/request/base_search.rb +45 -0
- data/lib/youtube_it/request/error.rb +15 -0
- data/lib/youtube_it/request/user_search.rb +2 -0
- data/lib/youtube_it/request/video_search.rb +4 -1
- data/lib/youtube_it/request/video_upload.rb +146 -277
- data/lib/youtube_it/version.rb +1 -1
- data/test/files/recorded_response.xml +1 -0
- data/test/helper.rb +1 -0
- data/test/test_chain_io.rb +1 -1
- data/test/test_client.rb +77 -29
- data/test/test_field_search.rb +48 -0
- data/test/test_video.rb +2 -2
- data/test/test_video_feed_parser.rb +1 -1
- data/test/test_video_search.rb +2 -1
- data/youtube_it.gemspec +16 -4
- metadata +34 -6
- data/History.txt +0 -16
- data/TODO.txt +0 -16
data/History.txt
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
* Initial fork
|
2
|
-
|
3
|
-
== 0.0.1 / 2010-07-05
|
4
|
-
|
5
|
-
* Enhanced youtube-g to support:
|
6
|
-
~> direct uploads to youtube
|
7
|
-
~> update video on youtube
|
8
|
-
~> comment on youtube video
|
9
|
-
~> delete youtube video
|
10
|
-
|
11
|
-
== 0.0.2 / 2010-07-07
|
12
|
-
|
13
|
-
* ACL support
|
14
|
-
|
15
|
-
== 0.0.3 / 2010-08-12
|
16
|
-
|
data/TODO.txt
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
[ ] stub out http request/response cycle for tests
|
2
|
-
[ ] allow specifying values as single items where you don't need to wrap in a list, e.g. :tags => :chickens instead of :tags => [ 'chickens' ]
|
3
|
-
[ ] make sure symbols will work as well as tags everywhere (again, :tags => :chickens is same as :tags => 'chickens')
|
4
|
-
[ ] figure out better structure for class/file (either rename request/video_search.rb or split into one class per file again)
|
5
|
-
[ ] restore spaces after method def names
|
6
|
-
[ ] use a proxy for testing with static sample result xml so we have repeatable tests
|
7
|
-
[ ] Clean up tests using Shoulda to define contexts
|
8
|
-
[ ] Allow :category and :categories for query DSL
|
9
|
-
[ ] Exception handling
|
10
|
-
|
11
|
-
== API Features TODO
|
12
|
-
|
13
|
-
[ ] Profile feed parsing
|
14
|
-
[ ] Playlist feeds
|
15
|
-
[ ] User subscriptions
|
16
|
-
[ ] Video comments
|