Prefer mimetype columnar store if available to reduce mem footprint

This commit is contained in:
Steve Bazyl 2016-06-23 12:44:06 -07:00
parent edb841310f
commit d8286f642c
1 changed files with 7 additions and 1 deletions

View File

@ -17,8 +17,14 @@ require 'google/apis/core/http_command'
require 'google/apis/core/api_command'
require 'google/apis/errors'
require 'addressable/uri'
require 'mime-types'
require 'tempfile'
begin
require 'mime/types/columnar'
rescue LoadError
# Temporary until next major bump when we can tighten
# dependency to mime-types >-=3.0
require 'mime-types'
end
module Google
module Apis