From 797ae91543f7a0d952738f58e8f6f440a711c81b Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 29 Dec 2019 03:03:51 +0900 Subject: [PATCH] `Google::Cloud::Storage.new` takes keyword arguments --- activestorage/lib/active_storage/service/gcs_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/lib/active_storage/service/gcs_service.rb b/activestorage/lib/active_storage/service/gcs_service.rb index 3a475073ca..f166aee07e 100644 --- a/activestorage/lib/active_storage/service/gcs_service.rb +++ b/activestorage/lib/active_storage/service/gcs_service.rb @@ -137,7 +137,7 @@ module ActiveStorage end def client - @client ||= Google::Cloud::Storage.new(config.except(:bucket)) + @client ||= Google::Cloud::Storage.new(**config.except(:bucket)) end end end