spotted 0.6.0 → 0.7.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/spotted/models/playlists/image_update_params.rb +3 -3
- data/lib/spotted/resources/playlists/images.rb +1 -1
- data/lib/spotted/version.rb +1 -1
- data/rbi/spotted/models/playlists/image_update_params.rbi +6 -3
- data/rbi/spotted/resources/playlists/images.rbi +1 -1
- data/sig/spotted/models/playlists/image_update_params.rbs +5 -4
- data/sig/spotted/resources/playlists/images.rbs +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: 10cfaba8957c1e8930eb381fd327e70c41da0d114d5f73e0a5fe0b168ef7b244
|
|
4
|
+
data.tar.gz: fac104842ea48c1073368c9ea445b991d72ccffb290d79515ae1fee4445624a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92b9f43db633729708a2d6203177b349cf691f59c40f056dae2f8e2e50e84d27d92006c4cf7173e1db1b6779df1776ffd655485063037372fe7f9a68bca67b99
|
|
7
|
+
data.tar.gz: d125086d85ab467eb38ca68f4ba612e3be5a5756b1b8a83c9b6569b022c32fdca8d84295fdf686ecb183d75cbfa42937d2e72eb9273719c85d073b3c52ee8bd3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.0 (2025-11-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.6.0...v0.7.0](https://github.com/cjavdev/spotted/compare/v0.6.0...v0.7.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([8824e8a](https://github.com/cjavdev/spotted/commit/8824e8a2d1639f467ac438793bc522f0d51575a5))
|
|
10
|
+
|
|
3
11
|
## 0.6.0 (2025-11-07)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.5.0...v0.6.0](https://github.com/cjavdev/spotted/compare/v0.5.0...v0.6.0)
|
data/README.md
CHANGED
|
@@ -11,11 +11,11 @@ module Spotted
|
|
|
11
11
|
# @!attribute body
|
|
12
12
|
# Base64 encoded JPEG image data, maximum payload size is 256 KB.
|
|
13
13
|
#
|
|
14
|
-
# @return [String]
|
|
15
|
-
required :body,
|
|
14
|
+
# @return [Pathname, StringIO, IO, String, Spotted::FilePart]
|
|
15
|
+
required :body, Spotted::Internal::Type::FileInput
|
|
16
16
|
|
|
17
17
|
# @!method initialize(body:, request_options: {})
|
|
18
|
-
# @param body [String] Base64 encoded JPEG image data, maximum payload size is 256 KB.
|
|
18
|
+
# @param body [Pathname, StringIO, IO, String, Spotted::FilePart] Base64 encoded JPEG image data, maximum payload size is 256 KB.
|
|
19
19
|
#
|
|
20
20
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
|
|
21
21
|
end
|
|
@@ -13,7 +13,7 @@ module Spotted
|
|
|
13
13
|
#
|
|
14
14
|
# @param playlist_id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the playli
|
|
15
15
|
#
|
|
16
|
-
# @param body [String] Base64 encoded JPEG image data, maximum payload size is 256 KB.
|
|
16
|
+
# @param body [Pathname, StringIO, IO, String, Spotted::FilePart] Base64 encoded JPEG image data, maximum payload size is 256 KB.
|
|
17
17
|
#
|
|
18
18
|
# @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
19
19
|
#
|
data/lib/spotted/version.rb
CHANGED
|
@@ -16,12 +16,12 @@ module Spotted
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# Base64 encoded JPEG image data, maximum payload size is 256 KB.
|
|
19
|
-
sig { returns(
|
|
19
|
+
sig { returns(Spotted::Internal::FileInput) }
|
|
20
20
|
attr_accessor :body
|
|
21
21
|
|
|
22
22
|
sig do
|
|
23
23
|
params(
|
|
24
|
-
body:
|
|
24
|
+
body: Spotted::Internal::FileInput,
|
|
25
25
|
request_options: Spotted::RequestOptions::OrHash
|
|
26
26
|
).returns(T.attached_class)
|
|
27
27
|
end
|
|
@@ -34,7 +34,10 @@ module Spotted
|
|
|
34
34
|
|
|
35
35
|
sig do
|
|
36
36
|
override.returns(
|
|
37
|
-
{
|
|
37
|
+
{
|
|
38
|
+
body: Spotted::Internal::FileInput,
|
|
39
|
+
request_options: Spotted::RequestOptions
|
|
40
|
+
}
|
|
38
41
|
)
|
|
39
42
|
end
|
|
40
43
|
def to_hash
|
|
@@ -2,21 +2,22 @@ module Spotted
|
|
|
2
2
|
module Models
|
|
3
3
|
module Playlists
|
|
4
4
|
type image_update_params =
|
|
5
|
-
{ body:
|
|
5
|
+
{ body: Spotted::Internal::file_input }
|
|
6
|
+
& Spotted::Internal::Type::request_parameters
|
|
6
7
|
|
|
7
8
|
class ImageUpdateParams < Spotted::Internal::Type::BaseModel
|
|
8
9
|
extend Spotted::Internal::Type::RequestParameters::Converter
|
|
9
10
|
include Spotted::Internal::Type::RequestParameters
|
|
10
11
|
|
|
11
|
-
attr_accessor body:
|
|
12
|
+
attr_accessor body: Spotted::Internal::file_input
|
|
12
13
|
|
|
13
14
|
def initialize: (
|
|
14
|
-
body:
|
|
15
|
+
body: Spotted::Internal::file_input,
|
|
15
16
|
?request_options: Spotted::request_opts
|
|
16
17
|
) -> void
|
|
17
18
|
|
|
18
19
|
def to_hash: -> {
|
|
19
|
-
body:
|
|
20
|
+
body: Spotted::Internal::file_input,
|
|
20
21
|
request_options: Spotted::RequestOptions
|
|
21
22
|
}
|
|
22
23
|
end
|
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.7.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-
|
|
11
|
+
date: 2025-11-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|