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.5.27 config/initializers/09_geocoder.rb
workarea-core-3.5.26 config/initializers/09_geocoder.rb
workarea-core-3.4.45 config/initializers/09_geocoder.rb
workarea-core-3.5.25 config/initializers/09_geocoder.rb
workarea-core-3.5.23 config/initializers/09_geocoder.rb
workarea-core-3.4.44 config/initializers/09_geocoder.rb
workarea-core-3.5.22 config/initializers/09_geocoder.rb
workarea-core-3.4.43 config/initializers/09_geocoder.rb
workarea-core-3.5.21 config/initializers/09_geocoder.rb
workarea-core-3.4.42 config/initializers/09_geocoder.rb
workarea-core-3.5.20 config/initializers/09_geocoder.rb
workarea-core-3.4.41 config/initializers/09_geocoder.rb
workarea-core-3.5.19 config/initializers/09_geocoder.rb
workarea-core-3.4.40 config/initializers/09_geocoder.rb
workarea-core-3.5.18 config/initializers/09_geocoder.rb
workarea-core-3.4.39 config/initializers/09_geocoder.rb
workarea-core-3.5.17 config/initializers/09_geocoder.rb
workarea-core-3.4.38 config/initializers/09_geocoder.rb
workarea-core-3.5.16 config/initializers/09_geocoder.rb
workarea-core-3.4.37 config/initializers/09_geocoder.rb