fog-aws 3.33.3 → 3.33.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/fog-aws.gemspec +1 -1
- data/lib/fog/aws/models/storage/file.rb +1 -1
- data/lib/fog/aws/storage.rb +13 -1
- data/lib/fog/aws/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e72621a4d0466e68fac0029075cc8183e520b2ddf4cca61438061640545cbc7
|
|
4
|
+
data.tar.gz: e74de695ac7fc458f8d0b53862c967b34771b91871e962e607559a774de16fb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15639793281c3325753b5e4bccedf7243228d636150a3449a3dedf09cff79803e3414955715c55b2572e19f628e4e831e85ab0ace7265a1d225bbfb6d5b56148
|
|
7
|
+
data.tar.gz: 44676104a31d040262c20eb86e9702fb16ed75b9e4f260864c9e3ed284bffe69ed4372b0cc72486bf5df1a54c38cb64468c6060e0839b9f22b8f37f3cfd04efe
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v3.33.4](https://github.com/fog/fog-aws/tree/v3.33.4) (2026-09-28)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v3.33.0...v3.33.1)
|
|
6
|
+
|
|
7
|
+
- drop codeclimate test reporter, which forced ancient simplecov and broke ci (geemus)
|
|
8
|
+
|
|
9
|
+
**Merged pull requests:**
|
|
10
|
+
|
|
11
|
+
- let connection set concurrency for multipart copy \#761 (mshibuya)
|
|
12
|
+
|
|
13
|
+
- bump rubyzip \#762 (dependabot)
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
## [v3.33.3](https://github.com/fog/fog-aws/tree/v3.33.3) (2026-08-28)
|
|
4
17
|
|
|
5
18
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v3.33.0...v3.33.1)
|
data/fog-aws.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.add_development_dependency 'bundler'
|
|
27
27
|
spec.add_development_dependency 'github_changelog_generator', '~> 1.16'
|
|
28
28
|
spec.add_development_dependency 'rake', '>= 12.3.3'
|
|
29
|
-
spec.add_development_dependency 'rubyzip', '~> 3.
|
|
29
|
+
spec.add_development_dependency 'rubyzip', '~> 3.6.0'
|
|
30
30
|
spec.add_development_dependency 'shindo', '~> 0.3'
|
|
31
31
|
|
|
32
32
|
spec.add_dependency 'base64', '>= 0.2', '< 0.4'
|
data/lib/fog/aws/storage.rb
CHANGED
|
@@ -57,7 +57,7 @@ module Fog
|
|
|
57
57
|
]
|
|
58
58
|
|
|
59
59
|
requires :aws_access_key_id, :aws_secret_access_key
|
|
60
|
-
recognizes :endpoint, :region, :host, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :path_style, :acceleration, :instrumentor, :instrumentor_name, :aws_signature_version, :enable_signature_v4_streaming, :virtual_host, :cname, :max_put_chunk_size, :max_copy_chunk_size, :aws_credentials_refresh_threshold_seconds, :disable_content_md5_validation, :sts_endpoint
|
|
60
|
+
recognizes :endpoint, :region, :host, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :path_style, :acceleration, :instrumentor, :instrumentor_name, :aws_signature_version, :enable_signature_v4_streaming, :virtual_host, :cname, :max_put_chunk_size, :max_copy_chunk_size, :copy_concurrency, :aws_credentials_refresh_threshold_seconds, :disable_content_md5_validation, :sts_endpoint
|
|
61
61
|
|
|
62
62
|
secrets :aws_secret_access_key, :hmac
|
|
63
63
|
|
|
@@ -170,6 +170,11 @@ module Fog
|
|
|
170
170
|
attr_reader :max_put_chunk_size
|
|
171
171
|
attr_reader :max_copy_chunk_size
|
|
172
172
|
|
|
173
|
+
# Number of threads a multipart copy uses, unless the file sets its own.
|
|
174
|
+
#
|
|
175
|
+
# @return [Integer]
|
|
176
|
+
attr_reader :copy_concurrency
|
|
177
|
+
|
|
173
178
|
def cdn
|
|
174
179
|
credentials = @credentials
|
|
175
180
|
@cdn ||= Fog::AWS::CDN.new(
|
|
@@ -249,6 +254,11 @@ module Fog
|
|
|
249
254
|
validate_chunk_size(@max_copy_chunk_size, 'max_copy_chunk_size')
|
|
250
255
|
end
|
|
251
256
|
|
|
257
|
+
def init_copy_concurrency!(options = {})
|
|
258
|
+
@copy_concurrency = options.fetch(:copy_concurrency, 1).to_i
|
|
259
|
+
raise ArgumentError.new('minimum copy_concurrency is 1') if @copy_concurrency < 1
|
|
260
|
+
end
|
|
261
|
+
|
|
252
262
|
def v4_signed_params_for_url(params, expires)
|
|
253
263
|
# Read the correlated credential state once, as a single reference,
|
|
254
264
|
# so a concurrent refresh cannot pair a stale session token with a
|
|
@@ -534,6 +544,7 @@ module Fog
|
|
|
534
544
|
|
|
535
545
|
init_max_put_chunk_size!(options)
|
|
536
546
|
init_max_copy_chunk_size!(options)
|
|
547
|
+
init_copy_concurrency!(options)
|
|
537
548
|
|
|
538
549
|
@disable_content_md5_validation = options[:disable_content_md5_validation] || false
|
|
539
550
|
|
|
@@ -612,6 +623,7 @@ module Fog
|
|
|
612
623
|
|
|
613
624
|
init_max_put_chunk_size!(options)
|
|
614
625
|
init_max_copy_chunk_size!(options)
|
|
626
|
+
init_copy_concurrency!(options)
|
|
615
627
|
|
|
616
628
|
@disable_content_md5_validation = options[:disable_content_md5_validation] || false
|
|
617
629
|
|
data/lib/fog/aws/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fog-aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.33.
|
|
4
|
+
version: 3.33.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Lane
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 3.
|
|
75
|
+
version: 3.6.0
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 3.
|
|
82
|
+
version: 3.6.0
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: shindo
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|