spotted 0.19.0 → 0.21.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: '0449dc6b055c04502d4a3fb704bc96fc2e93dba0931c0c51025fe971af40b608'
4
- data.tar.gz: 9ae3d090cca364ff981b241b2b23cfe81776a6c8d6e1449c9c34728d08164c1e
3
+ metadata.gz: 90ba6d26f76198d8a8f8bc34baac89becfcd93f7f06c1a3a94a6ec0b78b77fd4
4
+ data.tar.gz: 8d188bac70704fab426d6f9df8944000b7dfc4dcbf7a1ee723d2d8ad9de08206
5
5
  SHA512:
6
- metadata.gz: 420b87c2f284f15cec3bf72d6d9cf9e6622bf05eea637b0c5285bcbe459a5f33e409039de227653b1f4a829a4b67713a6633322f6b76f65f1d983c0e3ca5a580
7
- data.tar.gz: b86fcbb0c968be948f189268b2f6da130056f9ec81e3398d21d4ecd44ccedce11ba04a6d9311fa7180dabce545d59c26cda9acfc52c515b793a57bb19a0bc956
6
+ metadata.gz: a3a0f8c90e355fbfbb41b7ee3312ae2a573337d56b6c2cefb3c172ead9d40c45a5bc29466b921a89ea5270c81290d37b17dc631d6ddcaaeab944a3d4088cc19a
7
+ data.tar.gz: 0efb3ffd59388de5bb31e5b4e5fb9219e5b940f227e7c1ab3f14061c379b1dfffd3fecc894b5017a86f9ae44486a517a1721b0f192caf6329039d899677ba139
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.0 (2025-12-10)
4
+
5
+ Full Changelog: [v0.20.0...v0.21.0](https://github.com/cjavdev/spotted/compare/v0.20.0...v0.21.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([7705ea3](https://github.com/cjavdev/spotted/commit/7705ea3c0591ba81704b84a09958910a3ce7f61a))
10
+
11
+ ## 0.20.0 (2025-12-05)
12
+
13
+ Full Changelog: [v0.19.0...v0.20.0](https://github.com/cjavdev/spotted/compare/v0.19.0...v0.20.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** Update readme titles. ([3382d87](https://github.com/cjavdev/spotted/commit/3382d87d9831a1dee4d35b19e7da9fbae1acba38))
18
+
3
19
  ## 0.19.0 (2025-11-26)
4
20
 
5
21
  Full Changelog: [v0.18.0...v0.19.0](https://github.com/cjavdev/spotted/compare/v0.18.0...v0.19.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Spotted Ruby API library
1
+ # Unofficial Spotify API library
2
2
 
3
- The Spotted Ruby library provides convenient access to the Spotify API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/cjavdev/spotted#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
3
+ The Unofficial Spotify library provides convenient access to the Spotify Web API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/cjavdev/spotted#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
4
4
 
5
5
  It is generated with [Stainless](https://www.stainless.com/).
6
6
 
@@ -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.19.0"
20
+ gem "spotted", "~> 0.21.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -64,14 +64,14 @@ module Spotted
64
64
  # @return [Spotted::Models::PlaylistRetrieveResponse::Owner, nil]
65
65
  optional :owner, -> { Spotted::Models::PlaylistRetrieveResponse::Owner }
66
66
 
67
- # @!attribute published
67
+ # @!attribute public
68
68
  # The playlist's public/private status (if it is added to the user's profile):
69
69
  # `true` the playlist is public, `false` the playlist is private, `null` the
70
70
  # playlist status is not relevant. For more about public/private status, see
71
71
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
72
72
  #
73
73
  # @return [Boolean, nil]
74
- optional :published, Spotted::Internal::Type::Boolean
74
+ optional :public, Spotted::Internal::Type::Boolean
75
75
 
76
76
  # @!attribute snapshot_id
77
77
  # The version identifier for the current playlist. Can be supplied in other
@@ -99,7 +99,7 @@ module Spotted
99
99
  # @return [String, nil]
100
100
  optional :uri, String
101
101
 
102
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, published: 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)
103
103
  # Some parameter documentations has been truncated, see
104
104
  # {Spotted::Models::PlaylistRetrieveResponse} for more details.
105
105
  #
@@ -122,7 +122,7 @@ module Spotted
122
122
  #
123
123
  # @param owner [Spotted::Models::PlaylistRetrieveResponse::Owner] The user who owns the playlist
124
124
  #
125
- # @param published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
125
+ # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
126
126
  #
127
127
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
128
128
  #
@@ -57,14 +57,14 @@ module Spotted
57
57
  # @return [Spotted::Models::SimplifiedPlaylistObject::Owner, nil]
58
58
  optional :owner, -> { Spotted::SimplifiedPlaylistObject::Owner }
59
59
 
60
- # @!attribute published
60
+ # @!attribute public
61
61
  # The playlist's public/private status (if it is added to the user's profile):
62
62
  # `true` the playlist is public, `false` the playlist is private, `null` the
63
63
  # playlist status is not relevant. For more about public/private status, see
64
64
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
65
65
  #
66
66
  # @return [Boolean, nil]
67
- optional :published, Spotted::Internal::Type::Boolean
67
+ optional :public, Spotted::Internal::Type::Boolean
68
68
 
69
69
  # @!attribute snapshot_id
70
70
  # The version identifier for the current playlist. Can be supplied in other
@@ -95,7 +95,7 @@ module Spotted
95
95
  # @return [String, nil]
96
96
  optional :uri, String
97
97
 
98
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, published: 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)
99
99
  # Some parameter documentations has been truncated, see
100
100
  # {Spotted::Models::SimplifiedPlaylistObject} for more details.
101
101
  #
@@ -116,7 +116,7 @@ module Spotted
116
116
  #
117
117
  # @param owner [Spotted::Models::SimplifiedPlaylistObject::Owner] The user who owns the playlist
118
118
  #
119
- # @param published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
119
+ # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
120
120
  #
121
121
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
122
122
  #
@@ -65,14 +65,14 @@ module Spotted
65
65
  # @return [Spotted::Models::Users::PlaylistCreateResponse::Owner, nil]
66
66
  optional :owner, -> { Spotted::Models::Users::PlaylistCreateResponse::Owner }
67
67
 
68
- # @!attribute published
68
+ # @!attribute public
69
69
  # The playlist's public/private status (if it is added to the user's profile):
70
70
  # `true` the playlist is public, `false` the playlist is private, `null` the
71
71
  # playlist status is not relevant. For more about public/private status, see
72
72
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
73
73
  #
74
74
  # @return [Boolean, nil]
75
- optional :published, Spotted::Internal::Type::Boolean
75
+ optional :public, Spotted::Internal::Type::Boolean
76
76
 
77
77
  # @!attribute snapshot_id
78
78
  # The version identifier for the current playlist. Can be supplied in other
@@ -100,7 +100,7 @@ module Spotted
100
100
  # @return [String, nil]
101
101
  optional :uri, String
102
102
 
103
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, published: 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)
104
104
  # Some parameter documentations has been truncated, see
105
105
  # {Spotted::Models::Users::PlaylistCreateResponse} for more details.
106
106
  #
@@ -123,7 +123,7 @@ module Spotted
123
123
  #
124
124
  # @param owner [Spotted::Models::Users::PlaylistCreateResponse::Owner] The user who owns the playlist
125
125
  #
126
- # @param published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
126
+ # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
127
127
  #
128
128
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
129
129
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotted
4
- VERSION = "0.19.0"
4
+ VERSION = "0.21.0"
5
5
  end
@@ -88,10 +88,10 @@ module Spotted
88
88
  # playlist status is not relevant. For more about public/private status, see
89
89
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
90
90
  sig { returns(T.nilable(T::Boolean)) }
91
- attr_reader :published
91
+ attr_reader :public
92
92
 
93
- sig { params(published: T::Boolean).void }
94
- attr_writer :published
93
+ sig { params(public: T::Boolean).void }
94
+ attr_writer :public
95
95
 
96
96
  # The version identifier for the current playlist. Can be supplied in other
97
97
  # requests to target a specific playlist version
@@ -140,7 +140,7 @@ module Spotted
140
140
  images: T::Array[Spotted::ImageObject::OrHash],
141
141
  name: String,
142
142
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner::OrHash,
143
- published: T::Boolean,
143
+ public: T::Boolean,
144
144
  snapshot_id: String,
145
145
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks::OrHash,
146
146
  type: String,
@@ -176,7 +176,7 @@ module Spotted
176
176
  # `true` the playlist is public, `false` the playlist is private, `null` the
177
177
  # playlist status is not relevant. For more about public/private status, see
178
178
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
179
- published: nil,
179
+ public: nil,
180
180
  # The version identifier for the current playlist. Can be supplied in other
181
181
  # requests to target a specific playlist version
182
182
  snapshot_id: nil,
@@ -202,7 +202,7 @@ module Spotted
202
202
  images: T::Array[Spotted::ImageObject],
203
203
  name: String,
204
204
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
205
- published: T::Boolean,
205
+ public: T::Boolean,
206
206
  snapshot_id: String,
207
207
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
208
208
  type: String,
@@ -77,10 +77,10 @@ module Spotted
77
77
  # playlist status is not relevant. For more about public/private status, see
78
78
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
79
79
  sig { returns(T.nilable(T::Boolean)) }
80
- attr_reader :published
80
+ attr_reader :public
81
81
 
82
- sig { params(published: T::Boolean).void }
83
- attr_writer :published
82
+ sig { params(public: T::Boolean).void }
83
+ attr_writer :public
84
84
 
85
85
  # The version identifier for the current playlist. Can be supplied in other
86
86
  # requests to target a specific playlist version
@@ -125,7 +125,7 @@ module Spotted
125
125
  images: T::Array[Spotted::ImageObject::OrHash],
126
126
  name: String,
127
127
  owner: Spotted::SimplifiedPlaylistObject::Owner::OrHash,
128
- published: T::Boolean,
128
+ public: T::Boolean,
129
129
  snapshot_id: String,
130
130
  tracks: Spotted::PlaylistTracksRefObject::OrHash,
131
131
  type: String,
@@ -159,7 +159,7 @@ module Spotted
159
159
  # `true` the playlist is public, `false` the playlist is private, `null` the
160
160
  # playlist status is not relevant. For more about public/private status, see
161
161
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
162
- published: nil,
162
+ public: nil,
163
163
  # The version identifier for the current playlist. Can be supplied in other
164
164
  # requests to target a specific playlist version
165
165
  snapshot_id: nil,
@@ -187,7 +187,7 @@ module Spotted
187
187
  images: T::Array[Spotted::ImageObject],
188
188
  name: String,
189
189
  owner: Spotted::SimplifiedPlaylistObject::Owner,
190
- published: T::Boolean,
190
+ public: T::Boolean,
191
191
  snapshot_id: String,
192
192
  tracks: Spotted::PlaylistTracksRefObject,
193
193
  type: String,
@@ -91,10 +91,10 @@ module Spotted
91
91
  # playlist status is not relevant. For more about public/private status, see
92
92
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
93
93
  sig { returns(T.nilable(T::Boolean)) }
94
- attr_reader :published
94
+ attr_reader :public
95
95
 
96
- sig { params(published: T::Boolean).void }
97
- attr_writer :published
96
+ sig { params(public: T::Boolean).void }
97
+ attr_writer :public
98
98
 
99
99
  # The version identifier for the current playlist. Can be supplied in other
100
100
  # requests to target a specific playlist version
@@ -147,7 +147,7 @@ module Spotted
147
147
  name: String,
148
148
  owner:
149
149
  Spotted::Models::Users::PlaylistCreateResponse::Owner::OrHash,
150
- published: T::Boolean,
150
+ public: T::Boolean,
151
151
  snapshot_id: String,
152
152
  tracks:
153
153
  Spotted::Models::Users::PlaylistCreateResponse::Tracks::OrHash,
@@ -184,7 +184,7 @@ module Spotted
184
184
  # `true` the playlist is public, `false` the playlist is private, `null` the
185
185
  # playlist status is not relevant. For more about public/private status, see
186
186
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
187
- published: nil,
187
+ public: nil,
188
188
  # The version identifier for the current playlist. Can be supplied in other
189
189
  # requests to target a specific playlist version
190
190
  snapshot_id: nil,
@@ -210,7 +210,7 @@ module Spotted
210
210
  images: T::Array[Spotted::ImageObject],
211
211
  name: String,
212
212
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
213
- published: T::Boolean,
213
+ public: T::Boolean,
214
214
  snapshot_id: String,
215
215
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
216
216
  type: String,
@@ -11,7 +11,7 @@ module Spotted
11
11
  images: ::Array[Spotted::ImageObject],
12
12
  name: String,
13
13
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
14
- published: bool,
14
+ public: bool,
15
15
  snapshot_id: String,
16
16
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
17
17
  type: String,
@@ -59,9 +59,9 @@ module Spotted
59
59
  Spotted::Models::PlaylistRetrieveResponse::Owner
60
60
  ) -> Spotted::Models::PlaylistRetrieveResponse::Owner
61
61
 
62
- attr_reader published: bool?
62
+ attr_reader public: bool?
63
63
 
64
- def published=: (bool) -> bool
64
+ def public=: (bool) -> bool
65
65
 
66
66
  attr_reader snapshot_id: String?
67
67
 
@@ -91,7 +91,7 @@ module Spotted
91
91
  ?images: ::Array[Spotted::ImageObject],
92
92
  ?name: String,
93
93
  ?owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
94
- ?published: bool,
94
+ ?public: bool,
95
95
  ?snapshot_id: String,
96
96
  ?tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
97
97
  ?type: String,
@@ -108,7 +108,7 @@ module Spotted
108
108
  images: ::Array[Spotted::ImageObject],
109
109
  name: String,
110
110
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
111
- published: bool,
111
+ public: bool,
112
112
  snapshot_id: String,
113
113
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
114
114
  type: String,
@@ -10,7 +10,7 @@ module Spotted
10
10
  images: ::Array[Spotted::ImageObject],
11
11
  name: String,
12
12
  owner: Spotted::SimplifiedPlaylistObject::Owner,
13
- published: bool,
13
+ public: bool,
14
14
  snapshot_id: String,
15
15
  tracks: Spotted::PlaylistTracksRefObject,
16
16
  type: String,
@@ -56,9 +56,9 @@ module Spotted
56
56
  Spotted::SimplifiedPlaylistObject::Owner
57
57
  ) -> Spotted::SimplifiedPlaylistObject::Owner
58
58
 
59
- attr_reader published: bool?
59
+ attr_reader public: bool?
60
60
 
61
- def published=: (bool) -> bool
61
+ def public=: (bool) -> bool
62
62
 
63
63
  attr_reader snapshot_id: String?
64
64
 
@@ -87,7 +87,7 @@ module Spotted
87
87
  ?images: ::Array[Spotted::ImageObject],
88
88
  ?name: String,
89
89
  ?owner: Spotted::SimplifiedPlaylistObject::Owner,
90
- ?published: bool,
90
+ ?public: bool,
91
91
  ?snapshot_id: String,
92
92
  ?tracks: Spotted::PlaylistTracksRefObject,
93
93
  ?type: String,
@@ -103,7 +103,7 @@ module Spotted
103
103
  images: ::Array[Spotted::ImageObject],
104
104
  name: String,
105
105
  owner: Spotted::SimplifiedPlaylistObject::Owner,
106
- published: bool,
106
+ public: bool,
107
107
  snapshot_id: String,
108
108
  tracks: Spotted::PlaylistTracksRefObject,
109
109
  type: String,
@@ -12,7 +12,7 @@ module Spotted
12
12
  images: ::Array[Spotted::ImageObject],
13
13
  name: String,
14
14
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
15
- published: bool,
15
+ public: bool,
16
16
  snapshot_id: String,
17
17
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
18
18
  type: String,
@@ -60,9 +60,9 @@ module Spotted
60
60
  Spotted::Models::Users::PlaylistCreateResponse::Owner
61
61
  ) -> Spotted::Models::Users::PlaylistCreateResponse::Owner
62
62
 
63
- attr_reader published: bool?
63
+ attr_reader public: bool?
64
64
 
65
- def published=: (bool) -> bool
65
+ def public=: (bool) -> bool
66
66
 
67
67
  attr_reader snapshot_id: String?
68
68
 
@@ -92,7 +92,7 @@ module Spotted
92
92
  ?images: ::Array[Spotted::ImageObject],
93
93
  ?name: String,
94
94
  ?owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
95
- ?published: bool,
95
+ ?public: bool,
96
96
  ?snapshot_id: String,
97
97
  ?tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
98
98
  ?type: String,
@@ -109,7 +109,7 @@ module Spotted
109
109
  images: ::Array[Spotted::ImageObject],
110
110
  name: String,
111
111
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
112
- published: bool,
112
+ public: bool,
113
113
  snapshot_id: String,
114
114
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
115
115
  type: String,
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.19.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spotted
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-26 00:00:00.000000000 Z
11
+ date: 2025-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool