increase 1.283.0 → 1.284.1

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: 2110e3804134972e058b719b1fab3c711ed3e4455f47d08d4ea597f8691bdf0a
4
- data.tar.gz: 5c554134cceefc2f75e43660ccc0ff07600507f57bd0b6768e3c1943143ca4cb
3
+ metadata.gz: 4c624e35e82f259dc37e991ea2243638fa91cae1ca10bdfc6e24d772231b3d1d
4
+ data.tar.gz: 7564efcd13f83f0d73cf2dfdac596c1aea8f3d525f91a7a70e460c25d9ae548e
5
5
  SHA512:
6
- metadata.gz: 995e6d16257b2a502b3961d23fbe739be660d3332986cd19aa226b02b854e7797c1f0254d473367e652a2fdb0eca6da62df49c35f826f82545f11f2d1b3b088f
7
- data.tar.gz: 8f0dd1ed79524f1b5367b96a039b7ed66318817bb65a774b08cd9a9bc85ad9fdfc1abc13e74ea52554ed6ad98759aa6356f630a46bcea8b90bed7c53abe2bce8
6
+ metadata.gz: f6bcdace389958fa112ebb2a8103e023e02f1980a2f4e1246d1c3a40603a204eca039844367804f01d7c2755123fdc0e1ec34ea598e8f7dd5561d4e1976a09c2
7
+ data.tar.gz: f15eab78168f6da92a14fface278386e00d1c31acfa2d5e039624271c797ac46b6a9abb9b8fe2ffedd2833325676a93935760da1ae02e1ec1d023bbbcc68dc1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.284.1 (2026-04-08)
4
+
5
+ Full Changelog: [v1.284.0...v1.284.1](https://github.com/Increase/increase-ruby/compare/v1.284.0...v1.284.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * multipart encoding for file arrays ([a6cc497](https://github.com/Increase/increase-ruby/commit/a6cc4975f1859c10d3435a3749b5bb228479671b))
10
+
11
+ ## 1.284.0 (2026-04-07)
12
+
13
+ Full Changelog: [v1.283.0...v1.284.0](https://github.com/Increase/increase-ruby/compare/v1.283.0...v1.284.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([3b34a4e](https://github.com/Increase/increase-ruby/commit/3b34a4eb31f54413a0ad1322ce4fabc0a827d0ae))
18
+
3
19
  ## 1.283.0 (2026-04-06)
4
20
 
5
21
  Full Changelog: [v1.282.0...v1.283.0](https://github.com/Increase/increase-ruby/compare/v1.282.0...v1.283.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.283.0"
18
+ gem "increase", "~> 1.284.1"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -610,6 +610,7 @@ module Increase
610
610
  #
611
611
  # @return [Array(String, Enumerable<String>)]
612
612
  private def encode_multipart_streaming(body)
613
+ # rubocop:disable Style/CaseEquality
613
614
  # RFC 1521 Section 7.2.1 says we should have 70 char maximum for boundary length
614
615
  boundary = SecureRandom.urlsafe_base64(46)
615
616
 
@@ -619,7 +620,7 @@ module Increase
619
620
  in Hash
620
621
  body.each do |key, val|
621
622
  case val
622
- in Array if val.all? { primitive?(_1) }
623
+ in Array if val.all? { primitive?(_1) || Increase::Internal::Type::FileInput === _1 }
623
624
  val.each do |v|
624
625
  write_multipart_chunk(y, boundary: boundary, key: key, val: v, closing: closing)
625
626
  end
@@ -635,6 +636,7 @@ module Increase
635
636
 
636
637
  fused_io = fused_enum(strio) { closing.each(&:call) }
637
638
  [boundary, fused_io]
639
+ # rubocop:enable Style/CaseEquality
638
640
  end
639
641
 
640
642
  # @api private
@@ -98,10 +98,11 @@ module Increase
98
98
  # Some parameter documentations has been truncated, see {Increase::Models::Card}
99
99
  # for more details.
100
100
  #
101
- # Cards are commercial credit cards. They'll immediately work for online purchases
102
- # after you create them. All cards maintain a credit limit of 100% of the
103
- # Account’s available balance at the time of transaction. Funds are deducted from
104
- # the Account upon transaction settlement.
101
+ # Cards may operate on credit, debit or prepaid BINs. Theyll immediately work for
102
+ # online purchases after you create them. All cards work on a good funds model,
103
+ # and maintain a maximum limit of 100% of the Account’s available balance at the
104
+ # time of transaction. Funds are deducted from the Account upon transaction
105
+ # settlement.
105
106
  #
106
107
  # @param id [String] The card identifier.
107
108
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.283.0"
4
+ VERSION = "1.284.1"
5
5
  end
@@ -88,10 +88,11 @@ module Increase
88
88
  sig { returns(Increase::Card::Type::TaggedSymbol) }
89
89
  attr_accessor :type
90
90
 
91
- # Cards are commercial credit cards. They'll immediately work for online purchases
92
- # after you create them. All cards maintain a credit limit of 100% of the
93
- # Account’s available balance at the time of transaction. Funds are deducted from
94
- # the Account upon transaction settlement.
91
+ # Cards may operate on credit, debit or prepaid BINs. Theyll immediately work for
92
+ # online purchases after you create them. All cards work on a good funds model,
93
+ # and maintain a maximum limit of 100% of the Account’s available balance at the
94
+ # time of transaction. Funds are deducted from the Account upon transaction
95
+ # settlement.
95
96
  sig do
96
97
  params(
97
98
  id: String,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.283.0
4
+ version: 1.284.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-06 00:00:00.000000000 Z
11
+ date: 2026-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi