Sha256: da72b93a0ffb06c5dd26f87c8e5a146b2a01042821ffb7c89deac5af4ce6b00c

Contents?: true

Size: 486 Bytes

Versions: 9

Compression:

Stored size: 486 Bytes

Contents

MagicAddresses.configure do |config|
  # in which locales addresses should be saved
  config.active_locales = [:en, :de]
  # what is the default language (should be :en, except you don't need english at all)
  config.default_locale = :en
  # what is the default country (for lookup)
  config.default_country = "Germany"
  # use a background-process for the lookups
  config.job_backend = :none
  # use a postgres earthdistance for distance calculation
  config.earthdistance = false
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
magic_addresses-0.0.12 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.11 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.10 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.9 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.8 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.7 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.6 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.5 lib/generators/magic_addresses/templates/magic_initializer.rb
magic_addresses-0.0.4 lib/generators/magic_addresses/templates/magic_initializer.rb