Commit 4fe97b0e authored by Mikko Ahlroth's avatar Mikko Ahlroth

Bump deps

parent f8b9f350
......@@ -5,6 +5,8 @@ defmodule CodeStatsWeb.GeoIPPlug do
Contains also utility functions for dealing with the GeoIP information.
"""
alias Geolix.Adapter.MMDB2
@geoip_key :_codestats_geoip_data
# Round to this many decimal places to prevent being too accurate and preserve privacy
......@@ -26,8 +28,8 @@ defmodule CodeStatsWeb.GeoIPPlug do
def get_coords(conn) do
case conn.private[@geoip_key] do
%{
city: %Geolix.Result.City{
location: %Geolix.Record.Location{
city: %MMDB2.Result.City{
location: %MMDB2.Record.Location{
latitude: lat,
longitude: lon
}
......
......@@ -4,7 +4,7 @@ defmodule CodeStats.Mixfile do
def project do
[
app: :code_stats,
version: "2.0.4",
version: "2.0.5",
elixir: "~> 1.6",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
......@@ -55,19 +55,19 @@ defmodule CodeStats.Mixfile do
{:gettext, "~> 0.15"},
{:cowboy, "~> 1.0"},
{:comeonin, "~> 4.1.1"},
{:bcrypt_elixir, "~> 1.0.4"},
{:number, "~> 0.5.4"},
{:earmark, "~> 1.2.3", only: :dev},
{:bcrypt_elixir, "~> 1.0"},
{:number, "~> 1.0.0"},
{:earmark, "~> 1.3", only: :dev},
{:ex_doc, "~> 0.18", only: :dev},
{:calendar, "~> 0.17.4"},
{:bamboo, "~> 1.0.0"},
{:bamboo, "~> 1.0"},
{:corsica, "~> 1.1.0"},
{:appsignal, "~> 1.4"},
{:mbu, "~> 3.0.0", runtime: false},
{:geolix, "~> 0.16.0"},
{:geolix, "~> 0.17.0"},
{:geolite2data, "~> 0.0.3"},
{:remote_ip, "~> 0.1.3"},
{:distillery, "~> 1.5.2", runtime: false},
{:distillery, "~> 2.0", runtime: false},
{:absinthe, "~> 1.4.13"},
{:absinthe_plug, "~> 1.4.5"},
{:ex2ms, "~> 1.5"},
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment