rspotify 1.15.2 → 1.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspotify/connection.rb +4 -1
- data/lib/rspotify/playlist.rb +1 -1
- data/lib/rspotify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac94d99639be8181e56d0816720246ce24271c77
|
4
|
+
data.tar.gz: 8a67bc4da63c94040d4b5de44995b8146926ea6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d994866793d8269ea071d9a21990d5efffbecc42ff578ec61872ed69bc88cf7156c8b34aa81bdb3657d73495cc90dedc81117009585e6f9b359b31a7a98fa7e
|
7
|
+
data.tar.gz: 632426c9171bb4436ead04de17773ada3bb82e1d27871cac3c7700f401928ccad277f75dbd96094d9614ac51c2be3c26a08fb32896d2275eb0ae472072e538cb
|
data/lib/rspotify/connection.rb
CHANGED
@@ -52,8 +52,11 @@ module RSpotify
|
|
52
52
|
private
|
53
53
|
|
54
54
|
def send_request(verb, path, *params)
|
55
|
-
url = path.start_with?(
|
55
|
+
url = path.start_with?('http') ? path : API_URI + path
|
56
|
+
|
57
|
+
url, query = *url.split('?')
|
56
58
|
url = URI::encode(url)
|
59
|
+
url << "?#{query}" if query
|
57
60
|
|
58
61
|
begin
|
59
62
|
response = RestClient.send(verb, url, *params)
|
data/lib/rspotify/playlist.rb
CHANGED
data/lib/rspotify/version.rb
CHANGED
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.
|
4
|
+
version: 1.15.3
|
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-
|
11
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|