lithic 0.1.0.pre.alpha.45 → 0.1.0.pre.alpha.46

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: 89b599524fba572a6c9b79caef267ff1ea273ce7e5ce1d17d550ef8e1c443731
4
- data.tar.gz: 47a8d7158877fcdc1af90ef76d23dce552933ae698bb91243f3bb11acc60e4bc
3
+ metadata.gz: '09258a03a84cb7b42dc9bd53639ca8e2e5c36a402008e51134172449fe9e2dd7'
4
+ data.tar.gz: 4a5b22cb34a0dfc0b2b13d926aa3c7a66fda6e92650933f9faf7d2a75942b238
5
5
  SHA512:
6
- metadata.gz: 6d017406bc463df8065989ecf9289cd041f86072db7c0e0c0546da7ef6d44e6dcb345b4f192e5511cdba9f9a84c18c0bfad9832f1e391695cd7b15ac1a008a20
7
- data.tar.gz: 15fa6fd95c8793bb2e351d7e1ab12c99b4a9d7c1aca1ffb8b9be865076670c89929a143e4b13628e623281a852cdb7b6ce334bf1bc4cdf99ff2cba8644433613
6
+ metadata.gz: 9a39ad2e47a0dc4cd8b9db3a280074d1332ad8bba724cc8f4444e9f5832df9ed952df44fd59d4738b402f2f14655e9283f79e724c4a9b59c71611b47ec345072
7
+ data.tar.gz: b5e6122981a36bcd71f9dcd2fc16fdf3a58cd6a0aebe780d070692270a81fe1465d85dd3aa4ca2262efac3bdd83aefd561bf621f8c7a290c549b742a7cb55193
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.46 (2025-09-26)
4
+
5
+ Full Changelog: [v0.1.0-alpha.45...v0.1.0-alpha.46](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.45...v0.1.0-alpha.46)
6
+
7
+ ### Bug Fixes
8
+
9
+ * shorten multipart boundary sep to less than RFC specificed max length ([e5d086e](https://github.com/lithic-com/lithic-ruby/commit/e5d086ebb012d4e173072048d7ea3a5e7fc11a5f))
10
+
3
11
  ## 0.1.0-alpha.45 (2025-09-26)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.44...v0.1.0-alpha.45](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.44...v0.1.0-alpha.45)
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 "lithic", "~> 0.1.0.pre.alpha.45"
18
+ gem "lithic", "~> 0.1.0.pre.alpha.46"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -566,7 +566,8 @@ module Lithic
566
566
  #
567
567
  # @return [Array(String, Enumerable<String>)]
568
568
  private def encode_multipart_streaming(body)
569
- boundary = SecureRandom.urlsafe_base64(60)
569
+ # RFC 1521 Section 7.2.1 says we should have 70 char maximum for boundary length
570
+ boundary = SecureRandom.urlsafe_base64(46)
570
571
 
571
572
  closing = []
572
573
  strio = writable_enum do |y|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lithic
4
- VERSION = "0.1.0.pre.alpha.45"
4
+ VERSION = "0.1.0.pre.alpha.46"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lithic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.45
4
+ version: 0.1.0.pre.alpha.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lithic