Sha256: ac35a307abe00335d8db5d17e56584fef43fc8007954dac978e553e353197389

Contents?: true

Size: 191 Bytes

Versions: 7

Compression:

Stored size: 191 Bytes

Contents

# frozen_string_literal: true

if defined?(Geocoder)
  Geocoder.configure(
    ip_lookup: :geoip2,
    geoip2: {
      file: Rails.root.join('db', 'maxmind/GeoLite2-City.mmdb')
    }
  )
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/config/initializers/geocoder.rb
kowl-0.0.6 lib/kowl/templates/config/initializers/geocoder.rb
kowl-0.0.5 lib/kowl/templates/config/initializers/geocoder.rb
kowl-0.0.4 lib/kowl/templates/config/initializers/geocoder.rb
kowl-0.0.3 lib/kowl/templates/config/initializers/geocoder.rb
kowl-0.0.2 lib/kowl/templates/config/initializers/geocoder.rb
kowl-0.0.1 lib/kowl/templates/config/initializers/geocoder.rb