youtube_it 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.txt +6 -0
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/youtube_it/request/video_upload.rb +1 -0
- data/pkg/youtube_it-1.2.3.gem +0 -0
- data/youtube_it.gemspec +52 -50
- metadata +23 -7
- data/.gitignore +0 -17
data/README.txt
CHANGED
@@ -55,6 +55,11 @@ Upload videos:
|
|
55
55
|
|
56
56
|
client.video_upload(File.open("test.mov"), :title => "test",:description => 'some description', :category => 'People',:keywords => %w[cool blah test])
|
57
57
|
|
58
|
+
* you can upload video with developer tag
|
59
|
+
|
60
|
+
client.video_upload(File.open("test.mov"), :title => "test",:description => 'some description', :category => 'People',:keywords => %w[cool blah test], :dev_tag => 'tagdev')
|
61
|
+
|
62
|
+
|
58
63
|
* update video
|
59
64
|
|
60
65
|
client.video_update("FQK1URcxmb4", :title => "new test",:description => 'new description', :category => 'People',:keywords => %w[cool blah test])
|
@@ -64,6 +69,7 @@ Upload videos:
|
|
64
69
|
client.video_delete("FQK1URcxmb4")
|
65
70
|
|
66
71
|
|
72
|
+
|
67
73
|
Comments
|
68
74
|
|
69
75
|
You can add or list comments with the following way:
|
data/Rakefile
CHANGED
@@ -10,6 +10,7 @@ begin
|
|
10
10
|
gem.email = "kylejginavan@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/kylejginavan/youtube_it"
|
12
12
|
gem.add_dependency('oauth','>=0.4.4')
|
13
|
+
gem.add_dependency('builder')
|
13
14
|
gem.authors = ["chebyte","kylejginavan"]
|
14
15
|
end
|
15
16
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.4
|
@@ -510,6 +510,7 @@ class YouTubeIt
|
|
510
510
|
mg.tag!("media:keywords", @opts[:keywords].join(","))
|
511
511
|
mg.tag!('media:category', @opts[:category], :scheme => "http://gdata.youtube.com/schemas/2007/categories.cat")
|
512
512
|
mg.tag!('yt:private') if @opts[:private]
|
513
|
+
mg.tag!('media:category', @opts[:dev_tag], :scheme => "http://gdata.youtube.com/schemas/2007/developertags.cat") if @opts[:dev_tag]
|
513
514
|
end
|
514
515
|
m.tag!("yt:accessControl", :action => "rate", :permission => @opts[:rate]) if @opts[:rate]
|
515
516
|
m.tag!("yt:accessControl", :action => "comment", :permission => @opts[:comment]) if @opts[:comment]
|
Binary file
|
data/youtube_it.gemspec
CHANGED
@@ -1,86 +1,88 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{youtube_it}
|
8
|
-
s.version = "1.2.
|
8
|
+
s.version = "1.2.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["chebyte", "kylejginavan"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-26}
|
13
13
|
s.description = %q{Upload, delete, update, comment on youtube videos all from one gem.}
|
14
14
|
s.email = %q{kylejginavan@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.txt"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
".
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
19
|
+
"History.txt",
|
20
|
+
"Manifest.txt",
|
21
|
+
"README.txt",
|
22
|
+
"Rakefile",
|
23
|
+
"TODO.txt",
|
24
|
+
"VERSION",
|
25
|
+
"lib/youtube_it.rb",
|
26
|
+
"lib/youtube_it/chain_io.rb",
|
27
|
+
"lib/youtube_it/client.rb",
|
28
|
+
"lib/youtube_it/model/author.rb",
|
29
|
+
"lib/youtube_it/model/category.rb",
|
30
|
+
"lib/youtube_it/model/contact.rb",
|
31
|
+
"lib/youtube_it/model/content.rb",
|
32
|
+
"lib/youtube_it/model/playlist.rb",
|
33
|
+
"lib/youtube_it/model/rating.rb",
|
34
|
+
"lib/youtube_it/model/thumbnail.rb",
|
35
|
+
"lib/youtube_it/model/user.rb",
|
36
|
+
"lib/youtube_it/model/video.rb",
|
37
|
+
"lib/youtube_it/parser.rb",
|
38
|
+
"lib/youtube_it/record.rb",
|
39
|
+
"lib/youtube_it/request/base_search.rb",
|
40
|
+
"lib/youtube_it/request/standard_search.rb",
|
41
|
+
"lib/youtube_it/request/user_search.rb",
|
42
|
+
"lib/youtube_it/request/video_search.rb",
|
43
|
+
"lib/youtube_it/request/video_upload.rb",
|
44
|
+
"lib/youtube_it/response/video_search.rb",
|
45
|
+
"lib/youtube_it/version.rb",
|
46
|
+
"pkg/youtube_it-0.0.8.gem",
|
47
|
+
"pkg/youtube_it-1.0.0.gem",
|
48
|
+
"pkg/youtube_it-1.1.0.gem",
|
49
|
+
"pkg/youtube_it-1.2.0.gem",
|
50
|
+
"pkg/youtube_it-1.2.1.gem",
|
51
|
+
"pkg/youtube_it-1.2.3.gem",
|
52
|
+
"test/helper.rb",
|
53
|
+
"test/test.mov",
|
54
|
+
"test/test_chain_io.rb",
|
55
|
+
"test/test_client.rb",
|
56
|
+
"test/test_video.rb",
|
57
|
+
"test/test_video_search.rb",
|
58
|
+
"youtube_it.gemspec"
|
59
59
|
]
|
60
60
|
s.homepage = %q{http://github.com/kylejginavan/youtube_it}
|
61
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
62
61
|
s.require_paths = ["lib"]
|
63
|
-
s.rubygems_version = %q{1.3.
|
62
|
+
s.rubygems_version = %q{1.3.7}
|
64
63
|
s.summary = %q{The most complete Ruby wrapper for youtube api's}
|
65
64
|
s.test_files = [
|
66
65
|
"test/helper.rb",
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
66
|
+
"test/test_chain_io.rb",
|
67
|
+
"test/test_client.rb",
|
68
|
+
"test/test_video.rb",
|
69
|
+
"test/test_video_search.rb"
|
71
70
|
]
|
72
71
|
|
73
72
|
if s.respond_to? :specification_version then
|
74
73
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
75
74
|
s.specification_version = 3
|
76
75
|
|
77
|
-
if Gem::Version.new(Gem::
|
76
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
78
77
|
s.add_runtime_dependency(%q<oauth>, [">= 0.4.4"])
|
78
|
+
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
79
79
|
else
|
80
80
|
s.add_dependency(%q<oauth>, [">= 0.4.4"])
|
81
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
81
82
|
end
|
82
83
|
else
|
83
84
|
s.add_dependency(%q<oauth>, [">= 0.4.4"])
|
85
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
84
86
|
end
|
85
87
|
end
|
86
88
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 1.2.
|
8
|
+
- 4
|
9
|
+
version: 1.2.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- chebyte
|
@@ -15,13 +15,14 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-26 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: oauth
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
@@ -32,6 +33,19 @@ dependencies:
|
|
32
33
|
version: 0.4.4
|
33
34
|
type: :runtime
|
34
35
|
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: builder
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
35
49
|
description: Upload, delete, update, comment on youtube videos all from one gem.
|
36
50
|
email: kylejginavan@gmail.com
|
37
51
|
executables: []
|
@@ -41,7 +55,6 @@ extensions: []
|
|
41
55
|
extra_rdoc_files:
|
42
56
|
- README.txt
|
43
57
|
files:
|
44
|
-
- .gitignore
|
45
58
|
- History.txt
|
46
59
|
- Manifest.txt
|
47
60
|
- README.txt
|
@@ -74,6 +87,7 @@ files:
|
|
74
87
|
- pkg/youtube_it-1.1.0.gem
|
75
88
|
- pkg/youtube_it-1.2.0.gem
|
76
89
|
- pkg/youtube_it-1.2.1.gem
|
90
|
+
- pkg/youtube_it-1.2.3.gem
|
77
91
|
- test/helper.rb
|
78
92
|
- test/test.mov
|
79
93
|
- test/test_chain_io.rb
|
@@ -86,11 +100,12 @@ homepage: http://github.com/kylejginavan/youtube_it
|
|
86
100
|
licenses: []
|
87
101
|
|
88
102
|
post_install_message:
|
89
|
-
rdoc_options:
|
90
|
-
|
103
|
+
rdoc_options: []
|
104
|
+
|
91
105
|
require_paths:
|
92
106
|
- lib
|
93
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
94
109
|
requirements:
|
95
110
|
- - ">="
|
96
111
|
- !ruby/object:Gem::Version
|
@@ -98,6 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
113
|
- 0
|
99
114
|
version: "0"
|
100
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
101
117
|
requirements:
|
102
118
|
- - ">="
|
103
119
|
- !ruby/object:Gem::Version
|
@@ -107,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
123
|
requirements: []
|
108
124
|
|
109
125
|
rubyforge_project:
|
110
|
-
rubygems_version: 1.3.
|
126
|
+
rubygems_version: 1.3.7
|
111
127
|
signing_key:
|
112
128
|
specification_version: 3
|
113
129
|
summary: The most complete Ruby wrapper for youtube api's
|
data/.gitignore
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
.DS_Store
|
2
|
-
.idea
|
3
|
-
config/database.yml
|
4
|
-
log/*.log
|
5
|
-
public/flash/*.swf
|
6
|
-
tmp/**/*
|
7
|
-
*.tmproj
|
8
|
-
public/stylesheets/packaged/*.css
|
9
|
-
public/javascripts/packaged/*.js
|
10
|
-
tmp
|
11
|
-
log
|
12
|
-
config/*.sphinx.conf
|
13
|
-
db/sphinx/
|
14
|
-
sphinx/**/*
|
15
|
-
public/packages/*
|
16
|
-
.gitconfig
|
17
|
-
pkg/**/*
|