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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb9507e6fc1146a1d8c83b8b63ead2a6d5f221a6
4
- data.tar.gz: c30543eca013da23ec51ba403f754e35dbadf61b
3
+ metadata.gz: fb2791528d6b1ac2e75c7a697f2621d37b1f4a35
4
+ data.tar.gz: 4db8e2fb68a9a0364336ddbf07e54f37c87c4b98
5
5
  SHA512:
6
- metadata.gz: a8cf7a6e1818c7196fab686640c987f9293f82711ab95672534f59c71fcebb2bc20fc3d4caf65ef67f352aa71ac1835292dfaf252f1a7e496ce1f4786ecba1c0
7
- data.tar.gz: 7e5191484908a4574ef4f7affdc42428bcf3d15d165604ae27edcb421d958378327e144c3ddf84ccb42e4398e969c5dd155a8bbf63ddaf0e5c6977c9cc5373ad
6
+ metadata.gz: 1f1fa14c4492d13caab545ce09758a4634dced583f7ee646d00539c982be6b9939db868ac389439dcb3e258c541baa59f964ef6918c1e7aabb3412518ec87d52
7
+ data.tar.gz: 2f81ab704a788baa982c1f3b2894d7e20443294e2f98610be7cc031348c702a84c3b697d90aedf88aa26e9042875baa187df56784fc3a475192acf04a7a89855
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RSpotify
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
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: 2.2.0
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-08-18 00:00:00.000000000 Z
11
+ date: 2018-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2