From dd50144bcd4dbd605995123ab5afc99e40e9a630 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 30 Jun 2017 19:12:58 +0200 Subject: First sketching --- Gemfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Gemfile (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000000..dbddb9f913 --- /dev/null +++ b/Gemfile @@ -0,0 +1,6 @@ +source 'https://rubygems.org' + +gemspec + +gem 'rake' +gem 'byebug' -- cgit v1.2.3 From 182445e1b4b2e12542457ba32f255a0cc2f01910 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 1 Jul 2017 12:47:13 +0200 Subject: Test blobs with real db backend --- Gemfile | 1 + 1 file changed, 1 insertion(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index dbddb9f913..5d3b906243 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,4 @@ gemspec gem 'rake' gem 'byebug' +gem 'sqlite3' \ No newline at end of file -- cgit v1.2.3 From cc2c5f428ae0606fe37050772c248bafafd187f0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 2 Jul 2017 16:47:28 +0200 Subject: Start on S3 site --- Gemfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 5d3b906243..d502c9387e 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,6 @@ gemspec gem 'rake' gem 'byebug' -gem 'sqlite3' \ No newline at end of file + +gem 'sqlite3' +gem 'aws-sdk' \ No newline at end of file -- cgit v1.2.3 From 52171ac2788183816cd5e8b145ab4408a7310978 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Mon, 3 Jul 2017 17:54:57 -0400 Subject: Add a Google Cloud Storage site --- Gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index d502c9387e..af514f135e 100644 --- a/Gemfile +++ b/Gemfile @@ -6,4 +6,5 @@ gem 'rake' gem 'byebug' gem 'sqlite3' -gem 'aws-sdk' \ No newline at end of file +gem 'aws-sdk' +gem 'google-cloud' -- cgit v1.2.3 From efd950ae706cfbb55dffebd5d0c85e30acfd7a45 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 4 Jul 2017 16:44:50 +0200 Subject: Use lazy-loaded factory method for site configuration --- Gemfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index af514f135e..60b2596c53 100644 --- a/Gemfile +++ b/Gemfile @@ -6,5 +6,6 @@ gem 'rake' gem 'byebug' gem 'sqlite3' -gem 'aws-sdk' -gem 'google-cloud' + +gem 'aws-sdk', require: false +gem 'google-cloud', require: false -- cgit v1.2.3 From c9846fc0e8d4faf4f4686c5bfe548431cdae837c Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Fri, 7 Jul 2017 06:17:56 -0400 Subject: Bundle google-cloud-storage instead of the full Google SDK --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 60b2596c53..1797d20194 100644 --- a/Gemfile +++ b/Gemfile @@ -8,4 +8,4 @@ gem 'byebug' gem 'sqlite3' gem 'aws-sdk', require: false -gem 'google-cloud', require: false +gem 'google-cloud-storage', require: false -- cgit v1.2.3 From a19d943f1de7d856d74ff8a0e1806da99be26076 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 9 Jul 2017 18:03:13 +0200 Subject: Direct uploads for S3 --- Gemfile | 1 + 1 file changed, 1 insertion(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 1797d20194..8e2031ed85 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ gem 'rake' gem 'byebug' gem 'sqlite3' +gem 'httparty' gem 'aws-sdk', require: false gem 'google-cloud-storage', require: false -- cgit v1.2.3 From 9cf33478991b9fab663d5502342729b98eafa2bd Mon Sep 17 00:00:00 2001 From: Dino Maric Date: Mon, 10 Jul 2017 12:09:28 +0200 Subject: Scope aws-skd to version 2 (#34) Since we use new aws-sdk API, I've scoped aws-sdk version so someone doesn't accidentaly installs wrong version during the development. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 8e2031ed85..a757a5c793 100644 --- a/Gemfile +++ b/Gemfile @@ -8,5 +8,5 @@ gem 'byebug' gem 'sqlite3' gem 'httparty' -gem 'aws-sdk', require: false +gem 'aws-sdk', '~> 2', require: false gem 'google-cloud-storage', require: false -- cgit v1.2.3 From 1966c188cfb06b39a47082e2f6c6e33a43668ae5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 11 Jul 2017 18:53:17 +0200 Subject: Very incomplete first stab --- Gemfile | 1 + 1 file changed, 1 insertion(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index a757a5c793..c4ecf50bbe 100644 --- a/Gemfile +++ b/Gemfile @@ -10,3 +10,4 @@ gem 'httparty' gem 'aws-sdk', '~> 2', require: false gem 'google-cloud-storage', require: false +gem 'mini_magick' -- cgit v1.2.3 From afb7047e52dd6dae160b60b74a0c7efaf536933c Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 12 Jul 2017 10:01:12 -0600 Subject: Update GCSService#url Update google-cloud-storage dependency to 1.3 Refactor arguments to Google::Cloud::Storage::File#signed_url --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index a757a5c793..75e07016da 100644 --- a/Gemfile +++ b/Gemfile @@ -9,4 +9,4 @@ gem 'sqlite3' gem 'httparty' gem 'aws-sdk', '~> 2', require: false -gem 'google-cloud-storage', require: false +gem 'google-cloud-storage', '~> 1.3', require: false -- cgit v1.2.3 From 6dcdc5c9abb8e4e93a2c582b11ff4bb77d62ed3b Mon Sep 17 00:00:00 2001 From: Cristian Bica Date: Fri, 14 Jul 2017 01:09:56 +0300 Subject: Added rubocop / codeclimate config and fixed current offenses (#45) --- Gemfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 75e07016da..d2d6db9065 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,14 @@ -source 'https://rubygems.org' +source "https://rubygems.org" gemspec -gem 'rake' -gem 'byebug' +gem "rake" +gem "byebug" -gem 'sqlite3' -gem 'httparty' +gem "sqlite3" +gem "httparty" -gem 'aws-sdk', '~> 2', require: false -gem 'google-cloud-storage', '~> 1.3', require: false +gem "aws-sdk", "~> 2", require: false +gem "google-cloud-storage", "~> 1.3", require: false + +gem "rubocop", require: false -- cgit v1.2.3 From a6df4515522c4b977a7739b7eab3fc54d9098a45 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Fri, 14 Jul 2017 18:26:27 -0400 Subject: Depend on Rails >= 5.2.0.alpha --- Gemfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index d2d6db9065..7154892086 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,14 @@ source "https://rubygems.org" +git_source(:github) { |repo_path| "https://github.com/#{repo_path}.git" } + gemspec +gem "activesupport", github: "rails/rails" +gem "activerecord", github: "rails/rails" +gem "actionpack", github: "rails/rails" +gem "activejob", github: "rails/rails" + gem "rake" gem "byebug" -- cgit v1.2.3 From 710957b20a24d0c62219cb7cc229c52905d74b3d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 20 Jul 2017 14:04:54 -0500 Subject: Double confetti --- Gemfile | 2 -- 1 file changed, 2 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index adc1e320e2..953b85ccfe 100644 --- a/Gemfile +++ b/Gemfile @@ -18,8 +18,6 @@ gem "httparty" gem "aws-sdk", "~> 2", require: false gem "google-cloud-storage", "~> 1.3", require: false -gem 'aws-sdk', '~> 2', require: false -gem 'google-cloud-storage', require: false gem 'mini_magick' gem "rubocop", require: false -- cgit v1.2.3 From b44b0f2c3b61beefbf5bcaadbf74f70137ded52e Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 22 Jul 2017 13:14:46 +0900 Subject: Fix RuboCop offenses and warnings --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 953b85ccfe..7be644d80c 100644 --- a/Gemfile +++ b/Gemfile @@ -18,6 +18,6 @@ gem "httparty" gem "aws-sdk", "~> 2", require: false gem "google-cloud-storage", "~> 1.3", require: false -gem 'mini_magick' +gem "mini_magick" gem "rubocop", require: false -- cgit v1.2.3 From 347dc166324c108b4a9c25c5ab03222a2f42b1d0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 23 Jul 2017 13:19:32 -0500 Subject: VerifiedKeyWithExpiration no longer needed Thanks to rails/rails#29854! This does mean that we now depend on rails/rails master. --- Gemfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 7be644d80c..55b0deec27 100644 --- a/Gemfile +++ b/Gemfile @@ -4,10 +4,7 @@ git_source(:github) { |repo_path| "https://github.com/#{repo_path}.git" } gemspec -gem "activesupport", github: "rails/rails" -gem "activerecord", github: "rails/rails" -gem "actionpack", github: "rails/rails" -gem "activejob", github: "rails/rails" +gem "rails", github: "rails/rails" gem "rake" gem "byebug" -- cgit v1.2.3 From 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58 Mon Sep 17 00:00:00 2001 From: Dino Maric Date: Mon, 31 Jul 2017 17:09:12 +0200 Subject: Azure Storage support (#36) * Microsoft Azure storage support * Add support for Microsoft Azure Storage * Comply with the new headers implementation --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 55b0deec27..b8b6e80176 100644 --- a/Gemfile +++ b/Gemfile @@ -14,6 +14,9 @@ gem "httparty" gem "aws-sdk", "~> 2", require: false gem "google-cloud-storage", "~> 1.3", require: false +# Contains fix to be able to test using StringIO +gem 'azure-core', git: "https://github.com/dixpac/azure-ruby-asm-core.git" +gem 'azure-storage', require: false gem "mini_magick" -- cgit v1.2.3 From 16d00247f3f205225967e99a24186d8a871acde6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 31 Jul 2017 15:53:09 -0500 Subject: Bring activestorage dependencies into the general Gemfile --- Gemfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 9a07908885..541f2e8c81 100644 --- a/Gemfile +++ b/Gemfile @@ -92,6 +92,19 @@ group :cable do gem "sprockets-export", require: false end +group :storage do + gem "httparty" + + gem "aws-sdk", "~> 2", require: false + gem "google-cloud-storage", "~> 1.3", require: false + + # Contains fix to be able to test using StringIO + gem 'azure-core', git: "https://github.com/dixpac/azure-ruby-asm-core.git" + gem 'azure-storage', require: false + + gem "mini_magick" +end + # Add your own local bundler stuff. local_gemfile = File.expand_path(".Gemfile", __dir__) instance_eval File.read local_gemfile if File.exist? local_gemfile -- cgit v1.2.3 From 98bb99ef61902c1073cc51a52ab7954c0ca922a5 Mon Sep 17 00:00:00 2001 From: claudiob Date: Tue, 1 Aug 2017 10:56:39 -0700 Subject: Don't depend on HTTParty "httparty" is only added in #30020 to write two tests to make PUT requests against S3 and GCS. The same requests can be made with net/http, removing a dependency from the Gemfile. --- Gemfile | 2 -- 1 file changed, 2 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 541f2e8c81..f2b0ca3a4e 100644 --- a/Gemfile +++ b/Gemfile @@ -93,8 +93,6 @@ group :cable do end group :storage do - gem "httparty" - gem "aws-sdk", "~> 2", require: false gem "google-cloud-storage", "~> 1.3", require: false -- cgit v1.2.3 From 815d1abf3962d65c0bb9043c99a507580b4360df Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 3 Aug 2017 03:13:11 +0900 Subject: Fix `Style/StringLiterals` violations for Active Storage ``` % be rubocop -a --only Style/StringLiterals activestorage Inspecting 74 files ........................................CCCCCCCCCC.C........CC.......C.C.. (snip) 74 files inspected, 31 offenses detected, 31 offenses corrected ``` --- Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index ac9af87ca9..03fb3271be 100644 --- a/Gemfile +++ b/Gemfile @@ -97,8 +97,8 @@ group :storage do gem "google-cloud-storage", "~> 1.3", require: false # Contains fix to be able to test using StringIO - gem 'azure-core', git: "https://github.com/dixpac/azure-ruby-asm-core.git" - gem 'azure-storage', require: false + gem "azure-core", git: "https://github.com/dixpac/azure-ruby-asm-core.git" + gem "azure-storage", require: false gem "mini_magick" end -- cgit v1.2.3 From 053e556df1a45705f9bbd236551a465a391fc12e Mon Sep 17 00:00:00 2001 From: dixpac Date: Wed, 2 Aug 2017 09:38:03 +0200 Subject: Depend on offical azure-core No need to depend on my fork anymore, they've just release fix officially. --- Gemfile | 3 --- 1 file changed, 3 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 03fb3271be..4b86ad6931 100644 --- a/Gemfile +++ b/Gemfile @@ -95,9 +95,6 @@ end group :storage do gem "aws-sdk", "~> 2", require: false gem "google-cloud-storage", "~> 1.3", require: false - - # Contains fix to be able to test using StringIO - gem "azure-core", git: "https://github.com/dixpac/azure-ruby-asm-core.git" gem "azure-storage", require: false gem "mini_magick" -- cgit v1.2.3