rspotify 1.15.1 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e6de26af3763d772cfac6dcaa7af1872f33eb58
4
- data.tar.gz: c2068bee7e831a418081238f086823a0dfddf416
3
+ metadata.gz: 2b983cb743b13ec03c5dbf73bed42c54642d924e
4
+ data.tar.gz: a1fc61b17501abc0c9cbd4523e01ac7ae06141a1
5
5
  SHA512:
6
- metadata.gz: b5da292e7de162c2525f35da9443dea08dbca5160c091b9046ca3f2b61bbad35a6667396b2afa6e62ae54e32c3413878615828760acbade35db925ef6afc1cd9
7
- data.tar.gz: 1d7b6e62548385c7d88ef98fe74deb7efd533e848fab72450fab9487ad719c0ce7cd5fdbb7a208b54da1ac0a3da3f2be995733cdf0630a4ff251fea4e0f8f3e7
6
+ metadata.gz: a27378692addb57505824e1dddef6684c2fac543aea3b44dbacbbcc3ab51e508ffb10fae7a74a7ce6f2148c566ca9d620e503ab63a215acc932c38d6f6abfbe9
7
+ data.tar.gz: 83253680e40d22dd6aa92d01253066dc883d7ba42e354b44c27830eeeb7f27be7294e97a9fe5a80f2f2d538ea9c3960b5af8d28c45ffca7fea6cd07a334d6185
@@ -53,6 +53,7 @@ module RSpotify
53
53
 
54
54
  def send_request(verb, path, *params)
55
55
  url = path.start_with?("http") ? path : API_URI + path
56
+ url = URI::encode(url)
56
57
 
57
58
  begin
58
59
  response = RestClient.send(verb, url, *params)
@@ -288,7 +288,7 @@ module RSpotify
288
288
 
289
289
  params = {
290
290
  method: :delete,
291
- url: "#{@href}/tracks",
291
+ url: URI::encode("#{@href}/tracks"),
292
292
  headers: User.send(:oauth_header, @owner.id),
293
293
  payload: positions ? { positions: positions } : { tracks: tracks }
294
294
  }
@@ -1,3 +1,3 @@
1
1
  module RSpotify
2
- VERSION = '1.15.1'
2
+ VERSION = '1.15.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspotify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.1
4
+ version: 1.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Sad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-23 00:00:00.000000000 Z
11
+ date: 2015-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2