From: Tom Hughes Date: Wed, 3 Jul 2019 20:48:25 +0000 (+0100) Subject: Add support for using S3 as the object store X-Git-Tag: live~3030^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/77026ee0398dfb5d049dbc0d3359b2c7b3d9309e Add support for using S3 as the object store --- diff --git a/Gemfile b/Gemfile index 06530b731..0a00a6496 100644 --- a/Gemfile +++ b/Gemfile @@ -126,6 +126,9 @@ gem "mimemagic" # Used for browser detection gem "browser" +# Used for S3 object storage +gem "aws-sdk-s3" + # Used to resize user images gem "mini_magick" diff --git a/Gemfile.lock b/Gemfile.lock index a29ad9989..467166f0f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -60,6 +60,22 @@ GEM ast (2.4.0) autoprefixer-rails (8.6.5) execjs + aws-eventstream (1.0.3) + aws-partitions (1.184.0) + aws-sdk-core (3.59.0) + aws-eventstream (~> 1.0, >= 1.0.2) + aws-partitions (~> 1.0) + aws-sigv4 (~> 1.1) + jmespath (~> 1.0) + aws-sdk-kms (1.23.0) + aws-sdk-core (~> 3, >= 3.58.0) + aws-sigv4 (~> 1.1) + aws-sdk-s3 (1.45.0) + aws-sdk-core (~> 3, >= 3.58.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.1) + aws-sigv4 (1.1.0) + aws-eventstream (~> 1.0, >= 1.0.2) better_errors (2.5.1) coderay (>= 1.0.0) erubi (>= 1.0.0) @@ -206,6 +222,7 @@ GEM image_size (2.0.1) in_threads (1.5.2) jaro_winkler (1.5.3) + jmespath (1.4.0) jquery-rails (4.3.5) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) @@ -447,6 +464,7 @@ DEPENDENCIES activerecord-import annotate autoprefixer-rails (~> 8.6.3) + aws-sdk-s3 better_errors bigdecimal (~> 1.1.0) binding_of_caller