rspotify 2.12.0 → 2.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspotify/playlist.rb +5 -2
- 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: 6aa870c1626f1912080858169ae6dfaedcaa3d80b1a054b90d045a0674717cbe
|
4
|
+
data.tar.gz: 3f3b4138467008192be294bee7afdc0d1c0970bedf6410eb8262fb6567e6b34f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09746a6f4b21b8ff50877afaed94c34332e2cb6ac34df5c1a3b599d68cc92bbe8314f287432da0a018d38002d662c9704f784e0662dee7a531d02a54a76e6fc2'
|
7
|
+
data.tar.gz: 4574ab6c8f9a6ec06ab058cbdb611179275933fa2a57c755567df6c467a9fb7d017e33a68a1e4b3208c406741832d7009c9ad138b33817b5b115eeb54f961558
|
data/lib/rspotify/playlist.rb
CHANGED
@@ -128,8 +128,11 @@ module RSpotify
|
|
128
128
|
|
129
129
|
super(options)
|
130
130
|
|
131
|
-
@path =
|
132
|
-
|
131
|
+
@path = if @href =~ /\/starred$/
|
132
|
+
"users/#{@owner.instance_variable_get('@id').gsub('?','')}/starred"
|
133
|
+
else
|
134
|
+
"playlists/#{@id}"
|
135
|
+
end
|
133
136
|
end
|
134
137
|
|
135
138
|
# Adds one or more tracks to a playlist in user's Spotify account. This method is only available when the
|
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.12.
|
4
|
+
version: 2.12.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:
|
11
|
+
date: 2024-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|