Sha256: 39185596d8e57cf1e707707d265470082b3b49cced8743a81ba1078629694750

Contents?: true

Size: 413 Bytes

Versions: 62

Compression:

Stored size: 413 Bytes

Contents

Geocoder.configure(
  logger: Rails.logger,
  http_proxy: ENV['HTTP_PROXY'],
  https_proxy: ENV['HTTPS_PROXY']
)

if Workarea.redis && Rails.configuration.action_controller.perform_caching
  Geocoder.configure(
    cache: Workarea::AutoexpireCacheRedis.new(Workarea.redis)
  )
end

if Rails.application.secrets.geocoder.present?
  Geocoder.configure(Rails.application.secrets.geocoder.merge(use_https: true))
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 config/initializers/09_geocoder.rb
workarea-core-3.4.12 config/initializers/09_geocoder.rb