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.27 config/initializers/09_geocoder.rb
workarea-core-3.5.4 config/initializers/09_geocoder.rb
workarea-core-3.4.26 config/initializers/09_geocoder.rb
workarea-core-3.5.3 config/initializers/09_geocoder.rb
workarea-core-3.4.25 config/initializers/09_geocoder.rb
workarea-core-3.5.2 config/initializers/09_geocoder.rb
workarea-core-3.4.24 config/initializers/09_geocoder.rb
workarea-core-3.5.1 config/initializers/09_geocoder.rb
workarea-core-3.4.23 config/initializers/09_geocoder.rb
workarea-core-3.4.22 config/initializers/09_geocoder.rb
workarea-core-3.5.0 config/initializers/09_geocoder.rb
workarea-core-3.4.21 config/initializers/09_geocoder.rb
workarea-core-3.5.0.beta.1 config/initializers/09_geocoder.rb
workarea-core-3.4.20 config/initializers/09_geocoder.rb
workarea-core-3.4.19 config/initializers/09_geocoder.rb
workarea-core-3.4.18 config/initializers/09_geocoder.rb
workarea-core-3.4.17 config/initializers/09_geocoder.rb
workarea-core-3.4.16 config/initializers/09_geocoder.rb
workarea-core-3.4.15 config/initializers/09_geocoder.rb
workarea-core-3.4.14 config/initializers/09_geocoder.rb