Skip to content

Commit

Permalink
Remove geo from our setup
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Dec 2, 2024
1 parent 611e154 commit 67ecb3a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV home .

# Must have packages
RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends vim curl tmux wget netcat geoip-database \
&& apt-get install -y --no-install-recommends vim curl tmux wget netcat \
&& rm -rf /var/lib/apt/lists/*

COPY Gemfile* /srv/app/
Expand Down
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ group :test do
gem 'selenium-webdriver'
end

gem 'geocoder', '~> 1.8'

gem 'geoip', '~> 1.6'

gem 'blazer', '~> 3.1'
52 changes: 24 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/epugh/angular-rails-templates.git
revision: c45588bec096089e51d84ee3461736f000dff87a
revision: a5e008d7993c30e72281e6c5246f2d75b2762fee
branch: bump_rails_8
specs:
angular-rails-templates (1.3.0)
Expand Down Expand Up @@ -153,7 +153,7 @@ GEM
csv (3.3.0)
d3-rails (3.5.17)
railties (>= 3.1)
date (3.4.0)
date (3.4.1)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
Expand Down Expand Up @@ -191,31 +191,27 @@ GEM
erubi (1.13.0)
et-orbi (1.2.11)
tzinfo
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
faraday (2.12.1)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.3.0)
net-http
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
foreman (0.88.1)
fugit (1.11.1)
et-orbi (~> 1, >= 1.2.11)
raabro (~> 1.4)
geocoder (1.8.3)
base64 (>= 0.1.0)
csv (>= 3.0.0)
geoip (1.6.4)
get_process_mem (1.0.0)
bigdecimal (>= 2.0)
ffi (~> 1.0)
globalid (1.2.1)
activesupport (>= 6.1)
hashdiff (1.1.1)
hashdiff (1.1.2)
hashie (5.0.0)
heapy (0.2.0)
thor
Expand Down Expand Up @@ -262,7 +258,7 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
local_time (3.0.2)
logger (1.6.1)
logger (1.6.2)
loofah (2.23.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand All @@ -276,7 +272,7 @@ GEM
memory_profiler (1.1.0)
mini_histogram (0.3.1)
mini_mime (1.1.5)
minitest (5.25.1)
minitest (5.25.2)
minitest-reporters (1.7.1)
ansi
builder
Expand All @@ -292,16 +288,16 @@ GEM
railties (>= 7.1)
stimulus-rails
turbo-rails
mocha (2.6.0)
mocha (2.6.1)
ruby2_keywords (>= 0.0.5)
msgpack (1.7.3)
msgpack (1.7.5)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
mutex_m (0.2.0)
mutex_m (0.3.0)
mysql2 (0.5.6)
net-http (0.4.1)
net-http (0.6.0)
uri
net-imap (0.5.0)
net-imap (0.5.1)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -346,7 +342,7 @@ GEM
actionpack (>= 4.2)
omniauth (~> 2.0)
orm_adapter (0.5.0)
ostruct (0.6.0)
ostruct (0.6.1)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
Expand All @@ -360,7 +356,8 @@ GEM
cmdstan (>= 0.2)
numo-narray (>= 0.9.1.7)
rover-df
psych (5.2.0)
psych (5.2.1)
date
stringio
public_suffix (6.0.1)
puma (6.5.0)
Expand All @@ -372,8 +369,9 @@ GEM
rack (3.1.8)
rack-cors (2.0.2)
rack (>= 2.0.0)
rack-protection (4.0.0)
rack-protection (4.1.1)
base64 (>= 0.1.0)
logger (>= 1.6.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
Expand Down Expand Up @@ -424,10 +422,10 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rdoc (6.7.0)
rdoc (6.8.1)
psych (>= 4.0.0)
regexp_parser (2.9.2)
reline (0.5.11)
regexp_parser (2.9.3)
reline (0.5.12)
io-console (~> 0.5)
responders (3.1.1)
actionpack (>= 5.2)
Expand All @@ -445,7 +443,7 @@ GEM
rubocop-ast (>= 1.36.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.1)
rubocop-ast (1.36.2)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
Expand All @@ -469,7 +467,7 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
securerandom (0.3.2)
securerandom (0.4.0)
selenium-webdriver (4.27.0)
base64 (~> 0.2)
logger (~> 1.4)
Expand Down Expand Up @@ -572,8 +570,6 @@ DEPENDENCIES
devise_invitable (~> 2.0)
error_highlight (>= 0.4.0)
foreman
geocoder (~> 1.8)
geoip (~> 1.6)
importmap-rails (~> 2.0)
intercom-rails
jbuilder (~> 2.7)
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/ahoy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ class Store < Ahoy::DatabaseStore
# set to true for geocoding (and add the geocoder gem to your Gemfile)
# we recommend configuring local geocoding as well
# see https://github.com/ankane/ahoy#geocoding
Ahoy.geocode = true
Ahoy.geocode = false
9 changes: 0 additions & 9 deletions config/initializers/geocoder.rb

This file was deleted.

0 comments on commit 67ecb3a

Please sign in to comment.