spotted 0.22.0 → 0.23.0

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
  SHA256:
3
- metadata.gz: a74bc4423cc2feb267c631b9a6d957af7db6a48624f5ae4e901edeea913ba83f
4
- data.tar.gz: bb57f3add641db868d8f960100f4dd53b486c399ea0bd05f1909c741f37442e7
3
+ metadata.gz: a1138121ccfa79692f66773fe3e0c6f80179bd7a70762df35de08a059b317862
4
+ data.tar.gz: 2890fe509ce9429c52a9c34da67ba163c23f591a9dbc44054a7f865e922771b6
5
5
  SHA512:
6
- metadata.gz: 77408f266ee1ebd396870f0d8bd14c34259ac5d9786fafabc2430105072c220be8d472825bdb9e8c0eebd0fd4646db046c1a47e41d2bfc062fa8356577411db8
7
- data.tar.gz: eb0901a5db11f2f03ff99aa87e46a8d82d212497c7d5917ab765128ce86ad193ae7c5ac3d2ff57b9f7fa9ddfcb2a4f4fbfdf19281195538ad972314623e662e8
6
+ metadata.gz: 6030e66bc84ba5b855b717b3860bb6a007ac6d37170e9987ac99cb988bd342e8aff1a6c357d10c0140afb130cac26326dd27064514f6566524b0a1f4fc5c5d55
7
+ data.tar.gz: 3be8f8798a2e56c23d402ab368134dae3c9504cc30bb4252cb66202cf20b7f9b21e816971af03c3aef7a9df2e5277c98eed2ce9baeb448c8c1772c141c123141
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.23.0 (2025-12-10)
4
+
5
+ Full Changelog: [v0.22.0...v0.23.0](https://github.com/cjavdev/spotted/compare/v0.22.0...v0.23.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([73cc113](https://github.com/cjavdev/spotted/commit/73cc1133e87ac01733da5ef30b50817925afec5b))
10
+
3
11
  ## 0.22.0 (2025-12-10)
4
12
 
5
13
  Full Changelog: [v0.21.0...v0.22.0](https://github.com/cjavdev/spotted/compare/v0.21.0...v0.22.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "spotted", "~> 0.22.0"
20
+ gem "spotted", "~> 0.23.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -64,6 +64,15 @@ module Spotted
64
64
  # @return [Spotted::Models::PlaylistRetrieveResponse::Owner, nil]
65
65
  optional :owner, -> { Spotted::Models::PlaylistRetrieveResponse::Owner }
66
66
 
67
+ # @!attribute public
68
+ # The playlist's public/private status (if it is added to the user's profile):
69
+ # `true` the playlist is public, `false` the playlist is private, `null` the
70
+ # playlist status is not relevant. For more about public/private status, see
71
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
72
+ #
73
+ # @return [Boolean, nil]
74
+ optional :public, Spotted::Internal::Type::Boolean
75
+
67
76
  # @!attribute snapshot_id
68
77
  # The version identifier for the current playlist. Can be supplied in other
69
78
  # requests to target a specific playlist version
@@ -90,7 +99,7 @@ module Spotted
90
99
  # @return [String, nil]
91
100
  optional :uri, String
92
101
 
93
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
102
+ # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, public: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
94
103
  # Some parameter documentations has been truncated, see
95
104
  # {Spotted::Models::PlaylistRetrieveResponse} for more details.
96
105
  #
@@ -113,6 +122,8 @@ module Spotted
113
122
  #
114
123
  # @param owner [Spotted::Models::PlaylistRetrieveResponse::Owner] The user who owns the playlist
115
124
  #
125
+ # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
126
+ #
116
127
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
117
128
  #
118
129
  # @param tracks [Spotted::Models::PlaylistRetrieveResponse::Tracks] The tracks of the playlist.
@@ -57,6 +57,15 @@ module Spotted
57
57
  # @return [Spotted::Models::SimplifiedPlaylistObject::Owner, nil]
58
58
  optional :owner, -> { Spotted::SimplifiedPlaylistObject::Owner }
59
59
 
60
+ # @!attribute public
61
+ # The playlist's public/private status (if it is added to the user's profile):
62
+ # `true` the playlist is public, `false` the playlist is private, `null` the
63
+ # playlist status is not relevant. For more about public/private status, see
64
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
65
+ #
66
+ # @return [Boolean, nil]
67
+ optional :public, Spotted::Internal::Type::Boolean
68
+
60
69
  # @!attribute snapshot_id
61
70
  # The version identifier for the current playlist. Can be supplied in other
62
71
  # requests to target a specific playlist version
@@ -86,7 +95,7 @@ module Spotted
86
95
  # @return [String, nil]
87
96
  optional :uri, String
88
97
 
89
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
98
+ # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, public: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
90
99
  # Some parameter documentations has been truncated, see
91
100
  # {Spotted::Models::SimplifiedPlaylistObject} for more details.
92
101
  #
@@ -107,6 +116,8 @@ module Spotted
107
116
  #
108
117
  # @param owner [Spotted::Models::SimplifiedPlaylistObject::Owner] The user who owns the playlist
109
118
  #
119
+ # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
120
+ #
110
121
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
111
122
  #
112
123
  # @param tracks [Spotted::Models::PlaylistTracksRefObject] A collection containing a link ( `href` ) to the Web API endpoint where full det
@@ -65,6 +65,15 @@ module Spotted
65
65
  # @return [Spotted::Models::Users::PlaylistCreateResponse::Owner, nil]
66
66
  optional :owner, -> { Spotted::Models::Users::PlaylistCreateResponse::Owner }
67
67
 
68
+ # @!attribute public
69
+ # The playlist's public/private status (if it is added to the user's profile):
70
+ # `true` the playlist is public, `false` the playlist is private, `null` the
71
+ # playlist status is not relevant. For more about public/private status, see
72
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
73
+ #
74
+ # @return [Boolean, nil]
75
+ optional :public, Spotted::Internal::Type::Boolean
76
+
68
77
  # @!attribute snapshot_id
69
78
  # The version identifier for the current playlist. Can be supplied in other
70
79
  # requests to target a specific playlist version
@@ -91,7 +100,7 @@ module Spotted
91
100
  # @return [String, nil]
92
101
  optional :uri, String
93
102
 
94
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
103
+ # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, public: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
95
104
  # Some parameter documentations has been truncated, see
96
105
  # {Spotted::Models::Users::PlaylistCreateResponse} for more details.
97
106
  #
@@ -114,6 +123,8 @@ module Spotted
114
123
  #
115
124
  # @param owner [Spotted::Models::Users::PlaylistCreateResponse::Owner] The user who owns the playlist
116
125
  #
126
+ # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
127
+ #
117
128
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
118
129
  #
119
130
  # @param tracks [Spotted::Models::Users::PlaylistCreateResponse::Tracks] The tracks of the playlist.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotted
4
- VERSION = "0.22.0"
4
+ VERSION = "0.23.0"
5
5
  end
@@ -83,6 +83,16 @@ module Spotted
83
83
  end
84
84
  attr_writer :owner
85
85
 
86
+ # The playlist's public/private status (if it is added to the user's profile):
87
+ # `true` the playlist is public, `false` the playlist is private, `null` the
88
+ # playlist status is not relevant. For more about public/private status, see
89
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
90
+ sig { returns(T.nilable(T::Boolean)) }
91
+ attr_reader :public
92
+
93
+ sig { params(public: T::Boolean).void }
94
+ attr_writer :public
95
+
86
96
  # The version identifier for the current playlist. Can be supplied in other
87
97
  # requests to target a specific playlist version
88
98
  sig { returns(T.nilable(String)) }
@@ -130,6 +140,7 @@ module Spotted
130
140
  images: T::Array[Spotted::ImageObject::OrHash],
131
141
  name: String,
132
142
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner::OrHash,
143
+ public: T::Boolean,
133
144
  snapshot_id: String,
134
145
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks::OrHash,
135
146
  type: String,
@@ -161,6 +172,11 @@ module Spotted
161
172
  name: nil,
162
173
  # The user who owns the playlist
163
174
  owner: nil,
175
+ # The playlist's public/private status (if it is added to the user's profile):
176
+ # `true` the playlist is public, `false` the playlist is private, `null` the
177
+ # playlist status is not relevant. For more about public/private status, see
178
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
179
+ public: nil,
164
180
  # The version identifier for the current playlist. Can be supplied in other
165
181
  # requests to target a specific playlist version
166
182
  snapshot_id: nil,
@@ -186,6 +202,7 @@ module Spotted
186
202
  images: T::Array[Spotted::ImageObject],
187
203
  name: String,
188
204
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
205
+ public: T::Boolean,
189
206
  snapshot_id: String,
190
207
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
191
208
  type: String,
@@ -72,6 +72,16 @@ module Spotted
72
72
  end
73
73
  attr_writer :owner
74
74
 
75
+ # The playlist's public/private status (if it is added to the user's profile):
76
+ # `true` the playlist is public, `false` the playlist is private, `null` the
77
+ # playlist status is not relevant. For more about public/private status, see
78
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
79
+ sig { returns(T.nilable(T::Boolean)) }
80
+ attr_reader :public
81
+
82
+ sig { params(public: T::Boolean).void }
83
+ attr_writer :public
84
+
75
85
  # The version identifier for the current playlist. Can be supplied in other
76
86
  # requests to target a specific playlist version
77
87
  sig { returns(T.nilable(String)) }
@@ -115,6 +125,7 @@ module Spotted
115
125
  images: T::Array[Spotted::ImageObject::OrHash],
116
126
  name: String,
117
127
  owner: Spotted::SimplifiedPlaylistObject::Owner::OrHash,
128
+ public: T::Boolean,
118
129
  snapshot_id: String,
119
130
  tracks: Spotted::PlaylistTracksRefObject::OrHash,
120
131
  type: String,
@@ -144,6 +155,11 @@ module Spotted
144
155
  name: nil,
145
156
  # The user who owns the playlist
146
157
  owner: nil,
158
+ # The playlist's public/private status (if it is added to the user's profile):
159
+ # `true` the playlist is public, `false` the playlist is private, `null` the
160
+ # playlist status is not relevant. For more about public/private status, see
161
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
162
+ public: nil,
147
163
  # The version identifier for the current playlist. Can be supplied in other
148
164
  # requests to target a specific playlist version
149
165
  snapshot_id: nil,
@@ -171,6 +187,7 @@ module Spotted
171
187
  images: T::Array[Spotted::ImageObject],
172
188
  name: String,
173
189
  owner: Spotted::SimplifiedPlaylistObject::Owner,
190
+ public: T::Boolean,
174
191
  snapshot_id: String,
175
192
  tracks: Spotted::PlaylistTracksRefObject,
176
193
  type: String,
@@ -86,6 +86,16 @@ module Spotted
86
86
  end
87
87
  attr_writer :owner
88
88
 
89
+ # The playlist's public/private status (if it is added to the user's profile):
90
+ # `true` the playlist is public, `false` the playlist is private, `null` the
91
+ # playlist status is not relevant. For more about public/private status, see
92
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
93
+ sig { returns(T.nilable(T::Boolean)) }
94
+ attr_reader :public
95
+
96
+ sig { params(public: T::Boolean).void }
97
+ attr_writer :public
98
+
89
99
  # The version identifier for the current playlist. Can be supplied in other
90
100
  # requests to target a specific playlist version
91
101
  sig { returns(T.nilable(String)) }
@@ -137,6 +147,7 @@ module Spotted
137
147
  name: String,
138
148
  owner:
139
149
  Spotted::Models::Users::PlaylistCreateResponse::Owner::OrHash,
150
+ public: T::Boolean,
140
151
  snapshot_id: String,
141
152
  tracks:
142
153
  Spotted::Models::Users::PlaylistCreateResponse::Tracks::OrHash,
@@ -169,6 +180,11 @@ module Spotted
169
180
  name: nil,
170
181
  # The user who owns the playlist
171
182
  owner: nil,
183
+ # The playlist's public/private status (if it is added to the user's profile):
184
+ # `true` the playlist is public, `false` the playlist is private, `null` the
185
+ # playlist status is not relevant. For more about public/private status, see
186
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
187
+ public: nil,
172
188
  # The version identifier for the current playlist. Can be supplied in other
173
189
  # requests to target a specific playlist version
174
190
  snapshot_id: nil,
@@ -194,6 +210,7 @@ module Spotted
194
210
  images: T::Array[Spotted::ImageObject],
195
211
  name: String,
196
212
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
213
+ public: T::Boolean,
197
214
  snapshot_id: String,
198
215
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
199
216
  type: String,
@@ -11,6 +11,7 @@ module Spotted
11
11
  images: ::Array[Spotted::ImageObject],
12
12
  name: String,
13
13
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
14
+ public: bool,
14
15
  snapshot_id: String,
15
16
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
16
17
  type: String,
@@ -58,6 +59,10 @@ module Spotted
58
59
  Spotted::Models::PlaylistRetrieveResponse::Owner
59
60
  ) -> Spotted::Models::PlaylistRetrieveResponse::Owner
60
61
 
62
+ attr_reader public: bool?
63
+
64
+ def public=: (bool) -> bool
65
+
61
66
  attr_reader snapshot_id: String?
62
67
 
63
68
  def snapshot_id=: (String) -> String
@@ -86,6 +91,7 @@ module Spotted
86
91
  ?images: ::Array[Spotted::ImageObject],
87
92
  ?name: String,
88
93
  ?owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
94
+ ?public: bool,
89
95
  ?snapshot_id: String,
90
96
  ?tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
91
97
  ?type: String,
@@ -102,6 +108,7 @@ module Spotted
102
108
  images: ::Array[Spotted::ImageObject],
103
109
  name: String,
104
110
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
111
+ public: bool,
105
112
  snapshot_id: String,
106
113
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
107
114
  type: String,
@@ -10,6 +10,7 @@ module Spotted
10
10
  images: ::Array[Spotted::ImageObject],
11
11
  name: String,
12
12
  owner: Spotted::SimplifiedPlaylistObject::Owner,
13
+ public: bool,
13
14
  snapshot_id: String,
14
15
  tracks: Spotted::PlaylistTracksRefObject,
15
16
  type: String,
@@ -55,6 +56,10 @@ module Spotted
55
56
  Spotted::SimplifiedPlaylistObject::Owner
56
57
  ) -> Spotted::SimplifiedPlaylistObject::Owner
57
58
 
59
+ attr_reader public: bool?
60
+
61
+ def public=: (bool) -> bool
62
+
58
63
  attr_reader snapshot_id: String?
59
64
 
60
65
  def snapshot_id=: (String) -> String
@@ -82,6 +87,7 @@ module Spotted
82
87
  ?images: ::Array[Spotted::ImageObject],
83
88
  ?name: String,
84
89
  ?owner: Spotted::SimplifiedPlaylistObject::Owner,
90
+ ?public: bool,
85
91
  ?snapshot_id: String,
86
92
  ?tracks: Spotted::PlaylistTracksRefObject,
87
93
  ?type: String,
@@ -97,6 +103,7 @@ module Spotted
97
103
  images: ::Array[Spotted::ImageObject],
98
104
  name: String,
99
105
  owner: Spotted::SimplifiedPlaylistObject::Owner,
106
+ public: bool,
100
107
  snapshot_id: String,
101
108
  tracks: Spotted::PlaylistTracksRefObject,
102
109
  type: String,
@@ -12,6 +12,7 @@ module Spotted
12
12
  images: ::Array[Spotted::ImageObject],
13
13
  name: String,
14
14
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
15
+ public: bool,
15
16
  snapshot_id: String,
16
17
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
17
18
  type: String,
@@ -59,6 +60,10 @@ module Spotted
59
60
  Spotted::Models::Users::PlaylistCreateResponse::Owner
60
61
  ) -> Spotted::Models::Users::PlaylistCreateResponse::Owner
61
62
 
63
+ attr_reader public: bool?
64
+
65
+ def public=: (bool) -> bool
66
+
62
67
  attr_reader snapshot_id: String?
63
68
 
64
69
  def snapshot_id=: (String) -> String
@@ -87,6 +92,7 @@ module Spotted
87
92
  ?images: ::Array[Spotted::ImageObject],
88
93
  ?name: String,
89
94
  ?owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
95
+ ?public: bool,
90
96
  ?snapshot_id: String,
91
97
  ?tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
92
98
  ?type: String,
@@ -103,6 +109,7 @@ module Spotted
103
109
  images: ::Array[Spotted::ImageObject],
104
110
  name: String,
105
111
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
112
+ public: bool,
106
113
  snapshot_id: String,
107
114
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
108
115
  type: String,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotted
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spotted