diff --git a/CHANGELOG.md b/CHANGELOG.md index edfc06f1..f4ec315f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fixed a bug where points from Immich and Photoprism did not have lonlat attribute set. #1318 +## Changed + +- Geocoder is now being installed from a private fork for debugging purposes. + # 0.27.4 - 2025-06-06 diff --git a/Gemfile b/Gemfile index 8026ad26..504b4811 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,7 @@ gem 'bootsnap', require: false gem 'chartkick' gem 'data_migrate' gem 'devise' -gem 'geocoder' +gem 'geocoder', github: 'Freika/geocoder', branch: 'master' gem 'gpx' gem 'groupdate' gem 'httparty' diff --git a/Gemfile.lock b/Gemfile.lock index d3f394e2..8fe529cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,12 @@ +GIT + remote: https://github.com/Freika/geocoder.git + revision: 12ac3e659fc5b57c1ffd12f04b8cad2f73d0939c + branch: master + specs: + geocoder (1.8.5) + base64 (>= 0.1.0) + csv (>= 3.0.0) + GEM remote: https://rubygems.org/ specs: @@ -162,9 +171,6 @@ GEM fugit (1.11.1) et-orbi (~> 1, >= 1.2.11) raabro (~> 1.4) - geocoder (1.8.5) - base64 (>= 0.1.0) - csv (>= 3.0.0) globalid (1.2.1) activesupport (>= 6.1) gpx (1.2.0) @@ -533,7 +539,7 @@ DEPENDENCIES factory_bot_rails ffaker foreman - geocoder + geocoder! gpx groupdate httparty diff --git a/config/initializers/geocoder.rb b/config/initializers/geocoder.rb index 05dff3e1..60b61bed 100644 --- a/config/initializers/geocoder.rb +++ b/config/initializers/geocoder.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true settings = { + debug_mode: true, timeout: 5, units: :km, cache: Geocoder::CacheStore::Generic.new(Rails.cache, {}),