slainer68-vimeo 0.2.2 → 0.2.3

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.
Files changed (2) hide show
  1. data/lib/vimeo/advanced/video.rb +3 -8
  2. metadata +1 -1
@@ -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: slainer68-vimeo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Hooks