spotted 0.26.0 → 0.27.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/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/spotted/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/spotted/models/playlist_update_params.rb +1 -13
- data/lib/spotted/models/playlists/follower_follow_params.rb +1 -12
- data/lib/spotted/models/users/playlist_create_params.rb +1 -15
- data/lib/spotted/resources/playlists/followers.rb +1 -3
- data/lib/spotted/resources/playlists.rb +1 -3
- data/lib/spotted/resources/users/playlists.rb +1 -3
- data/lib/spotted/version.rb +1 -1
- data/rbi/spotted/models/playlist_update_params.rbi +0 -19
- data/rbi/spotted/models/playlists/follower_follow_params.rbi +1 -21
- data/rbi/spotted/models/users/playlist_create_params.rbi +0 -23
- data/rbi/spotted/resources/playlists/followers.rbi +0 -6
- data/rbi/spotted/resources/playlists.rbi +0 -7
- data/rbi/spotted/resources/users/playlists.rbi +0 -9
- data/sig/spotted/models/playlist_update_params.rbs +0 -7
- data/sig/spotted/models/playlists/follower_follow_params.rbs +1 -8
- data/sig/spotted/models/users/playlist_create_params.rbs +0 -7
- data/sig/spotted/resources/playlists/followers.rbs +0 -1
- data/sig/spotted/resources/playlists.rbs +0 -1
- data/sig/spotted/resources/users/playlists.rbs +0 -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: 6644fa77bd967bf629942c161beb6c9f1ba3a5b167173fe9210a1ca201647e29
|
|
4
|
+
data.tar.gz: 2ae6b5928f5d2c4d416d0a62ce25703214b7029773ee56cc201c46c86de517dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6fcf7e2b445817a2f460332ba7f55c55f7444b73949116ff659db35492f8885cc50917fcd34a4f1578c4c56d37ad3f237466b9227cc036c67c9feb586c21b561
|
|
7
|
+
data.tar.gz: beb3b3149d8334dcbe144294b6a7daf4ec75cef7ec1d557c3084cc0eceffe685b83b1bc29d665aaa8a0ff4680c166bad5da1f8761184bc18b4c59bcb3654a6e6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.27.1 (2025-12-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.27.0...v0.27.1](https://github.com/cjavdev/spotted/compare/v0.27.0...v0.27.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* calling `break` out of streams should be instantaneous ([1f41762](https://github.com/cjavdev/spotted/commit/1f417629a0db47e9d46fcf13eaf367d8c2151d96))
|
|
10
|
+
|
|
11
|
+
## 0.27.0 (2025-12-16)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.26.0...v0.27.0](https://github.com/cjavdev/spotted/compare/v0.26.0...v0.27.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** manual updates ([40f5ddf](https://github.com/cjavdev/spotted/commit/40f5ddfac663a126ac2b31e0a606cdc762ea6c8a))
|
|
18
|
+
|
|
3
19
|
## 0.26.0 (2025-12-16)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.25.0...v0.26.0](https://github.com/cjavdev/spotted/compare/v0.25.0...v0.26.0)
|
data/README.md
CHANGED
|
@@ -153,17 +153,19 @@ module Spotted
|
|
|
153
153
|
end
|
|
154
154
|
|
|
155
155
|
self.class.calibrate_socket_timeout(conn, deadline)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
156
|
+
::Kernel.catch(:jump) do
|
|
157
|
+
conn.request(req) do |rsp|
|
|
158
|
+
y << [req, rsp]
|
|
159
|
+
::Kernel.throw(:jump) if finished
|
|
160
|
+
|
|
161
|
+
rsp.read_body do |bytes|
|
|
162
|
+
y << bytes.force_encoding(Encoding::BINARY)
|
|
163
|
+
::Kernel.throw(:jump) if finished
|
|
164
|
+
|
|
165
|
+
self.class.calibrate_socket_timeout(conn, deadline)
|
|
166
|
+
end
|
|
167
|
+
eof = true
|
|
165
168
|
end
|
|
166
|
-
eof = true
|
|
167
169
|
end
|
|
168
170
|
end
|
|
169
171
|
ensure
|
|
@@ -28,16 +28,6 @@ module Spotted
|
|
|
28
28
|
# @return [String, nil]
|
|
29
29
|
optional :name, String
|
|
30
30
|
|
|
31
|
-
# @!attribute public
|
|
32
|
-
# The playlist's public/private status (if it should be added to the user's
|
|
33
|
-
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
34
|
-
# be private, `null` the playlist status is not relevant. For more about
|
|
35
|
-
# public/private status, see
|
|
36
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
37
|
-
#
|
|
38
|
-
# @return [Boolean, nil]
|
|
39
|
-
optional :public, Spotted::Internal::Type::Boolean
|
|
40
|
-
|
|
41
31
|
# @!attribute published
|
|
42
32
|
# The playlist's public/private status (if it should be added to the user's
|
|
43
33
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
@@ -48,7 +38,7 @@ module Spotted
|
|
|
48
38
|
# @return [Boolean, nil]
|
|
49
39
|
optional :published, Spotted::Internal::Type::Boolean
|
|
50
40
|
|
|
51
|
-
# @!method initialize(collaborative: nil, description: nil, name: nil,
|
|
41
|
+
# @!method initialize(collaborative: nil, description: nil, name: nil, published: nil, request_options: {})
|
|
52
42
|
# Some parameter documentations has been truncated, see
|
|
53
43
|
# {Spotted::Models::PlaylistUpdateParams} for more details.
|
|
54
44
|
#
|
|
@@ -58,8 +48,6 @@ module Spotted
|
|
|
58
48
|
#
|
|
59
49
|
# @param name [String] The new name for the playlist, for example `"My New Playlist Title"`
|
|
60
50
|
#
|
|
61
|
-
# @param public [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
62
|
-
#
|
|
63
51
|
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
64
52
|
#
|
|
65
53
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -8,15 +8,6 @@ module Spotted
|
|
|
8
8
|
extend Spotted::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Spotted::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!attribute public
|
|
12
|
-
# Defaults to `true`. If `true` the playlist will be included in user's public
|
|
13
|
-
# playlists (added to profile), if `false` it will remain private. For more about
|
|
14
|
-
# public/private status, see
|
|
15
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
16
|
-
#
|
|
17
|
-
# @return [Boolean, nil]
|
|
18
|
-
optional :public, Spotted::Internal::Type::Boolean
|
|
19
|
-
|
|
20
11
|
# @!attribute published
|
|
21
12
|
# The playlist's public/private status (if it should be added to the user's
|
|
22
13
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
@@ -27,12 +18,10 @@ module Spotted
|
|
|
27
18
|
# @return [Boolean, nil]
|
|
28
19
|
optional :published, Spotted::Internal::Type::Boolean
|
|
29
20
|
|
|
30
|
-
# @!method initialize(
|
|
21
|
+
# @!method initialize(published: nil, request_options: {})
|
|
31
22
|
# Some parameter documentations has been truncated, see
|
|
32
23
|
# {Spotted::Models::Playlists::FollowerFollowParams} for more details.
|
|
33
24
|
#
|
|
34
|
-
# @param public [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
|
|
35
|
-
#
|
|
36
25
|
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
37
26
|
#
|
|
38
27
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -33,18 +33,6 @@ module Spotted
|
|
|
33
33
|
# @return [String, nil]
|
|
34
34
|
optional :description, String
|
|
35
35
|
|
|
36
|
-
# @!attribute public
|
|
37
|
-
# Defaults to `true`. The playlist's public/private status (if it should be added
|
|
38
|
-
# to the user's profile or not): `true` the playlist will be public, `false` the
|
|
39
|
-
# playlist will be private. To be able to create private playlists, the user must
|
|
40
|
-
# have granted the `playlist-modify-private`
|
|
41
|
-
# [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
|
|
42
|
-
# public/private status, see
|
|
43
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
44
|
-
#
|
|
45
|
-
# @return [Boolean, nil]
|
|
46
|
-
optional :public, Spotted::Internal::Type::Boolean
|
|
47
|
-
|
|
48
36
|
# @!attribute published
|
|
49
37
|
# The playlist's public/private status (if it should be added to the user's
|
|
50
38
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
@@ -55,7 +43,7 @@ module Spotted
|
|
|
55
43
|
# @return [Boolean, nil]
|
|
56
44
|
optional :published, Spotted::Internal::Type::Boolean
|
|
57
45
|
|
|
58
|
-
# @!method initialize(name:, collaborative: nil, description: nil,
|
|
46
|
+
# @!method initialize(name:, collaborative: nil, description: nil, published: nil, request_options: {})
|
|
59
47
|
# Some parameter documentations has been truncated, see
|
|
60
48
|
# {Spotted::Models::Users::PlaylistCreateParams} for more details.
|
|
61
49
|
#
|
|
@@ -66,8 +54,6 @@ module Spotted
|
|
|
66
54
|
#
|
|
67
55
|
# @param description [String] value for playlist description as displayed in Spotify Clients and in the Web AP
|
|
68
56
|
#
|
|
69
|
-
# @param public [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
|
|
70
|
-
#
|
|
71
57
|
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
72
58
|
#
|
|
73
59
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -36,12 +36,10 @@ module Spotted
|
|
|
36
36
|
#
|
|
37
37
|
# Add the current user as a follower of a playlist.
|
|
38
38
|
#
|
|
39
|
-
# @overload follow(playlist_id,
|
|
39
|
+
# @overload follow(playlist_id, published: nil, request_options: {})
|
|
40
40
|
#
|
|
41
41
|
# @param playlist_id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the playli
|
|
42
42
|
#
|
|
43
|
-
# @param public [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
|
|
44
|
-
#
|
|
45
43
|
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
46
44
|
#
|
|
47
45
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
@@ -49,7 +49,7 @@ module Spotted
|
|
|
49
49
|
# Change a playlist's name and public/private state. (The user must, of course,
|
|
50
50
|
# own the playlist.)
|
|
51
51
|
#
|
|
52
|
-
# @overload update(playlist_id, collaborative: nil, description: nil, name: nil,
|
|
52
|
+
# @overload update(playlist_id, collaborative: nil, description: nil, name: nil, published: nil, request_options: {})
|
|
53
53
|
#
|
|
54
54
|
# @param playlist_id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the playli
|
|
55
55
|
#
|
|
@@ -59,8 +59,6 @@ module Spotted
|
|
|
59
59
|
#
|
|
60
60
|
# @param name [String] The new name for the playlist, for example `"My New Playlist Title"`
|
|
61
61
|
#
|
|
62
|
-
# @param public [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
63
|
-
#
|
|
64
62
|
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
65
63
|
#
|
|
66
64
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
@@ -11,7 +11,7 @@ module Spotted
|
|
|
11
11
|
# [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each
|
|
12
12
|
# user is generally limited to a maximum of 11000 playlists.
|
|
13
13
|
#
|
|
14
|
-
# @overload create(user_id, name:, collaborative: nil, description: nil,
|
|
14
|
+
# @overload create(user_id, name:, collaborative: nil, description: nil, published: nil, request_options: {})
|
|
15
15
|
#
|
|
16
16
|
# @param user_id [String] The user's [Spotify user ID](/documentation/web-api/concepts/spotify-uris-ids).
|
|
17
17
|
#
|
|
@@ -22,8 +22,6 @@ module Spotted
|
|
|
22
22
|
#
|
|
23
23
|
# @param description [String] value for playlist description as displayed in Spotify Clients and in the Web AP
|
|
24
24
|
#
|
|
25
|
-
# @param public [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
|
|
26
|
-
#
|
|
27
25
|
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
28
26
|
#
|
|
29
27
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
|
data/lib/spotted/version.rb
CHANGED
|
@@ -35,17 +35,6 @@ module Spotted
|
|
|
35
35
|
sig { params(name: String).void }
|
|
36
36
|
attr_writer :name
|
|
37
37
|
|
|
38
|
-
# The playlist's public/private status (if it should be added to the user's
|
|
39
|
-
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
40
|
-
# be private, `null` the playlist status is not relevant. For more about
|
|
41
|
-
# public/private status, see
|
|
42
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
43
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
44
|
-
attr_reader :public
|
|
45
|
-
|
|
46
|
-
sig { params(public: T::Boolean).void }
|
|
47
|
-
attr_writer :public
|
|
48
|
-
|
|
49
38
|
# The playlist's public/private status (if it should be added to the user's
|
|
50
39
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
51
40
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -62,7 +51,6 @@ module Spotted
|
|
|
62
51
|
collaborative: T::Boolean,
|
|
63
52
|
description: String,
|
|
64
53
|
name: String,
|
|
65
|
-
public: T::Boolean,
|
|
66
54
|
published: T::Boolean,
|
|
67
55
|
request_options: Spotted::RequestOptions::OrHash
|
|
68
56
|
).returns(T.attached_class)
|
|
@@ -82,12 +70,6 @@ module Spotted
|
|
|
82
70
|
# be private, `null` the playlist status is not relevant. For more about
|
|
83
71
|
# public/private status, see
|
|
84
72
|
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
85
|
-
public: nil,
|
|
86
|
-
# The playlist's public/private status (if it should be added to the user's
|
|
87
|
-
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
88
|
-
# be private, `null` the playlist status is not relevant. For more about
|
|
89
|
-
# public/private status, see
|
|
90
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
91
73
|
published: nil,
|
|
92
74
|
request_options: {}
|
|
93
75
|
)
|
|
@@ -99,7 +81,6 @@ module Spotted
|
|
|
99
81
|
collaborative: T::Boolean,
|
|
100
82
|
description: String,
|
|
101
83
|
name: String,
|
|
102
|
-
public: T::Boolean,
|
|
103
84
|
published: T::Boolean,
|
|
104
85
|
request_options: Spotted::RequestOptions
|
|
105
86
|
}
|
|
@@ -15,16 +15,6 @@ module Spotted
|
|
|
15
15
|
)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# Defaults to `true`. If `true` the playlist will be included in user's public
|
|
19
|
-
# playlists (added to profile), if `false` it will remain private. For more about
|
|
20
|
-
# public/private status, see
|
|
21
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
22
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
23
|
-
attr_reader :public
|
|
24
|
-
|
|
25
|
-
sig { params(public: T::Boolean).void }
|
|
26
|
-
attr_writer :public
|
|
27
|
-
|
|
28
18
|
# The playlist's public/private status (if it should be added to the user's
|
|
29
19
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
30
20
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -38,17 +28,11 @@ module Spotted
|
|
|
38
28
|
|
|
39
29
|
sig do
|
|
40
30
|
params(
|
|
41
|
-
public: T::Boolean,
|
|
42
31
|
published: T::Boolean,
|
|
43
32
|
request_options: Spotted::RequestOptions::OrHash
|
|
44
33
|
).returns(T.attached_class)
|
|
45
34
|
end
|
|
46
35
|
def self.new(
|
|
47
|
-
# Defaults to `true`. If `true` the playlist will be included in user's public
|
|
48
|
-
# playlists (added to profile), if `false` it will remain private. For more about
|
|
49
|
-
# public/private status, see
|
|
50
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
51
|
-
public: nil,
|
|
52
36
|
# The playlist's public/private status (if it should be added to the user's
|
|
53
37
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
54
38
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -61,11 +45,7 @@ module Spotted
|
|
|
61
45
|
|
|
62
46
|
sig do
|
|
63
47
|
override.returns(
|
|
64
|
-
{
|
|
65
|
-
public: T::Boolean,
|
|
66
|
-
published: T::Boolean,
|
|
67
|
-
request_options: Spotted::RequestOptions
|
|
68
|
-
}
|
|
48
|
+
{ published: T::Boolean, request_options: Spotted::RequestOptions }
|
|
69
49
|
)
|
|
70
50
|
end
|
|
71
51
|
def to_hash
|
|
@@ -40,19 +40,6 @@ module Spotted
|
|
|
40
40
|
sig { params(description: String).void }
|
|
41
41
|
attr_writer :description
|
|
42
42
|
|
|
43
|
-
# Defaults to `true`. The playlist's public/private status (if it should be added
|
|
44
|
-
# to the user's profile or not): `true` the playlist will be public, `false` the
|
|
45
|
-
# playlist will be private. To be able to create private playlists, the user must
|
|
46
|
-
# have granted the `playlist-modify-private`
|
|
47
|
-
# [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
|
|
48
|
-
# public/private status, see
|
|
49
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
50
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
51
|
-
attr_reader :public
|
|
52
|
-
|
|
53
|
-
sig { params(public: T::Boolean).void }
|
|
54
|
-
attr_writer :public
|
|
55
|
-
|
|
56
43
|
# The playlist's public/private status (if it should be added to the user's
|
|
57
44
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
58
45
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -69,7 +56,6 @@ module Spotted
|
|
|
69
56
|
name: String,
|
|
70
57
|
collaborative: T::Boolean,
|
|
71
58
|
description: String,
|
|
72
|
-
public: T::Boolean,
|
|
73
59
|
published: T::Boolean,
|
|
74
60
|
request_options: Spotted::RequestOptions::OrHash
|
|
75
61
|
).returns(T.attached_class)
|
|
@@ -88,14 +74,6 @@ module Spotted
|
|
|
88
74
|
# value for playlist description as displayed in Spotify Clients and in the Web
|
|
89
75
|
# API.
|
|
90
76
|
description: nil,
|
|
91
|
-
# Defaults to `true`. The playlist's public/private status (if it should be added
|
|
92
|
-
# to the user's profile or not): `true` the playlist will be public, `false` the
|
|
93
|
-
# playlist will be private. To be able to create private playlists, the user must
|
|
94
|
-
# have granted the `playlist-modify-private`
|
|
95
|
-
# [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
|
|
96
|
-
# public/private status, see
|
|
97
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
98
|
-
public: nil,
|
|
99
77
|
# The playlist's public/private status (if it should be added to the user's
|
|
100
78
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
101
79
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -112,7 +90,6 @@ module Spotted
|
|
|
112
90
|
name: String,
|
|
113
91
|
collaborative: T::Boolean,
|
|
114
92
|
description: String,
|
|
115
|
-
public: T::Boolean,
|
|
116
93
|
published: T::Boolean,
|
|
117
94
|
request_options: Spotted::RequestOptions
|
|
118
95
|
}
|
|
@@ -28,7 +28,6 @@ module Spotted
|
|
|
28
28
|
sig do
|
|
29
29
|
params(
|
|
30
30
|
playlist_id: String,
|
|
31
|
-
public: T::Boolean,
|
|
32
31
|
published: T::Boolean,
|
|
33
32
|
request_options: Spotted::RequestOptions::OrHash
|
|
34
33
|
).void
|
|
@@ -37,11 +36,6 @@ module Spotted
|
|
|
37
36
|
# The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the
|
|
38
37
|
# playlist.
|
|
39
38
|
playlist_id,
|
|
40
|
-
# Defaults to `true`. If `true` the playlist will be included in user's public
|
|
41
|
-
# playlists (added to profile), if `false` it will remain private. For more about
|
|
42
|
-
# public/private status, see
|
|
43
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
44
|
-
public: nil,
|
|
45
39
|
# The playlist's public/private status (if it should be added to the user's
|
|
46
40
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
47
41
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -66,7 +66,6 @@ module Spotted
|
|
|
66
66
|
collaborative: T::Boolean,
|
|
67
67
|
description: String,
|
|
68
68
|
name: String,
|
|
69
|
-
public: T::Boolean,
|
|
70
69
|
published: T::Boolean,
|
|
71
70
|
request_options: Spotted::RequestOptions::OrHash
|
|
72
71
|
).void
|
|
@@ -89,12 +88,6 @@ module Spotted
|
|
|
89
88
|
# be private, `null` the playlist status is not relevant. For more about
|
|
90
89
|
# public/private status, see
|
|
91
90
|
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
92
|
-
public: nil,
|
|
93
|
-
# The playlist's public/private status (if it should be added to the user's
|
|
94
|
-
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
95
|
-
# be private, `null` the playlist status is not relevant. For more about
|
|
96
|
-
# public/private status, see
|
|
97
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
98
91
|
published: nil,
|
|
99
92
|
request_options: {}
|
|
100
93
|
)
|
|
@@ -13,7 +13,6 @@ module Spotted
|
|
|
13
13
|
name: String,
|
|
14
14
|
collaborative: T::Boolean,
|
|
15
15
|
description: String,
|
|
16
|
-
public: T::Boolean,
|
|
17
16
|
published: T::Boolean,
|
|
18
17
|
request_options: Spotted::RequestOptions::OrHash
|
|
19
18
|
).returns(Spotted::Models::Users::PlaylistCreateResponse)
|
|
@@ -34,14 +33,6 @@ module Spotted
|
|
|
34
33
|
# value for playlist description as displayed in Spotify Clients and in the Web
|
|
35
34
|
# API.
|
|
36
35
|
description: nil,
|
|
37
|
-
# Defaults to `true`. The playlist's public/private status (if it should be added
|
|
38
|
-
# to the user's profile or not): `true` the playlist will be public, `false` the
|
|
39
|
-
# playlist will be private. To be able to create private playlists, the user must
|
|
40
|
-
# have granted the `playlist-modify-private`
|
|
41
|
-
# [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
|
|
42
|
-
# public/private status, see
|
|
43
|
-
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
44
|
-
public: nil,
|
|
45
36
|
# The playlist's public/private status (if it should be added to the user's
|
|
46
37
|
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
47
38
|
# be private, `null` the playlist status is not relevant. For more about
|
|
@@ -5,7 +5,6 @@ module Spotted
|
|
|
5
5
|
collaborative: bool,
|
|
6
6
|
description: String,
|
|
7
7
|
name: String,
|
|
8
|
-
public: bool,
|
|
9
8
|
published: bool
|
|
10
9
|
}
|
|
11
10
|
& Spotted::Internal::Type::request_parameters
|
|
@@ -26,10 +25,6 @@ module Spotted
|
|
|
26
25
|
|
|
27
26
|
def name=: (String) -> String
|
|
28
27
|
|
|
29
|
-
attr_reader public: bool?
|
|
30
|
-
|
|
31
|
-
def public=: (bool) -> bool
|
|
32
|
-
|
|
33
28
|
attr_reader published: bool?
|
|
34
29
|
|
|
35
30
|
def published=: (bool) -> bool
|
|
@@ -38,7 +33,6 @@ module Spotted
|
|
|
38
33
|
?collaborative: bool,
|
|
39
34
|
?description: String,
|
|
40
35
|
?name: String,
|
|
41
|
-
?public: bool,
|
|
42
36
|
?published: bool,
|
|
43
37
|
?request_options: Spotted::request_opts
|
|
44
38
|
) -> void
|
|
@@ -47,7 +41,6 @@ module Spotted
|
|
|
47
41
|
collaborative: bool,
|
|
48
42
|
description: String,
|
|
49
43
|
name: String,
|
|
50
|
-
public: bool,
|
|
51
44
|
published: bool,
|
|
52
45
|
request_options: Spotted::RequestOptions
|
|
53
46
|
}
|
|
@@ -2,29 +2,22 @@ module Spotted
|
|
|
2
2
|
module Models
|
|
3
3
|
module Playlists
|
|
4
4
|
type follower_follow_params =
|
|
5
|
-
{
|
|
6
|
-
& Spotted::Internal::Type::request_parameters
|
|
5
|
+
{ published: bool } & Spotted::Internal::Type::request_parameters
|
|
7
6
|
|
|
8
7
|
class FollowerFollowParams < Spotted::Internal::Type::BaseModel
|
|
9
8
|
extend Spotted::Internal::Type::RequestParameters::Converter
|
|
10
9
|
include Spotted::Internal::Type::RequestParameters
|
|
11
10
|
|
|
12
|
-
attr_reader public: bool?
|
|
13
|
-
|
|
14
|
-
def public=: (bool) -> bool
|
|
15
|
-
|
|
16
11
|
attr_reader published: bool?
|
|
17
12
|
|
|
18
13
|
def published=: (bool) -> bool
|
|
19
14
|
|
|
20
15
|
def initialize: (
|
|
21
|
-
?public: bool,
|
|
22
16
|
?published: bool,
|
|
23
17
|
?request_options: Spotted::request_opts
|
|
24
18
|
) -> void
|
|
25
19
|
|
|
26
20
|
def to_hash: -> {
|
|
27
|
-
public: bool,
|
|
28
21
|
published: bool,
|
|
29
22
|
request_options: Spotted::RequestOptions
|
|
30
23
|
}
|
|
@@ -6,7 +6,6 @@ module Spotted
|
|
|
6
6
|
name: String,
|
|
7
7
|
collaborative: bool,
|
|
8
8
|
description: String,
|
|
9
|
-
public: bool,
|
|
10
9
|
published: bool
|
|
11
10
|
}
|
|
12
11
|
& Spotted::Internal::Type::request_parameters
|
|
@@ -25,10 +24,6 @@ module Spotted
|
|
|
25
24
|
|
|
26
25
|
def description=: (String) -> String
|
|
27
26
|
|
|
28
|
-
attr_reader public: bool?
|
|
29
|
-
|
|
30
|
-
def public=: (bool) -> bool
|
|
31
|
-
|
|
32
27
|
attr_reader published: bool?
|
|
33
28
|
|
|
34
29
|
def published=: (bool) -> bool
|
|
@@ -37,7 +32,6 @@ module Spotted
|
|
|
37
32
|
name: String,
|
|
38
33
|
?collaborative: bool,
|
|
39
34
|
?description: String,
|
|
40
|
-
?public: bool,
|
|
41
35
|
?published: bool,
|
|
42
36
|
?request_options: Spotted::request_opts
|
|
43
37
|
) -> void
|
|
@@ -46,7 +40,6 @@ module Spotted
|
|
|
46
40
|
name: String,
|
|
47
41
|
collaborative: bool,
|
|
48
42
|
description: String,
|
|
49
|
-
public: bool,
|
|
50
43
|
published: bool,
|
|
51
44
|
request_options: Spotted::RequestOptions
|
|
52
45
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spotted
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.27.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Spotted
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|