rspotify 2.2.0 → 2.2.1
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.
- checksums.yaml +4 -4
- data/lib/rspotify/playlist.rb +2 -2
- 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: fb2791528d6b1ac2e75c7a697f2621d37b1f4a35
|
|
4
|
+
data.tar.gz: 4db8e2fb68a9a0364336ddbf07e54f37c87c4b98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f1fa14c4492d13caab545ce09758a4634dced583f7ee646d00539c982be6b9939db868ac389439dcb3e258c541baa59f964ef6918c1e7aabb3412518ec87d52
|
|
7
|
+
data.tar.gz: 2f81ab704a788baa982c1f3b2894d7e20443294e2f98610be7cc031348c702a84c3b697d90aedf88aa26e9042875baa187df56784fc3a475192acf04a7a89855
|
data/lib/rspotify/playlist.rb
CHANGED
|
@@ -141,7 +141,7 @@ module RSpotify
|
|
|
141
141
|
url = "#{@path}/tracks?uris=#{track_uris}"
|
|
142
142
|
url << "&position=#{position}" if position
|
|
143
143
|
|
|
144
|
-
response = User.oauth_post(@owner.id, url, {})
|
|
144
|
+
response = User.oauth_post(@owner.id, url, {}.to_json)
|
|
145
145
|
@total += tracks.size
|
|
146
146
|
@tracks_cache = nil
|
|
147
147
|
|
|
@@ -340,7 +340,7 @@ module RSpotify
|
|
|
340
340
|
self
|
|
341
341
|
end
|
|
342
342
|
|
|
343
|
-
# Replace the image used to represent a specific playlist. Requires ugc-image-upload scope. Changing a public playlist
|
|
343
|
+
# Replace the image used to represent a specific playlist. Requires ugc-image-upload scope. Changing a public playlist
|
|
344
344
|
# requires the *playlist-modify-public* scope; changing a private playlist requires the *playlist-modify-private* scope.
|
|
345
345
|
#
|
|
346
346
|
# @param image [String] Base64 encoded JPEG image data, maximum payload size is 256 KB
|
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.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Guilherme Sad
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|