nextbillionai 0.1.0.pre.alpha.4 → 0.1.0.pre.alpha.5

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: 233baef30082a8fa88ad62338f2ad878c880b684da4e50fbd914fa83c1616acb
4
- data.tar.gz: ccbfc62bae7f209cd503f2097a23b9e4978cdb7b97caaf3c888e2b698b495929
3
+ metadata.gz: 6749bc60cf4ceb78826c640908da8ec9dfafcde656521c3a14fd8efa37dc1d87
4
+ data.tar.gz: 6b257122c607d6e902e34eb7bef88964145a99bec6988fa324faeed87a73b9bc
5
5
  SHA512:
6
- metadata.gz: c43f1150522d66e2a44a875cebd97b9685d9bbb6404f0b8ddab62a4cb8c033555da47f70df5ca7646a756cd5aa70e8ca67b20dd93d332faf6bb065f6389c2d00
7
- data.tar.gz: 2aa163fb399113d89797cbee102ef14adb44ea6bc230e0e3cb2c53b3623ecbb9f3cff236a7a1a408b211234a6f063e6e43d2bb05c6ed82cfb203b3767ea92936
6
+ metadata.gz: c1e7eea8fa0dd08c745e5bdf98b6b3ac6f2965eaea288729c9862258abfc353e058eebf489c7fa5d72ee16c837162cd130ce4d937d6511b0371b8f9e9ef51123
7
+ data.tar.gz: 8465b5b9453520026fd79fba09e3e4b148dc1782540428dd5bd1e842bdc893f3170f1c956f3ed363d94186e03ea31777b0b7a5b7c7ed6f8f31a47246bfd9baff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.5 (2025-08-01)
4
+
5
+ Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/nextbillion-ai/nextbillion-sdk-ruby/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([00200c4](https://github.com/nextbillion-ai/nextbillion-sdk-ruby/commit/00200c44462ccfa224ea09c654136dbb57a008de))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * List<List> problem in java by naming dto.Event ([809a0a1](https://github.com/nextbillion-ai/nextbillion-sdk-ruby/commit/809a0a1feda028b874e0b1220f33bb4593688aa2))
15
+
16
+
17
+ ### Chores
18
+
19
+ * **internal:** increase visibility of internal helper method ([e238599](https://github.com/nextbillion-ai/nextbillion-sdk-ruby/commit/e23859972996f44b782c91856e9b3d6576310838))
20
+
3
21
  ## 0.1.0-alpha.4 (2025-07-30)
4
22
 
5
23
  Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/nextbillion-ai/nextbillion-sdk-ruby/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
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 "nextbillionai", "~> 0.1.0.pre.alpha.4"
20
+ gem "nextbillionai", "~> 0.1.0.pre.alpha.5"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -34,7 +34,7 @@ nextbillion_sdk = Nextbillionai::Client.new(
34
34
 
35
35
  response = nextbillion_sdk.directions.compute_route(
36
36
  destination: "1.335368,103.785517",
37
- origin: "1.312164,103.841062"
37
+ origin: "1.312164,103.841063"
38
38
  )
39
39
 
40
40
  puts(response.msg)
@@ -48,7 +48,7 @@ When the library is unable to connect to the API, or if the API returns a non-su
48
48
  begin
49
49
  direction = nextbillion_sdk.directions.compute_route(
50
50
  destination: "1.335368,103.785517",
51
- origin: "1.312164,103.841062"
51
+ origin: "1.312164,103.841063"
52
52
  )
53
53
  rescue Nextbillionai::Errors::APIConnectionError => e
54
54
  puts("The server could not be reached")
@@ -94,7 +94,7 @@ nextbillion_sdk = Nextbillionai::Client.new(
94
94
  # Or, configure per-request:
95
95
  nextbillion_sdk.directions.compute_route(
96
96
  destination: "1.335368,103.785517",
97
- origin: "1.312164,103.841062",
97
+ origin: "1.312164,103.841063",
98
98
  request_options: {max_retries: 5}
99
99
  )
100
100
  ```
@@ -112,7 +112,7 @@ nextbillion_sdk = Nextbillionai::Client.new(
112
112
  # Or, configure per-request:
113
113
  nextbillion_sdk.directions.compute_route(
114
114
  destination: "1.335368,103.785517",
115
- origin: "1.312164,103.841062",
115
+ origin: "1.312164,103.841063",
116
116
  request_options: {timeout: 5}
117
117
  )
118
118
  ```
@@ -147,7 +147,7 @@ Note: the `extra_` parameters of the same name overrides the documented paramete
147
147
  response =
148
148
  nextbillion_sdk.directions.compute_route(
149
149
  destination: "1.335368,103.785517",
150
- origin: "1.312164,103.841062",
150
+ origin: "1.312164,103.841063",
151
151
  request_options: {
152
152
  extra_query: {my_query_parameter: value},
153
153
  extra_body: {my_body_parameter: value},
@@ -195,7 +195,7 @@ You can provide typesafe request parameters like so:
195
195
  ```ruby
196
196
  nextbillion_sdk.directions.compute_route(
197
197
  destination: "1.335368,103.785517",
198
- origin: "1.312164,103.841062"
198
+ origin: "1.312164,103.841063"
199
199
  )
200
200
  ```
201
201
 
@@ -205,13 +205,13 @@ Or, equivalently:
205
205
  # Hashes work, but are not typesafe:
206
206
  nextbillion_sdk.directions.compute_route(
207
207
  destination: "1.335368,103.785517",
208
- origin: "1.312164,103.841062"
208
+ origin: "1.312164,103.841063"
209
209
  )
210
210
 
211
211
  # You can also splat a full Params class:
212
212
  params = Nextbillionai::DirectionComputeRouteParams.new(
213
213
  destination: "1.335368,103.785517",
214
- origin: "1.312164,103.841062"
214
+ origin: "1.312164,103.841063"
215
215
  )
216
216
  nextbillion_sdk.directions.compute_route(**params)
217
217
  ```
@@ -368,7 +368,7 @@ module Nextbillionai
368
368
  #
369
369
  # @raise [Nextbillionai::Errors::APIError]
370
370
  # @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
371
- private def send_request(request, redirect_count:, retry_count:, send_retry_header:)
371
+ def send_request(request, redirect_count:, retry_count:, send_retry_header:)
372
372
  url, headers, max_retries, timeout = request.fetch_values(:url, :headers, :max_retries, :timeout)
373
373
  input = {
374
374
  **request.except(:timeout),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nextbillionai
4
- VERSION = "0.1.0.pre.alpha.4"
4
+ VERSION = "0.1.0.pre.alpha.5"
5
5
  end
@@ -221,7 +221,7 @@ module Nextbillionai
221
221
  send_retry_header: T::Boolean
222
222
  ).returns([Integer, Net::HTTPResponse, T::Enumerable[String]])
223
223
  end
224
- private def send_request(
224
+ def send_request(
225
225
  request,
226
226
  redirect_count:,
227
227
  retry_count:,
@@ -99,7 +99,7 @@ module Nextbillionai
99
99
  retry_count: Integer
100
100
  ) -> Float
101
101
 
102
- private def send_request: (
102
+ def send_request: (
103
103
  Nextbillionai::Internal::Transport::BaseClient::request_input request,
104
104
  redirect_count: Integer,
105
105
  retry_count: Integer,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nextbillionai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.4
4
+ version: 0.1.0.pre.alpha.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nextbillion SDK
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-30 00:00:00.000000000 Z
11
+ date: 2025-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool