mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove vestigial require on ActiveStorage GCSService
The file `filename.rb` as mentioned in `require "active_storage/filename"`
belongs to the `app` folder while GCSService belongs to the lib folder.
Looking at the git blame, it was added in commit ccac681122 (diff-bda6a610ef1575b2c8458c96b7f12578)
where ActiveStorage::Filename was actually used. But it is no longer
required on master and therefore can be removed.
This allows anyone to use GCSService directly without enabling
ActiveStorage engine.
This commit is contained in:
parent
80a9510b75
commit
637a8cde59
1 changed files with 0 additions and 1 deletions
|
@ -6,7 +6,6 @@ require "google/cloud/storage"
|
|||
require "net/http"
|
||||
|
||||
require "active_support/core_ext/object/to_query"
|
||||
require "active_storage/filename"
|
||||
|
||||
module ActiveStorage
|
||||
# Wraps the Google Cloud Storage as an Active Storage service. See ActiveStorage::Service for the generic API
|
||||
|
|
Loading…
Reference in a new issue