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 +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/internal/util.rb +3 -1
- data/lib/increase/models/card.rb +5 -4
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card.rbi +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c624e35e82f259dc37e991ea2243638fa91cae1ca10bdfc6e24d772231b3d1d
|
|
4
|
+
data.tar.gz: 7564efcd13f83f0d73cf2dfdac596c1aea8f3d525f91a7a70e460c25d9ae548e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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
|
data/lib/increase/models/card.rb
CHANGED
|
@@ -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
|
|
102
|
-
# after you create them. All cards
|
|
103
|
-
#
|
|
104
|
-
# the Account upon transaction
|
|
101
|
+
# Cards may operate on credit, debit or prepaid BINs. They’ll 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
|
#
|
data/lib/increase/version.rb
CHANGED
|
@@ -88,10 +88,11 @@ module Increase
|
|
|
88
88
|
sig { returns(Increase::Card::Type::TaggedSymbol) }
|
|
89
89
|
attr_accessor :type
|
|
90
90
|
|
|
91
|
-
# Cards
|
|
92
|
-
# after you create them. All cards
|
|
93
|
-
#
|
|
94
|
-
# the Account upon transaction
|
|
91
|
+
# Cards may operate on credit, debit or prepaid BINs. They’ll 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.
|
|
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-
|
|
11
|
+
date: 2026-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|