spotify-client 0.0.3 → 0.0.4

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: 0a65b5cc3dc9058c152d699399f6d6ba1613e1db
4
- data.tar.gz: 0fe6aeb67bb7caf91fca519f295859b9a6a088e8
3
+ metadata.gz: 0922f733673b6c8619aa34da94c7ab5e17724e8f
4
+ data.tar.gz: 51959bb5dabe92a5492a4ff1d4b65f5e32e3313b
5
5
  SHA512:
6
- metadata.gz: 51fe233dcb5363b8f0a9c241ec04eb2a79ab0d55da62cd08cf75ec87c870b24fb873d67b999f5402182cb11f064a0f1f9d5986d586dc706c3f64462b1d54bc0b
7
- data.tar.gz: 4a273acebe066395ec49fee9788f10cfc2630b817ae667526012124edb0811e6ceb9d15182234aa464ef16ab8b5f25bb4dd4c4ff881b1947bc5687bac0c958dd
6
+ metadata.gz: 6e170e666b11e89c940f8016a8e3699898dfcd737edab890716faf044a30fb14431b8c1e0e8cb821fdac3190656fb351907db9b1ca6e9da02180a7b80417a451
7
+ data.tar.gz: bc090b3b2fe7e764d2ec1d0ba623dfe77f15a8d11465eb9360e088a4d277739e571a7b3419426ec003231b36f5e67b26af9722f4a5519111ba6cde97654012e9
@@ -1,3 +1,3 @@
1
1
  module Spotify
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -61,7 +61,7 @@ module Spotify
61
61
  # Requires playlist-modify for a public playlist.
62
62
  # Requires playlist-modify-private for a private playlist.
63
63
  def create_user_playlist(user_id, name, is_public = true)
64
- run(:post, "/v1/users/#{user_id}/playlists", [201], JSON.dump({ :name => name, :public => is_public }))
64
+ run(:post, "/v1/users/#{user_id}/playlists", [201], JSON.dump({ :name => name, :public => is_public }), false)
65
65
  end
66
66
 
67
67
  # Add an Array of track uris to an existing playlist.
@@ -75,7 +75,7 @@ module Spotify
75
75
  if position
76
76
  params.merge!(:position => position)
77
77
  end
78
- run(:post, "/v1/users/#{user_id}/playlists/#{playlist_id}/tracks", [201], params)
78
+ run(:post, "/v1/users/#{user_id}/playlists/#{playlist_id}/tracks", [201], params, false)
79
79
  end
80
80
 
81
81
  def album(album_id)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotify-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Poli