matthooks-vimeo 0.2.1 → 0.2.2
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/CHANGELOG.rdoc +4 -0
- data/VERSION.yml +2 -2
- data/lib/vimeo/advanced/video.rb +3 -8
- metadata +12 -13
data/CHANGELOG.rdoc
CHANGED
data/VERSION.yml
CHANGED
data/lib/vimeo/advanced/video.rb
CHANGED
@@ -111,10 +111,9 @@ module Vimeo
|
|
111
111
|
def search(q, options={ :page => 1, :per_page => 25, :full_response => 0, :auth_token => nil })
|
112
112
|
user_id = options[:user_id]
|
113
113
|
contacts_only = options[:contacts_only]
|
114
|
-
escaped_query = CGI.escape(q)
|
115
114
|
|
116
115
|
sig_options = {
|
117
|
-
:query =>
|
116
|
+
:query => q,
|
118
117
|
:page => options[:page],
|
119
118
|
:per_page => options[:per_page],
|
120
119
|
:fullResponse => options[:full_response],
|
@@ -158,11 +157,9 @@ module Vimeo
|
|
158
157
|
end
|
159
158
|
|
160
159
|
def set_title(video_id, title, auth_token)
|
161
|
-
escaped_title = CGI.escape(title)
|
162
|
-
|
163
160
|
sig_options = {
|
164
161
|
:video_id => video_id,
|
165
|
-
:title =>
|
162
|
+
:title => title,
|
166
163
|
:auth_token => auth_token,
|
167
164
|
:method => "vimeo.videos.setTitle"
|
168
165
|
}
|
@@ -171,11 +168,9 @@ module Vimeo
|
|
171
168
|
end
|
172
169
|
|
173
170
|
def set_caption(video_id, caption, auth_token)
|
174
|
-
escaped_caption = CGI.escape(caption)
|
175
|
-
|
176
171
|
sig_options = {
|
177
172
|
:video_id => video_id,
|
178
|
-
:caption =>
|
173
|
+
:caption => caption,
|
179
174
|
:auth_token => auth_token,
|
180
175
|
:method => "vimeo.videos.setCaption"
|
181
176
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matthooks-vimeo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Hooks
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-21 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jnunemaker-httparty
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -28,15 +29,15 @@ executables: []
|
|
28
29
|
extensions: []
|
29
30
|
|
30
31
|
extra_rdoc_files:
|
31
|
-
- README.rdoc
|
32
|
-
- LICENSE
|
33
32
|
- CHANGELOG.rdoc
|
33
|
+
- LICENSE
|
34
|
+
- README.rdoc
|
34
35
|
files:
|
35
36
|
- CHANGELOG.rdoc
|
36
37
|
- README.rdoc
|
37
38
|
- VERSION.yml
|
38
|
-
- lib/vimeo
|
39
|
-
- lib/vimeo/advanced
|
39
|
+
- lib/vimeo.rb
|
40
|
+
- lib/vimeo/advanced.rb
|
40
41
|
- lib/vimeo/advanced/auth.rb
|
41
42
|
- lib/vimeo/advanced/base.rb
|
42
43
|
- lib/vimeo/advanced/contact.rb
|
@@ -45,8 +46,7 @@ files:
|
|
45
46
|
- lib/vimeo/advanced/test.rb
|
46
47
|
- lib/vimeo/advanced/upload.rb
|
47
48
|
- lib/vimeo/advanced/video.rb
|
48
|
-
- lib/vimeo/
|
49
|
-
- lib/vimeo/simple
|
49
|
+
- lib/vimeo/simple.rb
|
50
50
|
- lib/vimeo/simple/activity.rb
|
51
51
|
- lib/vimeo/simple/album.rb
|
52
52
|
- lib/vimeo/simple/base.rb
|
@@ -54,8 +54,6 @@ files:
|
|
54
54
|
- lib/vimeo/simple/clip.rb
|
55
55
|
- lib/vimeo/simple/group.rb
|
56
56
|
- lib/vimeo/simple/user.rb
|
57
|
-
- lib/vimeo/simple.rb
|
58
|
-
- lib/vimeo.rb
|
59
57
|
- test/test_helper.rb
|
60
58
|
- test/vimeo_test.rb
|
61
59
|
- LICENSE
|
@@ -86,7 +84,8 @@ requirements: []
|
|
86
84
|
rubyforge_project:
|
87
85
|
rubygems_version: 1.2.0
|
88
86
|
signing_key:
|
89
|
-
specification_version:
|
87
|
+
specification_version: 3
|
90
88
|
summary: A full featured Ruby implementation of the Vimeo API.
|
91
|
-
test_files:
|
92
|
-
|
89
|
+
test_files:
|
90
|
+
- test/test_helper.rb
|
91
|
+
- test/vimeo_test.rb
|