rspotify 2.9.1 → 2.9.2
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 +1 -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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c165c5081e4cca893c47dc2cd8f4f14575ab64aee6afd554124c3b0b36f3d9b6
|
4
|
+
data.tar.gz: 851456edf9def81e75378588216daf83145afbc4aa5ea53d6f3efdb75bff3d73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f060beaba6b8c8995b23952d503703943dd89d765f4c23224dc7a4a05d34849f30a4ab551aea64c0f9bbd193014d524dd593f99cb5a9099a4c71084ecce8e3b0
|
7
|
+
data.tar.gz: 3b877fc32c3ec4caf9aa31c72e7b4541e4b0bd432469e74ec6b33765eea1c90fa005bfc478dd70152b0da9260b98699c756541397fa1686d9bdc9d6f6de77607
|
data/lib/rspotify/connection.rb
CHANGED
@@ -67,7 +67,7 @@ module RSpotify
|
|
67
67
|
rescue RestClient::Unauthorized => e
|
68
68
|
raise e if request_was_user_authenticated?(*params)
|
69
69
|
|
70
|
-
raise MissingAuthentication unless @
|
70
|
+
raise MissingAuthentication unless @client_id && @client_secret
|
71
71
|
|
72
72
|
authenticate(@client_id, @client_secret)
|
73
73
|
|
data/lib/rspotify/playlist.rb
CHANGED
@@ -390,7 +390,7 @@ module RSpotify
|
|
390
390
|
def replace_tracks!(tracks)
|
391
391
|
track_uris = tracks.map(&:uri).join(',')
|
392
392
|
url = "#{@path}/tracks?uris=#{track_uris}"
|
393
|
-
User.oauth_put(@owner.id, url, {})
|
393
|
+
User.oauth_put(@owner.id, url, {}.to_json)
|
394
394
|
|
395
395
|
@total = tracks.size
|
396
396
|
@tracks_cache = nil
|
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: 2.9.
|
4
|
+
version: 2.9.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: 2020-
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|