increase 1.164.0 → 1.165.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: 6a6ec11d7d347fee108171d21fb31b7eaae0601a2183a33d76ea899450128210
4
- data.tar.gz: e41d86f5d6818f8e45607a30458c47abf60f9a6bc83ee98dd228d8fcb43b44ca
3
+ metadata.gz: 05da90968680e43dd96fe968137bb2d1fc7e3496d1352222dfe9b7e62b1dd847
4
+ data.tar.gz: bc6e0aa22caa1006ee1a956bc69f6f173b66e9d01b33559165d473bc49440caf
5
5
  SHA512:
6
- metadata.gz: 417491334126c75dff95f69962e482d64c09c38cbae039659ea962df6ea07bea5e6edfab0fb4328338da1348f33fe5482cad29b9f9d60df80528b2f654099a9d
7
- data.tar.gz: 813cbdcb31e1032d1c78a60fa6386afbd18cb68336d22facaa983ee7e04b1c9827bd0eb446901a205d882ac96c805a039a54a9cbf5f0b0bddca550cd0d4ebf21
6
+ metadata.gz: 6038689e8fcaeb411b2942fb9484b3f8437b0923a2908f8394ff830f91d13a5a5b7616ca30f41db4ad189cec54b4b8a3cb5819eccdf7ed18f83eac7c2b9f5152
7
+ data.tar.gz: b88fdca387e061e4e4c129c238a641da6e706ae0b49e2a77eefc9df551e99fdc91aa686cad711d3f3178428d8ae7788a4f6d67f1467d4e8743d06ad585ad0c9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.165.0 (2025-12-16)
4
+
5
+ Full Changelog: [v1.164.1...v1.165.0](https://github.com/Increase/increase-ruby/compare/v1.164.1...v1.165.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([cac70b5](https://github.com/Increase/increase-ruby/commit/cac70b5a0f8fde1778cdb05d8b2d284f3b9301b4))
10
+
11
+ ## 1.164.1 (2025-12-16)
12
+
13
+ Full Changelog: [v1.164.0...v1.164.1](https://github.com/Increase/increase-ruby/compare/v1.164.0...v1.164.1)
14
+
15
+ ### Bug Fixes
16
+
17
+ * calling `break` out of streams should be instantaneous ([23336c2](https://github.com/Increase/increase-ruby/commit/23336c2005c8dbb3784632e2295d6c4d13c737e7))
18
+
3
19
  ## 1.164.0 (2025-12-16)
4
20
 
5
21
  Full Changelog: [v1.163.0...v1.164.0](https://github.com/Increase/increase-ruby/compare/v1.163.0...v1.164.0)
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 "increase", "~> 1.164.0"
18
+ gem "increase", "~> 1.165.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -153,17 +153,19 @@ module Increase
153
153
  end
154
154
 
155
155
  self.class.calibrate_socket_timeout(conn, deadline)
156
- conn.request(req) do |rsp|
157
- y << [req, rsp]
158
- break if finished
159
-
160
- rsp.read_body do |bytes|
161
- y << bytes.force_encoding(Encoding::BINARY)
162
- break if finished
163
-
164
- self.class.calibrate_socket_timeout(conn, deadline)
156
+ ::Kernel.catch(:jump) do
157
+ conn.request(req) do |rsp|
158
+ y << [req, rsp]
159
+ ::Kernel.throw(:jump) if finished
160
+
161
+ rsp.read_body do |bytes|
162
+ y << bytes.force_encoding(Encoding::BINARY)
163
+ ::Kernel.throw(:jump) if finished
164
+
165
+ self.class.calibrate_socket_timeout(conn, deadline)
166
+ end
167
+ eof = true
165
168
  end
166
- eof = true
167
169
  end
168
170
  end
169
171
  ensure
@@ -249,6 +249,9 @@ module Increase
249
249
  # The recipient of the wire transfer requested the funds be returned to the sender.
250
250
  CREDITOR_REQUEST = :creditor_request
251
251
 
252
+ # The account cannot currently receive inbound wires.
253
+ TRANSACTION_FORBIDDEN = :transaction_forbidden
254
+
252
255
  # @!method self.values
253
256
  # @return [Array<Symbol>]
254
257
  end
@@ -28,6 +28,9 @@ module Increase
28
28
  # The recipient of the wire transfer requested the funds be returned to the sender.
29
29
  CREDITOR_REQUEST = :creditor_request
30
30
 
31
+ # The account cannot currently receive inbound wires.
32
+ TRANSACTION_FORBIDDEN = :transaction_forbidden
33
+
31
34
  # @!method self.values
32
35
  # @return [Array<Symbol>]
33
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.164.0"
4
+ VERSION = "1.165.0"
5
5
  end
@@ -315,6 +315,13 @@ module Increase
315
315
  Increase::InboundWireTransfer::Reversal::Reason::TaggedSymbol
316
316
  )
317
317
 
318
+ # The account cannot currently receive inbound wires.
319
+ TRANSACTION_FORBIDDEN =
320
+ T.let(
321
+ :transaction_forbidden,
322
+ Increase::InboundWireTransfer::Reversal::Reason::TaggedSymbol
323
+ )
324
+
318
325
  sig do
319
326
  override.returns(
320
327
  T::Array[
@@ -69,6 +69,13 @@ module Increase
69
69
  Increase::InboundWireTransferReverseParams::Reason::TaggedSymbol
70
70
  )
71
71
 
72
+ # The account cannot currently receive inbound wires.
73
+ TRANSACTION_FORBIDDEN =
74
+ T.let(
75
+ :transaction_forbidden,
76
+ Increase::InboundWireTransferReverseParams::Reason::TaggedSymbol
77
+ )
78
+
72
79
  sig do
73
80
  override.returns(
74
81
  T::Array[
@@ -152,7 +152,7 @@ module Increase
152
152
  reversed_at: Time
153
153
  }
154
154
 
155
- type reason = :duplicate | :creditor_request
155
+ type reason = :duplicate | :creditor_request | :transaction_forbidden
156
156
 
157
157
  module Reason
158
158
  extend Increase::Internal::Type::Enum
@@ -163,6 +163,9 @@ module Increase
163
163
  # The recipient of the wire transfer requested the funds be returned to the sender.
164
164
  CREDITOR_REQUEST: :creditor_request
165
165
 
166
+ # The account cannot currently receive inbound wires.
167
+ TRANSACTION_FORBIDDEN: :transaction_forbidden
168
+
166
169
  def self?.values: -> ::Array[Increase::Models::InboundWireTransfer::Reversal::reason]
167
170
  end
168
171
  end
@@ -20,7 +20,7 @@ module Increase
20
20
  request_options: Increase::RequestOptions
21
21
  }
22
22
 
23
- type reason = :duplicate | :creditor_request
23
+ type reason = :duplicate | :creditor_request | :transaction_forbidden
24
24
 
25
25
  module Reason
26
26
  extend Increase::Internal::Type::Enum
@@ -31,6 +31,9 @@ module Increase
31
31
  # The recipient of the wire transfer requested the funds be returned to the sender.
32
32
  CREDITOR_REQUEST: :creditor_request
33
33
 
34
+ # The account cannot currently receive inbound wires.
35
+ TRANSACTION_FORBIDDEN: :transaction_forbidden
36
+
34
37
  def self?.values: -> ::Array[Increase::Models::InboundWireTransferReverseParams::reason]
35
38
  end
36
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.164.0
4
+ version: 1.165.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase