moonbase-sdk 0.1.0.pre.alpha.3 → 0.1.0.pre.alpha.4

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: 004417c139bdd9c6ec043a9dde658dc67e6f098a32bb3bbef956982695798109
4
- data.tar.gz: 3189fbe40f05177f5f49eddb00826aae96cba29df3c0bad285d5744c19f15b07
3
+ metadata.gz: 7c4ee5091f75fc2e0b820858455221c1a57815a36c1e451d0c73d6e942da8846
4
+ data.tar.gz: 799614052d02ba1afde239d148935bf82d86ec03b0cd4c4c0f57e372a6f1d1bc
5
5
  SHA512:
6
- metadata.gz: aac86c8dc30cefd306f10561ba41657159d832fc5fc787e3cf8b6b7f9e0f98bef0e579d4bee4078c679750efcd3e1aa8a8fa3bd7b8e106c84267a1dd0cafd270
7
- data.tar.gz: 2aff665206729f4260afbef357dab139d53f227b702ea43a19db4cd990d3ff75651873dd3ac28ef1f175d29727c7171f7f900827aa6b9317a10be17e2964a557
6
+ metadata.gz: 19936ae335b3727af597fee5ed0ca24e1097043e4f9406b87ca646450a7e85e7fb0e94ac7ecf12ec0b4599c29c4f0f9c1149cd1ec3efb00f3c948b51b4d58782
7
+ data.tar.gz: 8cfb76bc2bfdb442a385eeef7b7c6b49b04ae7cb7d46dace4a4fca09ce688bf27ff85c2214b7f4349e78082d8f1e800b8ae906567a4b6b4b4ca5f4367805a913
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.4 (2025-09-12)
4
+
5
+ Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/moonbaseai/moonbase-sdk-ruby/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
6
+
7
+ ### Features
8
+
9
+ * Improve examples of API errors ([840de2a](https://github.com/moonbaseai/moonbase-sdk-ruby/commit/840de2a8ea5438cc3f50f31fc13caba3469926a7))
10
+
11
+
12
+ ### Documentation
13
+
14
+ * improve webhook endpoints examples ([c7851fe](https://github.com/moonbaseai/moonbase-sdk-ruby/commit/c7851fe6f336b8892ae016fdc8ac97175a71124f))
15
+
16
+
17
+ ### Refactors
18
+
19
+ * rename ChoiceFieldOption label to name for consistency ([0a9ef9a](https://github.com/moonbaseai/moonbase-sdk-ruby/commit/0a9ef9a75fb619b856d70c68ccb147ef5909b32a))
20
+
3
21
  ## 0.1.0-alpha.3 (2025-09-09)
4
22
 
5
23
  Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/moonbaseai/moonbase-sdk-ruby/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "moonbase-sdk", "~> 0.1.0.pre.alpha.3"
18
+ gem "moonbase-sdk", "~> 0.1.0.pre.alpha.4"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -9,11 +9,11 @@ module Moonbase
9
9
  # @return [String]
10
10
  required :id, String
11
11
 
12
- # @!attribute label
12
+ # @!attribute name
13
13
  # The human-readable text displayed for this option.
14
14
  #
15
15
  # @return [String]
16
- required :label, String
16
+ required :name, String
17
17
 
18
18
  # @!attribute type
19
19
  # String representing the object’s type. Always `choice_field_option` for this
@@ -22,7 +22,7 @@ module Moonbase
22
22
  # @return [Symbol, :choice_field_option]
23
23
  required :type, const: :choice_field_option
24
24
 
25
- # @!method initialize(id:, label:, type: :choice_field_option)
25
+ # @!method initialize(id:, name:, type: :choice_field_option)
26
26
  # Some parameter documentations has been truncated, see
27
27
  # {Moonbase::Models::ChoiceFieldOption} for more details.
28
28
  #
@@ -30,7 +30,7 @@ module Moonbase
30
30
  #
31
31
  # @param id [String] Unique identifier for the option.
32
32
  #
33
- # @param label [String] The human-readable text displayed for this option.
33
+ # @param name [String] The human-readable text displayed for this option.
34
34
  #
35
35
  # @param type [Symbol, :choice_field_option] String representing the object’s type. Always `choice_field_option` for this obj
36
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Moonbase
4
- VERSION = "0.1.0.pre.alpha.3"
4
+ VERSION = "0.1.0.pre.alpha.4"
5
5
  end
@@ -14,7 +14,7 @@ module Moonbase
14
14
 
15
15
  # The human-readable text displayed for this option.
16
16
  sig { returns(String) }
17
- attr_accessor :label
17
+ attr_accessor :name
18
18
 
19
19
  # String representing the object’s type. Always `choice_field_option` for this
20
20
  # object.
@@ -23,22 +23,20 @@ module Moonbase
23
23
 
24
24
  # Represents a single selectable option within a choice field.
25
25
  sig do
26
- params(id: String, label: String, type: Symbol).returns(
27
- T.attached_class
28
- )
26
+ params(id: String, name: String, type: Symbol).returns(T.attached_class)
29
27
  end
30
28
  def self.new(
31
29
  # Unique identifier for the option.
32
30
  id:,
33
31
  # The human-readable text displayed for this option.
34
- label:,
32
+ name:,
35
33
  # String representing the object’s type. Always `choice_field_option` for this
36
34
  # object.
37
35
  type: :choice_field_option
38
36
  )
39
37
  end
40
38
 
41
- sig { override.returns({ id: String, label: String, type: Symbol }) }
39
+ sig { override.returns({ id: String, name: String, type: Symbol }) }
42
40
  def to_hash
43
41
  end
44
42
  end
@@ -1,22 +1,22 @@
1
1
  module Moonbase
2
2
  module Models
3
3
  type choice_field_option =
4
- { id: String, label: String, type: :choice_field_option }
4
+ { id: String, name: String, type: :choice_field_option }
5
5
 
6
6
  class ChoiceFieldOption < Moonbase::Internal::Type::BaseModel
7
7
  attr_accessor id: String
8
8
 
9
- attr_accessor label: String
9
+ attr_accessor name: String
10
10
 
11
11
  attr_accessor type: :choice_field_option
12
12
 
13
13
  def initialize: (
14
14
  id: String,
15
- label: String,
15
+ name: String,
16
16
  ?type: :choice_field_option
17
17
  ) -> void
18
18
 
19
- def to_hash: -> { id: String, label: String, type: :choice_field_option }
19
+ def to_hash: -> { id: String, name: String, type: :choice_field_option }
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonbase-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.3
4
+ version: 0.1.0.pre.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moonbase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-10 00:00:00.000000000 Z
11
+ date: 2025-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool