matthooks-vimeo 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.2.2, released 2009-04-21
2
+
3
+ * Removed CGI escapes. Vimeo should be handling them on their end.
4
+
1
5
  == 0.2.1, released 2009-01-06
2
6
 
3
7
  * Last version was missing files.
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 1
3
- :major: 0
4
2
  :minor: 2
3
+ :patch: 2
4
+ :major: 0
@@ -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 => escaped_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 => escaped_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 => escaped_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.1
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-01-07 00:00:00 -08:00
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/advanced.rb
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: 2
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