fog-aws 3.9.0 → 3.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +251 -17
- data/README.md +1 -1
- data/fog-aws.gemspec +6 -6
- data/lib/fog/aws/compute.rb +6 -3
- data/lib/fog/aws/credential_fetcher.rb +14 -7
- data/lib/fog/aws/models/compute/security_group.rb +13 -5
- data/lib/fog/aws/models/compute/server.rb +2 -0
- data/lib/fog/aws/models/storage/file.rb +21 -17
- data/lib/fog/aws/parsers/compute/describe_security_groups.rb +18 -4
- data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +15 -0
- data/lib/fog/aws/requests/compute/create_network_interface.rb +7 -4
- data/lib/fog/aws/requests/compute/create_subnet.rb +3 -3
- data/lib/fog/aws/requests/compute/describe_security_groups.rb +2 -0
- data/lib/fog/aws/requests/compute/run_instances.rb +44 -0
- data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +18 -8
- data/lib/fog/aws/requests/storage/get_object.rb +1 -1
- data/lib/fog/aws/storage.rb +42 -3
- data/lib/fog/aws/version.rb +1 -1
- metadata +11 -297
- data/.gitignore +0 -17
- data/.travis.yml +0 -124
- data/Gemfile +0 -14
- data/Rakefile +0 -14
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/gemfiles/Gemfile-edge +0 -14
- data/gemfiles/Gemfile-ruby-2.0 +0 -7
- data/stale.yml +0 -17
- data/tests/credentials_tests.rb +0 -149
- data/tests/helper.rb +0 -29
- data/tests/helpers/collection_helper.rb +0 -90
- data/tests/helpers/compute/flavors_helper.rb +0 -28
- data/tests/helpers/compute/server_helper.rb +0 -23
- data/tests/helpers/compute/servers_helper.rb +0 -8
- data/tests/helpers/dns_helper.rb +0 -56
- data/tests/helpers/formats_helper.rb +0 -100
- data/tests/helpers/formats_helper_tests.rb +0 -107
- data/tests/helpers/mock_helper.rb +0 -109
- data/tests/helpers/model_helper.rb +0 -30
- data/tests/helpers/responds_to_helper.rb +0 -11
- data/tests/helpers/schema_validator_tests.rb +0 -104
- data/tests/helpers/succeeds_helper.rb +0 -9
- data/tests/lorem.txt +0 -1
- data/tests/models/auto_scaling/activities_tests.rb +0 -6
- data/tests/models/auto_scaling/configuration_test.rb +0 -13
- data/tests/models/auto_scaling/configurations_tests.rb +0 -11
- data/tests/models/auto_scaling/groups_test.rb +0 -27
- data/tests/models/auto_scaling/helper.rb +0 -0
- data/tests/models/auto_scaling/instance_tests.rb +0 -15
- data/tests/models/auto_scaling/instances_tests.rb +0 -6
- data/tests/models/beanstalk/application_tests.rb +0 -69
- data/tests/models/beanstalk/applications_tests.rb +0 -7
- data/tests/models/beanstalk/environment_tests.rb +0 -131
- data/tests/models/beanstalk/environments_tests.rb +0 -34
- data/tests/models/beanstalk/template_tests.rb +0 -47
- data/tests/models/beanstalk/templates_tests.rb +0 -62
- data/tests/models/beanstalk/version_tests.rb +0 -66
- data/tests/models/beanstalk/versions_tests.rb +0 -60
- data/tests/models/cdn/distribution_tests.rb +0 -15
- data/tests/models/cdn/distributions_tests.rb +0 -15
- data/tests/models/cdn/invalidation_tests.rb +0 -31
- data/tests/models/cdn/invalidations_tests.rb +0 -14
- data/tests/models/cdn/streaming_distribution_tests.rb +0 -15
- data/tests/models/cdn/streaming_distributions_tests.rb +0 -15
- data/tests/models/cloud_watch/alarm_data_tests.rb +0 -42
- data/tests/models/cloud_watch/alarm_history_tests.rb +0 -22
- data/tests/models/cloud_watch/metric_statistics_tests.rb +0 -51
- data/tests/models/cloud_watch/metrics_tests.rb +0 -32
- data/tests/models/compute/address_tests.rb +0 -43
- data/tests/models/compute/addresses_tests.rb +0 -5
- data/tests/models/compute/dhcp_option_tests.rb +0 -3
- data/tests/models/compute/dhcp_options_tests.rb +0 -3
- data/tests/models/compute/internet_gateway_tests.rb +0 -3
- data/tests/models/compute/internet_gateways_tests.rb +0 -3
- data/tests/models/compute/key_pair_tests.rb +0 -26
- data/tests/models/compute/key_pairs_tests.rb +0 -5
- data/tests/models/compute/network_acl_tests.rb +0 -109
- data/tests/models/compute/network_acls_tests.rb +0 -20
- data/tests/models/compute/network_interfaces_test.rb +0 -12
- data/tests/models/compute/security_group_tests.rb +0 -98
- data/tests/models/compute/security_groups_tests.rb +0 -5
- data/tests/models/compute/server_tests.rb +0 -94
- data/tests/models/compute/snapshot_tests.rb +0 -10
- data/tests/models/compute/snapshots_tests.rb +0 -10
- data/tests/models/compute/subnet_tests.rb +0 -13
- data/tests/models/compute/subnets_tests.rb +0 -5
- data/tests/models/compute/volume_tests.rb +0 -65
- data/tests/models/compute/volumes_tests.rb +0 -5
- data/tests/models/compute/vpc_tests.rb +0 -26
- data/tests/models/compute/vpcs_tests.rb +0 -19
- data/tests/models/data_pipeline/pipeline_tests.rb +0 -8
- data/tests/models/data_pipeline/pipelines_tests.rb +0 -8
- data/tests/models/dns/record_tests.rb +0 -33
- data/tests/models/dns/records_tests.rb +0 -41
- data/tests/models/dns/zone_tests.rb +0 -4
- data/tests/models/dns/zones_tests.rb +0 -4
- data/tests/models/efs/file_system_tests.rb +0 -12
- data/tests/models/efs/mount_target_tests.rb +0 -45
- data/tests/models/efs/mount_targets_tests.rb +0 -30
- data/tests/models/elasticache/cluster_tests.rb +0 -30
- data/tests/models/elasticache/parameter_groups_tests.rb +0 -15
- data/tests/models/elasticache/security_groups_tests.rb +0 -52
- data/tests/models/elasticache/subnet_groups_tests.rb +0 -43
- data/tests/models/elb/model_tests.rb +0 -360
- data/tests/models/elb/tagging_tests.rb +0 -15
- data/tests/models/glacier/model_tests.rb +0 -47
- data/tests/models/iam/access_keys_tests.rb +0 -53
- data/tests/models/iam/groups_tests.rb +0 -59
- data/tests/models/iam/instance_profile_tests.rb +0 -18
- data/tests/models/iam/managed_policies_tests.rb +0 -89
- data/tests/models/iam/policies_tests.rb +0 -57
- data/tests/models/iam/roles_tests.rb +0 -71
- data/tests/models/iam/users_tests.rb +0 -119
- data/tests/models/rds/cluster_tests.rb +0 -54
- data/tests/models/rds/clusters_tests.rb +0 -5
- data/tests/models/rds/event_subscription_tests.rb +0 -9
- data/tests/models/rds/event_subscriptions_tests.rb +0 -6
- data/tests/models/rds/helper.rb +0 -25
- data/tests/models/rds/instance_option_tests.rb +0 -14
- data/tests/models/rds/parameter_group_tests.rb +0 -24
- data/tests/models/rds/parameter_groups_tests.rb +0 -8
- data/tests/models/rds/security_group_tests.rb +0 -77
- data/tests/models/rds/security_groups_tests.rb +0 -5
- data/tests/models/rds/server_tests.rb +0 -131
- data/tests/models/rds/servers_tests.rb +0 -24
- data/tests/models/rds/snapshot_tests.rb +0 -12
- data/tests/models/rds/snapshots_tests.rb +0 -12
- data/tests/models/rds/tagging_tests.rb +0 -20
- data/tests/models/sns/topic_tests.rb +0 -15
- data/tests/models/sns/topics_tests.rb +0 -6
- data/tests/models/storage/directory_tests.rb +0 -91
- data/tests/models/storage/file_tests.rb +0 -129
- data/tests/models/storage/files_tests.rb +0 -90
- data/tests/models/storage/url_tests.rb +0 -25
- data/tests/models/storage/version_tests.rb +0 -52
- data/tests/models/storage/versions_tests.rb +0 -51
- data/tests/models/support/trusted_advisor_tests.rb +0 -25
- data/tests/parsers/compute/describe_images_tests.rb +0 -33
- data/tests/parsers/elb/describe_load_balancers.rb +0 -65
- data/tests/parsers/elbv2/create_load_balancer_tests.rb +0 -48
- data/tests/parsers/elbv2/describe_listeners_tests.rb +0 -76
- data/tests/parsers/elbv2/describe_load_balancers_tests.rb +0 -54
- data/tests/parsers/elbv2/describe_tags_tests.rb +0 -35
- data/tests/requests/auto_scaling/auto_scaling_tests.rb +0 -111
- data/tests/requests/auto_scaling/describe_types_tests.rb +0 -102
- data/tests/requests/auto_scaling/helper.rb +0 -229
- data/tests/requests/auto_scaling/model_tests.rb +0 -235
- data/tests/requests/auto_scaling/notification_configuration_tests.rb +0 -124
- data/tests/requests/auto_scaling/tag_tests.rb +0 -63
- data/tests/requests/beanstalk/application_tests.rb +0 -140
- data/tests/requests/beanstalk/solution_stack_tests.rb +0 -22
- data/tests/requests/cdn/cdn_tests.rb +0 -252
- data/tests/requests/cloud_formation/stack_tests.rb +0 -167
- data/tests/requests/cloud_watch/get_metric_statistics_tests.rb +0 -28
- data/tests/requests/cloud_watch/list_metrics_test.rb +0 -64
- data/tests/requests/cloud_watch/put_metric_data_tests.rb +0 -36
- data/tests/requests/compute/address_tests.rb +0 -144
- data/tests/requests/compute/assign_private_ip_tests.rb +0 -55
- data/tests/requests/compute/availability_zone_tests.rb +0 -25
- data/tests/requests/compute/client_tests.rb +0 -25
- data/tests/requests/compute/dhcp_options_tests.rb +0 -39
- data/tests/requests/compute/helper.rb +0 -27
- data/tests/requests/compute/image_tests.rb +0 -169
- data/tests/requests/compute/instance_attrib_tests.rb +0 -168
- data/tests/requests/compute/instance_tests.rb +0 -338
- data/tests/requests/compute/internet_gateway_tests.rb +0 -49
- data/tests/requests/compute/key_pair_tests.rb +0 -67
- data/tests/requests/compute/network_acl_tests.rb +0 -112
- data/tests/requests/compute/network_interface_tests.rb +0 -239
- data/tests/requests/compute/placement_group_tests.rb +0 -48
- data/tests/requests/compute/region_tests.rb +0 -52
- data/tests/requests/compute/route_tests.rb +0 -341
- data/tests/requests/compute/security_group_tests.rb +0 -446
- data/tests/requests/compute/snapshot_tests.rb +0 -77
- data/tests/requests/compute/spot_datafeed_subscription_tests.rb +0 -47
- data/tests/requests/compute/spot_instance_tests.rb +0 -55
- data/tests/requests/compute/spot_price_history_tests.rb +0 -23
- data/tests/requests/compute/subnet_tests.rb +0 -87
- data/tests/requests/compute/tag_tests.rb +0 -101
- data/tests/requests/compute/volume_tests.rb +0 -263
- data/tests/requests/compute/vpc_tests.rb +0 -222
- data/tests/requests/data_pipeline/helper.rb +0 -78
- data/tests/requests/data_pipeline/pipeline_tests.rb +0 -80
- data/tests/requests/dns/change_resource_record_sets_tests.rb +0 -34
- data/tests/requests/dns/dns_tests.rb +0 -240
- data/tests/requests/dns/health_check_tests.rb +0 -159
- data/tests/requests/dns/helper.rb +0 -21
- data/tests/requests/dynamodb/item_tests.rb +0 -137
- data/tests/requests/dynamodb/table_tests.rb +0 -99
- data/tests/requests/ecs/cluster_tests.rb +0 -112
- data/tests/requests/ecs/container_instance_tests.rb +0 -119
- data/tests/requests/ecs/helper.rb +0 -276
- data/tests/requests/ecs/sample_task_definition1.json +0 -56
- data/tests/requests/ecs/service_tests.rb +0 -132
- data/tests/requests/ecs/task_definitions_tests.rb +0 -97
- data/tests/requests/ecs/task_tests.rb +0 -145
- data/tests/requests/efs/file_system_tests.rb +0 -152
- data/tests/requests/efs/helper.rb +0 -44
- data/tests/requests/elasticache/cache_cluster_tests.rb +0 -137
- data/tests/requests/elasticache/describe_events.rb +0 -17
- data/tests/requests/elasticache/describe_reserved_cache_nodes.rb +0 -17
- data/tests/requests/elasticache/helper.rb +0 -103
- data/tests/requests/elasticache/parameter_group_tests.rb +0 -105
- data/tests/requests/elasticache/security_group_tests.rb +0 -108
- data/tests/requests/elasticache/subnet_group_tests.rb +0 -52
- data/tests/requests/elb/helper.rb +0 -91
- data/tests/requests/elb/listener_tests.rb +0 -68
- data/tests/requests/elb/load_balancer_tests.rb +0 -89
- data/tests/requests/elb/policy_tests.rb +0 -132
- data/tests/requests/elbv2/helper.rb +0 -66
- data/tests/requests/elbv2/load_balancer_tests.rb +0 -50
- data/tests/requests/emr/helper.rb +0 -167
- data/tests/requests/emr/instance_group_tests.rb +0 -106
- data/tests/requests/emr/job_flow_tests.rb +0 -88
- data/tests/requests/federation/get_signin_token_tests.rb +0 -11
- data/tests/requests/glacier/archive_tests.rb +0 -13
- data/tests/requests/glacier/multipart_upload_tests.rb +0 -29
- data/tests/requests/glacier/tree_hash_tests.rb +0 -91
- data/tests/requests/glacier/vault_tests.rb +0 -35
- data/tests/requests/iam/access_key_tests.rb +0 -53
- data/tests/requests/iam/account_policy_tests.rb +0 -20
- data/tests/requests/iam/account_tests.rb +0 -34
- data/tests/requests/iam/group_policy_tests.rb +0 -48
- data/tests/requests/iam/group_tests.rb +0 -44
- data/tests/requests/iam/helper.rb +0 -154
- data/tests/requests/iam/instance_profile_tests.rb +0 -44
- data/tests/requests/iam/login_profile_tests.rb +0 -62
- data/tests/requests/iam/managed_policy_tests.rb +0 -110
- data/tests/requests/iam/mfa_tests.rb +0 -23
- data/tests/requests/iam/role_tests.rb +0 -156
- data/tests/requests/iam/server_certificate_tests.rb +0 -130
- data/tests/requests/iam/user_policy_tests.rb +0 -45
- data/tests/requests/iam/user_tests.rb +0 -78
- data/tests/requests/iam/versioned_managed_policy_tests.rb +0 -105
- data/tests/requests/kinesis/helper.rb +0 -111
- data/tests/requests/kinesis/stream_tests.rb +0 -169
- data/tests/requests/kms/helper.rb +0 -27
- data/tests/requests/kms/key_tests.rb +0 -23
- data/tests/requests/lambda/function_sample_1.js +0 -9
- data/tests/requests/lambda/function_sample_2.js +0 -9
- data/tests/requests/lambda/function_tests.rb +0 -460
- data/tests/requests/lambda/helper.rb +0 -81
- data/tests/requests/rds/cluster_snapshot_tests.rb +0 -43
- data/tests/requests/rds/cluster_tests.rb +0 -37
- data/tests/requests/rds/db_engine_versions.rb +0 -7
- data/tests/requests/rds/db_snapshot_tests.rb +0 -62
- data/tests/requests/rds/describe_events.rb +0 -16
- data/tests/requests/rds/event_subscription_tests.rb +0 -30
- data/tests/requests/rds/helper.rb +0 -406
- data/tests/requests/rds/instance_option_tests.rb +0 -27
- data/tests/requests/rds/instance_tests.rb +0 -149
- data/tests/requests/rds/log_file_tests.rb +0 -19
- data/tests/requests/rds/parameter_group_tests.rb +0 -62
- data/tests/requests/rds/parameter_request_tests.rb +0 -32
- data/tests/requests/rds/security_group_tests.rb +0 -101
- data/tests/requests/rds/subnet_groups_tests.rb +0 -52
- data/tests/requests/rds/tagging_tests.rb +0 -78
- data/tests/requests/redshift/cluster_parameter_group_tests.rb +0 -76
- data/tests/requests/redshift/cluster_security_group_tests.rb +0 -42
- data/tests/requests/redshift/cluster_snapshot_tests.rb +0 -73
- data/tests/requests/redshift/cluster_tests.rb +0 -80
- data/tests/requests/ses/helper.rb +0 -9
- data/tests/requests/ses/verified_domain_identity_tests.rb +0 -16
- data/tests/requests/ses/verified_email_address_tests.rb +0 -27
- data/tests/requests/simpledb/attributes_tests.rb +0 -86
- data/tests/requests/simpledb/domain_tests.rb +0 -51
- data/tests/requests/simpledb/helper.rb +0 -10
- data/tests/requests/sns/helper.rb +0 -9
- data/tests/requests/sns/subscription_tests.rb +0 -86
- data/tests/requests/sns/topic_tests.rb +0 -53
- data/tests/requests/sqs/helper.rb +0 -9
- data/tests/requests/sqs/message_tests.rb +0 -51
- data/tests/requests/sqs/queue_tests.rb +0 -50
- data/tests/requests/storage/acl_utils_tests.rb +0 -209
- data/tests/requests/storage/bucket_tests.rb +0 -416
- data/tests/requests/storage/cors_utils_tests.rb +0 -108
- data/tests/requests/storage/delete_multiple_objects_tests.rb +0 -12
- data/tests/requests/storage/multipart_copy_tests.rb +0 -93
- data/tests/requests/storage/multipart_upload_tests.rb +0 -121
- data/tests/requests/storage/object_tests.rb +0 -269
- data/tests/requests/storage/versioning_tests.rb +0 -262
- data/tests/requests/sts/assume_role_tests.rb +0 -19
- data/tests/requests/sts/assume_role_with_saml_tests.rb +0 -18
- data/tests/requests/sts/assume_role_with_web_identity_tests.rb +0 -28
- data/tests/requests/sts/get_federation_token_tests.rb +0 -20
- data/tests/requests/sts/session_token_tests.rb +0 -16
- data/tests/requests/support/helper.rb +0 -43
- data/tests/requests/support/trusted_advisor_check_tests.rb +0 -16
- data/tests/signaturev4_tests.rb +0 -106
- data/tests/signed_params_tests.rb +0 -17
- data/tests/storage_tests.rb +0 -7
data/lib/fog/aws/storage.rb
CHANGED
@@ -14,6 +14,9 @@ module Fog
|
|
14
14
|
'https' => 443
|
15
15
|
}
|
16
16
|
|
17
|
+
MIN_MULTIPART_CHUNK_SIZE = 5242880
|
18
|
+
MAX_SINGLE_PUT_SIZE = 5368709120
|
19
|
+
|
17
20
|
VALID_QUERY_KEYS = %w[
|
18
21
|
acl
|
19
22
|
cors
|
@@ -43,7 +46,7 @@ module Fog
|
|
43
46
|
]
|
44
47
|
|
45
48
|
requires :aws_access_key_id, :aws_secret_access_key
|
46
|
-
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
|
49
|
+
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
|
47
50
|
|
48
51
|
secrets :aws_secret_access_key, :hmac
|
49
52
|
|
@@ -117,6 +120,17 @@ module Fog
|
|
117
120
|
module Utils
|
118
121
|
attr_accessor :region
|
119
122
|
|
123
|
+
# Amazon S3 limits max chunk size that can be uploaded/copied in a single request to 5GB.
|
124
|
+
# Other S3-compatible storages (like, Ceph) do not have such limit.
|
125
|
+
# Ceph shows much better performance when file is copied as a whole, in a single request.
|
126
|
+
# fog-aws user can use these settings to configure chunk sizes.
|
127
|
+
# A non-positive value will tell fog-aws to use a single put/copy request regardless of file size.
|
128
|
+
#
|
129
|
+
# @return [Integer]
|
130
|
+
# @see https://docs.aws.amazon.com/AmazonS3/latest/userguide/copy-object.html
|
131
|
+
attr_reader :max_put_chunk_size
|
132
|
+
attr_reader :max_copy_chunk_size
|
133
|
+
|
120
134
|
def cdn
|
121
135
|
@cdn ||= Fog::AWS::CDN.new(
|
122
136
|
:aws_access_key_id => @aws_access_key_id,
|
@@ -171,6 +185,12 @@ module Fog
|
|
171
185
|
params_to_url(params)
|
172
186
|
end
|
173
187
|
|
188
|
+
# @param value [int]
|
189
|
+
# @param description [str]
|
190
|
+
def validate_chunk_size(value, description)
|
191
|
+
raise "#{description} (#{value}) is less than minimum #{MIN_MULTIPART_CHUNK_SIZE}" unless value <= 0 || value >= MIN_MULTIPART_CHUNK_SIZE
|
192
|
+
end
|
193
|
+
|
174
194
|
private
|
175
195
|
|
176
196
|
def validate_signature_version!
|
@@ -179,6 +199,16 @@ module Fog
|
|
179
199
|
end
|
180
200
|
end
|
181
201
|
|
202
|
+
def init_max_put_chunk_size!(options = {})
|
203
|
+
@max_put_chunk_size = options.fetch(:max_put_chunk_size, MAX_SINGLE_PUT_SIZE)
|
204
|
+
validate_chunk_size(@max_put_chunk_size, 'max_put_chunk_size')
|
205
|
+
end
|
206
|
+
|
207
|
+
def init_max_copy_chunk_size!(options = {})
|
208
|
+
@max_copy_chunk_size = options.fetch(:max_copy_chunk_size, MAX_SINGLE_PUT_SIZE)
|
209
|
+
validate_chunk_size(@max_copy_chunk_size, 'max_copy_chunk_size')
|
210
|
+
end
|
211
|
+
|
182
212
|
def v4_signed_params_for_url(params, expires)
|
183
213
|
now = Fog::Time.now
|
184
214
|
|
@@ -284,10 +314,10 @@ module Fog
|
|
284
314
|
path_style = params.fetch(:path_style, @path_style)
|
285
315
|
if !path_style
|
286
316
|
if COMPLIANT_BUCKET_NAMES !~ bucket_name
|
287
|
-
Fog::Logger.warning("fog: the specified s3 bucket name(#{bucket_name}) is not a valid dns name, which will negatively impact performance. For details see:
|
317
|
+
Fog::Logger.warning("fog: the specified s3 bucket name(#{bucket_name}) is not a valid dns name, which will negatively impact performance. For details see: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html")
|
288
318
|
path_style = true
|
289
319
|
elsif scheme == 'https' && !path_style && bucket_name =~ /\./
|
290
|
-
Fog::Logger.warning("fog: the specified s3 bucket name(#{bucket_name}) contains a '.' so is not accessible over https as a virtual hosted bucket, which will negatively impact performance. For details see:
|
320
|
+
Fog::Logger.warning("fog: the specified s3 bucket name(#{bucket_name}) contains a '.' so is not accessible over https as a virtual hosted bucket, which will negatively impact performance. For details see: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html")
|
291
321
|
path_style = true
|
292
322
|
end
|
293
323
|
end
|
@@ -298,6 +328,8 @@ module Fog
|
|
298
328
|
host = params.fetch(:cname, bucket_name)
|
299
329
|
elsif path_style
|
300
330
|
path = bucket_to_path bucket_name, path
|
331
|
+
elsif host.start_with?("#{bucket_name}.")
|
332
|
+
# no-op
|
301
333
|
else
|
302
334
|
host = [bucket_name, host].join('.')
|
303
335
|
end
|
@@ -450,6 +482,10 @@ module Fog
|
|
450
482
|
|
451
483
|
|
452
484
|
@path_style = options[:path_style] || false
|
485
|
+
|
486
|
+
init_max_put_chunk_size!(options)
|
487
|
+
init_max_copy_chunk_size!(options)
|
488
|
+
|
453
489
|
@signature_version = options.fetch(:aws_signature_version, 4)
|
454
490
|
validate_signature_version!
|
455
491
|
setup_credentials(options)
|
@@ -513,6 +549,9 @@ module Fog
|
|
513
549
|
validate_signature_version!
|
514
550
|
@path_style = options[:path_style] || false
|
515
551
|
|
552
|
+
init_max_put_chunk_size!(options)
|
553
|
+
init_max_copy_chunk_size!(options)
|
554
|
+
|
516
555
|
@region = options[:region] || DEFAULT_REGION
|
517
556
|
|
518
557
|
if @endpoint = options[:endpoint]
|
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.
|
4
|
+
version: 3.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Lane
|
@@ -9,36 +9,36 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-02-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: github_changelog_generator
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
34
|
+
version: '1.16'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1.
|
41
|
+
version: '1.16'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 2.3.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 2.3.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: shindo
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,20 +123,6 @@ dependencies:
|
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0.1'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: ipaddress
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0.8'
|
133
|
-
type: :runtime
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0.8'
|
140
126
|
description: |-
|
141
127
|
This library can be used as a module for `fog` or as standalone provider
|
142
128
|
to use the Amazon Web Services in applications..
|
@@ -147,20 +133,12 @@ executables: []
|
|
147
133
|
extensions: []
|
148
134
|
extra_rdoc_files: []
|
149
135
|
files:
|
150
|
-
- ".gitignore"
|
151
|
-
- ".travis.yml"
|
152
136
|
- CHANGELOG.md
|
153
137
|
- CONTRIBUTING.md
|
154
138
|
- CONTRIBUTORS.md
|
155
|
-
- Gemfile
|
156
139
|
- LICENSE.md
|
157
140
|
- README.md
|
158
|
-
- Rakefile
|
159
|
-
- bin/console
|
160
|
-
- bin/setup
|
161
141
|
- fog-aws.gemspec
|
162
|
-
- gemfiles/Gemfile-edge
|
163
|
-
- gemfiles/Gemfile-ruby-2.0
|
164
142
|
- lib/fog-aws.rb
|
165
143
|
- lib/fog/aws.rb
|
166
144
|
- lib/fog/aws/auto_scaling.rb
|
@@ -1461,270 +1439,6 @@ files:
|
|
1461
1439
|
- lib/fog/aws/sts.rb
|
1462
1440
|
- lib/fog/aws/support.rb
|
1463
1441
|
- lib/fog/aws/version.rb
|
1464
|
-
- stale.yml
|
1465
|
-
- tests/credentials_tests.rb
|
1466
|
-
- tests/helper.rb
|
1467
|
-
- tests/helpers/collection_helper.rb
|
1468
|
-
- tests/helpers/compute/flavors_helper.rb
|
1469
|
-
- tests/helpers/compute/server_helper.rb
|
1470
|
-
- tests/helpers/compute/servers_helper.rb
|
1471
|
-
- tests/helpers/dns_helper.rb
|
1472
|
-
- tests/helpers/formats_helper.rb
|
1473
|
-
- tests/helpers/formats_helper_tests.rb
|
1474
|
-
- tests/helpers/mock_helper.rb
|
1475
|
-
- tests/helpers/model_helper.rb
|
1476
|
-
- tests/helpers/responds_to_helper.rb
|
1477
|
-
- tests/helpers/schema_validator_tests.rb
|
1478
|
-
- tests/helpers/succeeds_helper.rb
|
1479
|
-
- tests/lorem.txt
|
1480
|
-
- tests/models/auto_scaling/activities_tests.rb
|
1481
|
-
- tests/models/auto_scaling/configuration_test.rb
|
1482
|
-
- tests/models/auto_scaling/configurations_tests.rb
|
1483
|
-
- tests/models/auto_scaling/groups_test.rb
|
1484
|
-
- tests/models/auto_scaling/helper.rb
|
1485
|
-
- tests/models/auto_scaling/instance_tests.rb
|
1486
|
-
- tests/models/auto_scaling/instances_tests.rb
|
1487
|
-
- tests/models/beanstalk/application_tests.rb
|
1488
|
-
- tests/models/beanstalk/applications_tests.rb
|
1489
|
-
- tests/models/beanstalk/environment_tests.rb
|
1490
|
-
- tests/models/beanstalk/environments_tests.rb
|
1491
|
-
- tests/models/beanstalk/template_tests.rb
|
1492
|
-
- tests/models/beanstalk/templates_tests.rb
|
1493
|
-
- tests/models/beanstalk/version_tests.rb
|
1494
|
-
- tests/models/beanstalk/versions_tests.rb
|
1495
|
-
- tests/models/cdn/distribution_tests.rb
|
1496
|
-
- tests/models/cdn/distributions_tests.rb
|
1497
|
-
- tests/models/cdn/invalidation_tests.rb
|
1498
|
-
- tests/models/cdn/invalidations_tests.rb
|
1499
|
-
- tests/models/cdn/streaming_distribution_tests.rb
|
1500
|
-
- tests/models/cdn/streaming_distributions_tests.rb
|
1501
|
-
- tests/models/cloud_watch/alarm_data_tests.rb
|
1502
|
-
- tests/models/cloud_watch/alarm_history_tests.rb
|
1503
|
-
- tests/models/cloud_watch/metric_statistics_tests.rb
|
1504
|
-
- tests/models/cloud_watch/metrics_tests.rb
|
1505
|
-
- tests/models/compute/address_tests.rb
|
1506
|
-
- tests/models/compute/addresses_tests.rb
|
1507
|
-
- tests/models/compute/dhcp_option_tests.rb
|
1508
|
-
- tests/models/compute/dhcp_options_tests.rb
|
1509
|
-
- tests/models/compute/internet_gateway_tests.rb
|
1510
|
-
- tests/models/compute/internet_gateways_tests.rb
|
1511
|
-
- tests/models/compute/key_pair_tests.rb
|
1512
|
-
- tests/models/compute/key_pairs_tests.rb
|
1513
|
-
- tests/models/compute/network_acl_tests.rb
|
1514
|
-
- tests/models/compute/network_acls_tests.rb
|
1515
|
-
- tests/models/compute/network_interfaces_test.rb
|
1516
|
-
- tests/models/compute/security_group_tests.rb
|
1517
|
-
- tests/models/compute/security_groups_tests.rb
|
1518
|
-
- tests/models/compute/server_tests.rb
|
1519
|
-
- tests/models/compute/snapshot_tests.rb
|
1520
|
-
- tests/models/compute/snapshots_tests.rb
|
1521
|
-
- tests/models/compute/subnet_tests.rb
|
1522
|
-
- tests/models/compute/subnets_tests.rb
|
1523
|
-
- tests/models/compute/volume_tests.rb
|
1524
|
-
- tests/models/compute/volumes_tests.rb
|
1525
|
-
- tests/models/compute/vpc_tests.rb
|
1526
|
-
- tests/models/compute/vpcs_tests.rb
|
1527
|
-
- tests/models/data_pipeline/pipeline_tests.rb
|
1528
|
-
- tests/models/data_pipeline/pipelines_tests.rb
|
1529
|
-
- tests/models/dns/record_tests.rb
|
1530
|
-
- tests/models/dns/records_tests.rb
|
1531
|
-
- tests/models/dns/zone_tests.rb
|
1532
|
-
- tests/models/dns/zones_tests.rb
|
1533
|
-
- tests/models/efs/file_system_tests.rb
|
1534
|
-
- tests/models/efs/mount_target_tests.rb
|
1535
|
-
- tests/models/efs/mount_targets_tests.rb
|
1536
|
-
- tests/models/elasticache/cluster_tests.rb
|
1537
|
-
- tests/models/elasticache/parameter_groups_tests.rb
|
1538
|
-
- tests/models/elasticache/security_groups_tests.rb
|
1539
|
-
- tests/models/elasticache/subnet_groups_tests.rb
|
1540
|
-
- tests/models/elb/model_tests.rb
|
1541
|
-
- tests/models/elb/tagging_tests.rb
|
1542
|
-
- tests/models/glacier/model_tests.rb
|
1543
|
-
- tests/models/iam/access_keys_tests.rb
|
1544
|
-
- tests/models/iam/groups_tests.rb
|
1545
|
-
- tests/models/iam/instance_profile_tests.rb
|
1546
|
-
- tests/models/iam/managed_policies_tests.rb
|
1547
|
-
- tests/models/iam/policies_tests.rb
|
1548
|
-
- tests/models/iam/roles_tests.rb
|
1549
|
-
- tests/models/iam/users_tests.rb
|
1550
|
-
- tests/models/rds/cluster_tests.rb
|
1551
|
-
- tests/models/rds/clusters_tests.rb
|
1552
|
-
- tests/models/rds/event_subscription_tests.rb
|
1553
|
-
- tests/models/rds/event_subscriptions_tests.rb
|
1554
|
-
- tests/models/rds/helper.rb
|
1555
|
-
- tests/models/rds/instance_option_tests.rb
|
1556
|
-
- tests/models/rds/parameter_group_tests.rb
|
1557
|
-
- tests/models/rds/parameter_groups_tests.rb
|
1558
|
-
- tests/models/rds/security_group_tests.rb
|
1559
|
-
- tests/models/rds/security_groups_tests.rb
|
1560
|
-
- tests/models/rds/server_tests.rb
|
1561
|
-
- tests/models/rds/servers_tests.rb
|
1562
|
-
- tests/models/rds/snapshot_tests.rb
|
1563
|
-
- tests/models/rds/snapshots_tests.rb
|
1564
|
-
- tests/models/rds/tagging_tests.rb
|
1565
|
-
- tests/models/sns/topic_tests.rb
|
1566
|
-
- tests/models/sns/topics_tests.rb
|
1567
|
-
- tests/models/storage/directory_tests.rb
|
1568
|
-
- tests/models/storage/file_tests.rb
|
1569
|
-
- tests/models/storage/files_tests.rb
|
1570
|
-
- tests/models/storage/url_tests.rb
|
1571
|
-
- tests/models/storage/version_tests.rb
|
1572
|
-
- tests/models/storage/versions_tests.rb
|
1573
|
-
- tests/models/support/trusted_advisor_tests.rb
|
1574
|
-
- tests/parsers/compute/describe_images_tests.rb
|
1575
|
-
- tests/parsers/elb/describe_load_balancers.rb
|
1576
|
-
- tests/parsers/elbv2/create_load_balancer_tests.rb
|
1577
|
-
- tests/parsers/elbv2/describe_listeners_tests.rb
|
1578
|
-
- tests/parsers/elbv2/describe_load_balancers_tests.rb
|
1579
|
-
- tests/parsers/elbv2/describe_tags_tests.rb
|
1580
|
-
- tests/requests/auto_scaling/auto_scaling_tests.rb
|
1581
|
-
- tests/requests/auto_scaling/describe_types_tests.rb
|
1582
|
-
- tests/requests/auto_scaling/helper.rb
|
1583
|
-
- tests/requests/auto_scaling/model_tests.rb
|
1584
|
-
- tests/requests/auto_scaling/notification_configuration_tests.rb
|
1585
|
-
- tests/requests/auto_scaling/tag_tests.rb
|
1586
|
-
- tests/requests/beanstalk/application_tests.rb
|
1587
|
-
- tests/requests/beanstalk/solution_stack_tests.rb
|
1588
|
-
- tests/requests/cdn/cdn_tests.rb
|
1589
|
-
- tests/requests/cloud_formation/stack_tests.rb
|
1590
|
-
- tests/requests/cloud_watch/get_metric_statistics_tests.rb
|
1591
|
-
- tests/requests/cloud_watch/list_metrics_test.rb
|
1592
|
-
- tests/requests/cloud_watch/put_metric_data_tests.rb
|
1593
|
-
- tests/requests/compute/address_tests.rb
|
1594
|
-
- tests/requests/compute/assign_private_ip_tests.rb
|
1595
|
-
- tests/requests/compute/availability_zone_tests.rb
|
1596
|
-
- tests/requests/compute/client_tests.rb
|
1597
|
-
- tests/requests/compute/dhcp_options_tests.rb
|
1598
|
-
- tests/requests/compute/helper.rb
|
1599
|
-
- tests/requests/compute/image_tests.rb
|
1600
|
-
- tests/requests/compute/instance_attrib_tests.rb
|
1601
|
-
- tests/requests/compute/instance_tests.rb
|
1602
|
-
- tests/requests/compute/internet_gateway_tests.rb
|
1603
|
-
- tests/requests/compute/key_pair_tests.rb
|
1604
|
-
- tests/requests/compute/network_acl_tests.rb
|
1605
|
-
- tests/requests/compute/network_interface_tests.rb
|
1606
|
-
- tests/requests/compute/placement_group_tests.rb
|
1607
|
-
- tests/requests/compute/region_tests.rb
|
1608
|
-
- tests/requests/compute/route_tests.rb
|
1609
|
-
- tests/requests/compute/security_group_tests.rb
|
1610
|
-
- tests/requests/compute/snapshot_tests.rb
|
1611
|
-
- tests/requests/compute/spot_datafeed_subscription_tests.rb
|
1612
|
-
- tests/requests/compute/spot_instance_tests.rb
|
1613
|
-
- tests/requests/compute/spot_price_history_tests.rb
|
1614
|
-
- tests/requests/compute/subnet_tests.rb
|
1615
|
-
- tests/requests/compute/tag_tests.rb
|
1616
|
-
- tests/requests/compute/volume_tests.rb
|
1617
|
-
- tests/requests/compute/vpc_tests.rb
|
1618
|
-
- tests/requests/data_pipeline/helper.rb
|
1619
|
-
- tests/requests/data_pipeline/pipeline_tests.rb
|
1620
|
-
- tests/requests/dns/change_resource_record_sets_tests.rb
|
1621
|
-
- tests/requests/dns/dns_tests.rb
|
1622
|
-
- tests/requests/dns/health_check_tests.rb
|
1623
|
-
- tests/requests/dns/helper.rb
|
1624
|
-
- tests/requests/dynamodb/item_tests.rb
|
1625
|
-
- tests/requests/dynamodb/table_tests.rb
|
1626
|
-
- tests/requests/ecs/cluster_tests.rb
|
1627
|
-
- tests/requests/ecs/container_instance_tests.rb
|
1628
|
-
- tests/requests/ecs/helper.rb
|
1629
|
-
- tests/requests/ecs/sample_task_definition1.json
|
1630
|
-
- tests/requests/ecs/service_tests.rb
|
1631
|
-
- tests/requests/ecs/task_definitions_tests.rb
|
1632
|
-
- tests/requests/ecs/task_tests.rb
|
1633
|
-
- tests/requests/efs/file_system_tests.rb
|
1634
|
-
- tests/requests/efs/helper.rb
|
1635
|
-
- tests/requests/elasticache/cache_cluster_tests.rb
|
1636
|
-
- tests/requests/elasticache/describe_events.rb
|
1637
|
-
- tests/requests/elasticache/describe_reserved_cache_nodes.rb
|
1638
|
-
- tests/requests/elasticache/helper.rb
|
1639
|
-
- tests/requests/elasticache/parameter_group_tests.rb
|
1640
|
-
- tests/requests/elasticache/security_group_tests.rb
|
1641
|
-
- tests/requests/elasticache/subnet_group_tests.rb
|
1642
|
-
- tests/requests/elb/helper.rb
|
1643
|
-
- tests/requests/elb/listener_tests.rb
|
1644
|
-
- tests/requests/elb/load_balancer_tests.rb
|
1645
|
-
- tests/requests/elb/policy_tests.rb
|
1646
|
-
- tests/requests/elbv2/helper.rb
|
1647
|
-
- tests/requests/elbv2/load_balancer_tests.rb
|
1648
|
-
- tests/requests/emr/helper.rb
|
1649
|
-
- tests/requests/emr/instance_group_tests.rb
|
1650
|
-
- tests/requests/emr/job_flow_tests.rb
|
1651
|
-
- tests/requests/federation/get_signin_token_tests.rb
|
1652
|
-
- tests/requests/glacier/archive_tests.rb
|
1653
|
-
- tests/requests/glacier/multipart_upload_tests.rb
|
1654
|
-
- tests/requests/glacier/tree_hash_tests.rb
|
1655
|
-
- tests/requests/glacier/vault_tests.rb
|
1656
|
-
- tests/requests/iam/access_key_tests.rb
|
1657
|
-
- tests/requests/iam/account_policy_tests.rb
|
1658
|
-
- tests/requests/iam/account_tests.rb
|
1659
|
-
- tests/requests/iam/group_policy_tests.rb
|
1660
|
-
- tests/requests/iam/group_tests.rb
|
1661
|
-
- tests/requests/iam/helper.rb
|
1662
|
-
- tests/requests/iam/instance_profile_tests.rb
|
1663
|
-
- tests/requests/iam/login_profile_tests.rb
|
1664
|
-
- tests/requests/iam/managed_policy_tests.rb
|
1665
|
-
- tests/requests/iam/mfa_tests.rb
|
1666
|
-
- tests/requests/iam/role_tests.rb
|
1667
|
-
- tests/requests/iam/server_certificate_tests.rb
|
1668
|
-
- tests/requests/iam/user_policy_tests.rb
|
1669
|
-
- tests/requests/iam/user_tests.rb
|
1670
|
-
- tests/requests/iam/versioned_managed_policy_tests.rb
|
1671
|
-
- tests/requests/kinesis/helper.rb
|
1672
|
-
- tests/requests/kinesis/stream_tests.rb
|
1673
|
-
- tests/requests/kms/helper.rb
|
1674
|
-
- tests/requests/kms/key_tests.rb
|
1675
|
-
- tests/requests/lambda/function_sample_1.js
|
1676
|
-
- tests/requests/lambda/function_sample_2.js
|
1677
|
-
- tests/requests/lambda/function_tests.rb
|
1678
|
-
- tests/requests/lambda/helper.rb
|
1679
|
-
- tests/requests/rds/cluster_snapshot_tests.rb
|
1680
|
-
- tests/requests/rds/cluster_tests.rb
|
1681
|
-
- tests/requests/rds/db_engine_versions.rb
|
1682
|
-
- tests/requests/rds/db_snapshot_tests.rb
|
1683
|
-
- tests/requests/rds/describe_events.rb
|
1684
|
-
- tests/requests/rds/event_subscription_tests.rb
|
1685
|
-
- tests/requests/rds/helper.rb
|
1686
|
-
- tests/requests/rds/instance_option_tests.rb
|
1687
|
-
- tests/requests/rds/instance_tests.rb
|
1688
|
-
- tests/requests/rds/log_file_tests.rb
|
1689
|
-
- tests/requests/rds/parameter_group_tests.rb
|
1690
|
-
- tests/requests/rds/parameter_request_tests.rb
|
1691
|
-
- tests/requests/rds/security_group_tests.rb
|
1692
|
-
- tests/requests/rds/subnet_groups_tests.rb
|
1693
|
-
- tests/requests/rds/tagging_tests.rb
|
1694
|
-
- tests/requests/redshift/cluster_parameter_group_tests.rb
|
1695
|
-
- tests/requests/redshift/cluster_security_group_tests.rb
|
1696
|
-
- tests/requests/redshift/cluster_snapshot_tests.rb
|
1697
|
-
- tests/requests/redshift/cluster_tests.rb
|
1698
|
-
- tests/requests/ses/helper.rb
|
1699
|
-
- tests/requests/ses/verified_domain_identity_tests.rb
|
1700
|
-
- tests/requests/ses/verified_email_address_tests.rb
|
1701
|
-
- tests/requests/simpledb/attributes_tests.rb
|
1702
|
-
- tests/requests/simpledb/domain_tests.rb
|
1703
|
-
- tests/requests/simpledb/helper.rb
|
1704
|
-
- tests/requests/sns/helper.rb
|
1705
|
-
- tests/requests/sns/subscription_tests.rb
|
1706
|
-
- tests/requests/sns/topic_tests.rb
|
1707
|
-
- tests/requests/sqs/helper.rb
|
1708
|
-
- tests/requests/sqs/message_tests.rb
|
1709
|
-
- tests/requests/sqs/queue_tests.rb
|
1710
|
-
- tests/requests/storage/acl_utils_tests.rb
|
1711
|
-
- tests/requests/storage/bucket_tests.rb
|
1712
|
-
- tests/requests/storage/cors_utils_tests.rb
|
1713
|
-
- tests/requests/storage/delete_multiple_objects_tests.rb
|
1714
|
-
- tests/requests/storage/multipart_copy_tests.rb
|
1715
|
-
- tests/requests/storage/multipart_upload_tests.rb
|
1716
|
-
- tests/requests/storage/object_tests.rb
|
1717
|
-
- tests/requests/storage/versioning_tests.rb
|
1718
|
-
- tests/requests/sts/assume_role_tests.rb
|
1719
|
-
- tests/requests/sts/assume_role_with_saml_tests.rb
|
1720
|
-
- tests/requests/sts/assume_role_with_web_identity_tests.rb
|
1721
|
-
- tests/requests/sts/get_federation_token_tests.rb
|
1722
|
-
- tests/requests/sts/session_token_tests.rb
|
1723
|
-
- tests/requests/support/helper.rb
|
1724
|
-
- tests/requests/support/trusted_advisor_check_tests.rb
|
1725
|
-
- tests/signaturev4_tests.rb
|
1726
|
-
- tests/signed_params_tests.rb
|
1727
|
-
- tests/storage_tests.rb
|
1728
1442
|
homepage: https://github.com/fog/fog-aws
|
1729
1443
|
licenses:
|
1730
1444
|
- MIT
|
@@ -1744,7 +1458,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1744
1458
|
- !ruby/object:Gem::Version
|
1745
1459
|
version: '0'
|
1746
1460
|
requirements: []
|
1747
|
-
rubygems_version: 3.
|
1461
|
+
rubygems_version: 3.3.5
|
1748
1462
|
signing_key:
|
1749
1463
|
specification_version: 4
|
1750
1464
|
summary: Module for the 'fog' gem to support Amazon Web Services.
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
@@ -1,124 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
script: bundle exec rake test
|
4
|
-
branches:
|
5
|
-
except:
|
6
|
-
- "/\\Av\\d+\\Z/"
|
7
|
-
matrix:
|
8
|
-
fast_finish: true
|
9
|
-
include:
|
10
|
-
- rvm: 2.3.0
|
11
|
-
gemfile: Gemfile
|
12
|
-
- rvm: 2.3.0
|
13
|
-
gemfile: gemfiles/Gemfile-edge
|
14
|
-
- rvm: 2.4.0
|
15
|
-
gemfile: Gemfile
|
16
|
-
- rvm: 2.4.0
|
17
|
-
gemfile: gemfiles/Gemfile-edge
|
18
|
-
- rvm: 2.5.0
|
19
|
-
gemfile: Gemfile
|
20
|
-
- rvm: 2.5.0
|
21
|
-
gemfile: gemfiles/Gemfile-edge
|
22
|
-
- rvm: 2.6.6
|
23
|
-
gemfile: Gemfile
|
24
|
-
- rvm: 2.6.6
|
25
|
-
gemfile: gemfiles/Gemfile-edge
|
26
|
-
- rvm: 2.7.2
|
27
|
-
gemfile: Gemfile
|
28
|
-
- rvm: 2.7.2
|
29
|
-
gemfile: gemfiles/Gemfile-edge
|
30
|
-
- rvm: 3.0.0
|
31
|
-
gemfile: gemfiles/Gemfile-edge
|
32
|
-
- rvm: jruby-head
|
33
|
-
gemfile: Gemfile
|
34
|
-
# ppc64le specific changes
|
35
|
-
- rvm: 2.3.0
|
36
|
-
gemfile: Gemfile
|
37
|
-
arch: ppc64le
|
38
|
-
- rvm: 2.3.0
|
39
|
-
arch: ppc64le
|
40
|
-
gemfile: gemfiles/Gemfile-edge
|
41
|
-
- rvm: 2.4.0
|
42
|
-
arch: ppc64le
|
43
|
-
gemfile: Gemfile
|
44
|
-
- rvm: 2.4.0
|
45
|
-
arch: ppc64le
|
46
|
-
gemfile: gemfiles/Gemfile-edge
|
47
|
-
- rvm: 2.5.0
|
48
|
-
arch: ppc64le
|
49
|
-
gemfile: Gemfile
|
50
|
-
- rvm: 2.5.0
|
51
|
-
arch: ppc64le
|
52
|
-
gemfile: gemfiles/Gemfile-edge
|
53
|
-
- rvm: 2.6.6
|
54
|
-
arch: ppc64le
|
55
|
-
gemfile: Gemfile
|
56
|
-
- rvm: 2.6.6
|
57
|
-
arch: ppc64le
|
58
|
-
gemfile: gemfiles/Gemfile-edge
|
59
|
-
- rvm: 2.7.2
|
60
|
-
arch: ppc64le
|
61
|
-
gemfile: Gemfile
|
62
|
-
- rvm: 2.7.2
|
63
|
-
arch: ppc64le
|
64
|
-
gemfile: gemfiles/Gemfile-edge
|
65
|
-
- rvm: jruby-head
|
66
|
-
arch: ppc64le
|
67
|
-
gemfile: Gemfile
|
68
|
-
|
69
|
-
allow_failures:
|
70
|
-
- rvm: jruby-head
|
71
|
-
gemfile: Gemfile
|
72
|
-
- rvm: 2.2.0
|
73
|
-
gemfile: gemfiles/Gemfile-edge
|
74
|
-
- rvm: 2.3.0
|
75
|
-
gemfile: gemfiles/Gemfile-edge
|
76
|
-
- rvm: 2.4.0
|
77
|
-
gemfile: gemfiles/Gemfile-edge
|
78
|
-
- rvm: 2.5.0
|
79
|
-
gemfile: gemfiles/Gemfile-edge
|
80
|
-
- rvm: 2.6.6
|
81
|
-
gemfile: gemfiles/Gemfile-edge
|
82
|
-
- rvm: 2.7.2
|
83
|
-
gemfile: gemfiles/Gemfile-edge
|
84
|
-
# ppc64le specific changes
|
85
|
-
- rvm: jruby-head
|
86
|
-
arch: ppc64le
|
87
|
-
gemfile: Gemfile
|
88
|
-
- rvm: 2.2.0
|
89
|
-
arch: ppc64le
|
90
|
-
gemfile: gemfiles/Gemfile-edge
|
91
|
-
- rvm: 2.3.0
|
92
|
-
arch: ppc64le
|
93
|
-
gemfile: gemfiles/Gemfile-edge
|
94
|
-
- rvm: 2.4.0
|
95
|
-
arch: ppc64le
|
96
|
-
gemfile: gemfiles/Gemfile-edge
|
97
|
-
- rvm: 2.5.0
|
98
|
-
arch: ppc64le
|
99
|
-
gemfile: gemfiles/Gemfile-edge
|
100
|
-
- rvm: 2.6.6
|
101
|
-
arch: ppc64le
|
102
|
-
gemfile: gemfiles/Gemfile-edge
|
103
|
-
- rvm: 2.7.2
|
104
|
-
arch: ppc64le
|
105
|
-
gemfile: gemfiles/Gemfile-edge
|
106
|
-
notifications:
|
107
|
-
email: false
|
108
|
-
irc:
|
109
|
-
channels:
|
110
|
-
- irc.freenode.org#ruby-fog
|
111
|
-
template:
|
112
|
-
- "[#%{build_number}] %{message} %{build_url}"
|
113
|
-
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
|
114
|
-
- "[#%{build_number}] %{compare_url}"
|
115
|
-
on_success: always
|
116
|
-
on_failure: always
|
117
|
-
use_notice: false
|
118
|
-
before_install:
|
119
|
-
- gem update bundler
|
120
|
-
env:
|
121
|
-
global:
|
122
|
-
secure: LlDKdKSRo3sEjQ55XesbOXhKZ3RrOtqoD1ZL8Wx39K3iVzeEV3Kc8HjDfEvo7R4pOc3BMTNJcputklVEPN0FkWGN7Py+OEtbHj3IZl0MX+KEWNk0gU+4+sgPrL1eXUQyMUSkCrBsKg08rPel4KMYUOXbtnLyUU9PDbBwm4LJYOc=
|
123
|
-
after_success:
|
124
|
-
- bundle exec codeclimate-test-reporter
|
data/Gemfile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in fog-aws.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
group :test, :default do
|
7
|
-
gem 'pry-nav'
|
8
|
-
gem 'mime-types', '~> 3.1'
|
9
|
-
end
|
10
|
-
|
11
|
-
group :test do
|
12
|
-
gem "simplecov"
|
13
|
-
gem "codeclimate-test-reporter", "~> 1.0.0"
|
14
|
-
end
|
data/Rakefile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "github_changelog_generator/task"
|
3
|
-
|
4
|
-
task :default => :test
|
5
|
-
|
6
|
-
mock = ENV['FOG_MOCK'] || 'true'
|
7
|
-
task :test do
|
8
|
-
sh("export FOG_MOCK=#{mock} && bundle exec shindont")
|
9
|
-
end
|
10
|
-
|
11
|
-
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
12
|
-
config.user = 'fog'
|
13
|
-
config.project = 'fog-aws'
|
14
|
-
end
|