e-invoice-api 0.2.2 → 0.2.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: c10256aa29267b5fb106aa71c66c94f43b56cba807134236c604545bd0f7e5ed
4
- data.tar.gz: 1951c4845138e92e891b09587aca789629e3cb7cc28fe694f714ddf85603cafb
3
+ metadata.gz: 0760a58b59fa568419cdd54c84a5fb49cb7e959e4ba3dd6ffbf42876cba2cf41
4
+ data.tar.gz: 926a0bc4c01c40c768e26dec755f373975356b987a989f8221451a1748de970b
5
5
  SHA512:
6
- metadata.gz: 85b46f9c5974e402f4771b3aff57ee20d1617a62354773eafad5c9af5a82e522a670986570ca2aeaad6bc834ba20c2465c8126e34cc71142841e2bccaaa89b1b
7
- data.tar.gz: 72e85e984d57122c0f0cc3883d7ebfb9e2ad207f922ffdaa887081c8776c7f2d4fd049135bbd19dd14f469e3a86630cc80651e705c7378dcea8a8fe7d5054303
6
+ metadata.gz: 60c5732f884c99cb77d47ec62c2dfd247076f51b3304e465f64edecccb5180ddac6a90534d9cbd7bca81e33a782728fc1342bd78bad917081c9b6f766e8cb8e4
7
+ data.tar.gz: 3daf7744184d51af086b86b1e0531268aefdceedd4181f59d392a774f19a85edc3fa19b4008d8ad806a252ff5ef4fa8497634d534943242d8d83820fbf125ab6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.4 (2025-08-08)
4
+
5
+ Full Changelog: [v0.2.3...v0.2.4](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.2.3...v0.2.4)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([e4a4f0c](https://github.com/e-invoice-be/e-invoice-rb/commit/e4a4f0c4ed0bbbd6e48756b992c37dc84511d378))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** increase visibility of internal helper method ([ada75de](https://github.com/e-invoice-be/e-invoice-rb/commit/ada75de190ee5689ac623187ea89d917820beb8c))
15
+
16
+ ## 0.2.3 (2025-07-29)
17
+
18
+ Full Changelog: [v0.2.2...v0.2.3](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.2.2...v0.2.3)
19
+
20
+ ### Bug Fixes
21
+
22
+ * **internal:** ensure sorbet test always runs serially ([0930e8c](https://github.com/e-invoice-be/e-invoice-rb/commit/0930e8c448cb35499f1c7b3823d84de63c730370))
23
+
3
24
  ## 0.2.2 (2025-07-26)
4
25
 
5
26
  Full Changelog: [v0.2.1...v0.2.2](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.2.1...v0.2.2)
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 "e-invoice-api", "~> 0.2.2"
20
+ gem "e-invoice-api", "~> 0.2.4"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -365,7 +365,7 @@ module EInvoiceAPI
365
365
  #
366
366
  # @raise [EInvoiceAPI::Errors::APIError]
367
367
  # @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
368
- private def send_request(request, redirect_count:, retry_count:, send_retry_header:)
368
+ def send_request(request, redirect_count:, retry_count:, send_retry_header:)
369
369
  url, headers, max_retries, timeout = request.fetch_values(:url, :headers, :max_retries, :timeout)
370
370
  input = {**request.except(:timeout), deadline: EInvoiceAPI::Internal::Util.monotonic_secs + timeout}
371
371
 
@@ -96,6 +96,7 @@ module EInvoiceAPI
96
96
  ZZ = :ZZ
97
97
  NAR = :NAR
98
98
  C62 = :C62
99
+ LTR = :LTR
99
100
 
100
101
  # @!method self.values
101
102
  # @return [Array<Symbol>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EInvoiceAPI
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.4"
5
5
  end
@@ -218,7 +218,7 @@ module EInvoiceAPI
218
218
  send_retry_header: T::Boolean
219
219
  ).returns([Integer, Net::HTTPResponse, T::Enumerable[String]])
220
220
  end
221
- private def send_request(
221
+ def send_request(
222
222
  request,
223
223
  redirect_count:,
224
224
  retry_count:,
@@ -138,6 +138,7 @@ module EInvoiceAPI
138
138
  ZZ = T.let(:ZZ, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
139
139
  NAR = T.let(:NAR, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
140
140
  C62 = T.let(:C62, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
141
+ LTR = T.let(:LTR, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
141
142
 
142
143
  sig do
143
144
  override.returns(T::Array[EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol])
@@ -99,7 +99,7 @@ module EInvoiceAPI
99
99
  retry_count: Integer
100
100
  ) -> Float
101
101
 
102
- private def send_request: (
102
+ def send_request: (
103
103
  EInvoiceAPI::Internal::Transport::BaseClient::request_input request,
104
104
  redirect_count: Integer,
105
105
  retry_count: Integer,
@@ -91,6 +91,7 @@ module EInvoiceAPI
91
91
  | :ZZ
92
92
  | :NAR
93
93
  | :C62
94
+ | :LTR
94
95
 
95
96
  module UnitOfMeasureCode
96
97
  extend EInvoiceAPI::Internal::Type::Enum
@@ -185,6 +186,7 @@ module EInvoiceAPI
185
186
  ZZ: :ZZ
186
187
  NAR: :NAR
187
188
  C62: :C62
189
+ LTR: :LTR
188
190
 
189
191
  def self?.values: -> ::Array[EInvoiceAPI::Models::unit_of_measure_code]
190
192
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e-invoice-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - e-invoice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-28 00:00:00.000000000 Z
11
+ date: 2025-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool