Skip to content

Commit

Permalink
Remove Geokit gem (#8437)
Browse files Browse the repository at this point in the history
* Remove Geokit gem

* removes `acts_as_mappable`
  • Loading branch information
jywarren authored Sep 29, 2020
1 parent 028a061 commit e92aa27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ gem 'figaro'
gem 'friendly_id'
gem 'gemoji'
gem 'geocoder'
gem 'geokit-rails'
gem 'georuby', '2.0'
gem "google-cloud-storage"
gem 'grape'
Expand Down
6 changes: 0 additions & 6 deletions app/models/drupal_content_type_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ class DrupalContentTypeMap < ApplicationRecord

validates :field_zoom_min_value, presence: true

acts_as_mappable default_units: :miles,
default_formula: :sphere,
distance_field_name: :distance,
lat_column_name: :lat,
lng_column_name: :lng

before_save :truncate_fields

def truncate_fields
Expand Down

0 comments on commit e92aa27

Please sign in to comment.