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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 723ec8e22c6c14d0cb4bda97e14ad0e5c6536ccafb0cdfb186ed087069524158
4
- data.tar.gz: 8c66a7363419c3f3638e70c8623582e5d38383041e7a11bd9ff0c587b5753948
3
+ metadata.gz: 10cfaba8957c1e8930eb381fd327e70c41da0d114d5f73e0a5fe0b168ef7b244
4
+ data.tar.gz: fac104842ea48c1073368c9ea445b991d72ccffb290d79515ae1fee4445624a1
5
5
  SHA512:
6
- metadata.gz: 55a9e547fc79b6b28c3a9d668104c4c2b0683e683f110890d3b76190954538d5ac81238703446ef0f810d53a930596dd51f3a4978173b107de77e2ce6f1d00ad
7
- data.tar.gz: 90c914e72f57c59be8c66ea5fc11173a9c9fcb317f4a97c5ce184d53419dd3ffcb3827e3028eabd0d2e25b66a1be7a9d839f7863b2ee660a246b3bc5f4148ddd
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
@@ -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.6.0"
20
+ gem "spotted", "~> 0.7.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -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, String
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
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotted
4
- VERSION = "0.6.0"
4
+ VERSION = "0.7.0"
5
5
  end
@@ -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(String) }
19
+ sig { returns(Spotted::Internal::FileInput) }
20
20
  attr_accessor :body
21
21
 
22
22
  sig do
23
23
  params(
24
- body: String,
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
- { body: String, request_options: Spotted::RequestOptions }
37
+ {
38
+ body: Spotted::Internal::FileInput,
39
+ request_options: Spotted::RequestOptions
40
+ }
38
41
  )
39
42
  end
40
43
  def to_hash
@@ -8,7 +8,7 @@ module Spotted
8
8
  sig do
9
9
  params(
10
10
  playlist_id: String,
11
- body: String,
11
+ body: Spotted::Internal::FileInput,
12
12
  request_options: Spotted::RequestOptions::OrHash
13
13
  ).void
14
14
  end
@@ -2,21 +2,22 @@ module Spotted
2
2
  module Models
3
3
  module Playlists
4
4
  type image_update_params =
5
- { body: String } & Spotted::Internal::Type::request_parameters
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: String
12
+ attr_accessor body: Spotted::Internal::file_input
12
13
 
13
14
  def initialize: (
14
- body: String,
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: String,
20
+ body: Spotted::Internal::file_input,
20
21
  request_options: Spotted::RequestOptions
21
22
  }
22
23
  end
@@ -4,7 +4,7 @@ module Spotted
4
4
  class Images
5
5
  def update: (
6
6
  String playlist_id,
7
- body: String,
7
+ body: Spotted::Internal::file_input,
8
8
  ?request_options: Spotted::request_opts
9
9
  ) -> nil
10
10
 
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.6.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-07 00:00:00.000000000 Z
11
+ date: 2025-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool