Page MenuHomePhorge

No OneTemporary

Size
3 KB
Referenced Files
None
Subscribers
None
diff --git a/config/config.exs b/config/config.exs
deleted file mode 100644
index e9641b4..0000000
--- a/config/config.exs
+++ /dev/null
@@ -1,30 +0,0 @@
-# This file is responsible for configuring your application
-# and its dependencies with the aid of the Mix.Config module.
-use Mix.Config
-
-# This configuration is loaded before any dependency and is restricted
-# to this project. If another project depends on this project, this
-# file won't be loaded nor affect the parent project. For this reason,
-# if you want to provide default values for your application for
-# 3rd-party users, it should be done in your "mix.exs" file.
-
-# You can configure for your application as:
-#
-# config :remote_ip, key: :value
-#
-# And access this configuration in your application as:
-#
-# Application.get_env(:remote_ip, :key)
-#
-# Or configure a 3rd-party app:
-#
-# config :logger, level: :info
-#
-
-# It is also possible to import configuration files, relative to this
-# directory. For example, you can emulate configuration per environment
-# by uncommenting the line below and defining dev.exs, test.exs and such.
-# Configuration from the imported file will override the ones defined
-# here (which is why it is important to import them last).
-#
-# import_config "#{Mix.env}.exs"
diff --git a/mix.exs b/mix.exs
index ec9f4e0..3aebc8c 100644
--- a/mix.exs
+++ b/mix.exs
@@ -1,30 +1,36 @@
defmodule RemoteIp.Mixfile do
use Mix.Project
def project do
[app: :remote_ip,
version: "0.1.0",
elixir: "~> 1.3",
- build_embedded: Mix.env == :prod,
- start_permanent: Mix.env == :prod,
+ package: package,
description: description,
- deps: deps]
+ deps: deps,
+ docs: [source_url: "https://github.com/ajvondrak/remote_ip"]]
end
- def application do
- [applications: [:plug]]
- end
+ def application, do: [applications: []]
defp description do
"""
A plug to overwrite the Conn's remote_ip based on headers such as
X-Forwarded-For.
"""
end
+ defp package do
+ %{files: ~w[lib mix.exs README.md LICENSE],
+ maintainers: ["Alex Vondrak"],
+ licenses: ["MIT"],
+ links: %{"GitHub" => "https://github.com/ajvondrak/remote_ip"}}
+ end
+
defp deps do
[{:combine, "~> 0.9.2"},
- {:plug, "~> 1.0"},
- {:inet_cidr, "~> 1.0"}]
+ {:plug, "~> 1.2"},
+ {:inet_cidr, "~> 1.0"},
+ {:ex_doc, "~> 0.14", only: :dev}]
end
end
diff --git a/mix.lock b/mix.lock
index a4d9860..0b25b1e 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,4 +1,6 @@
%{"combine": {:hex, :combine, "0.9.2", "cd3c8721f378ebe032487d8a4fa2ced3181a456a3c21b16464da8c46904bb552", [:mix], []},
+ "earmark": {:hex, :earmark, "1.0.2", "a0b0904d74ecc14da8bd2e6e0248e1a409a2bc91aade75fcf428125603de3853", [:mix], []},
+ "ex_doc": {:hex, :ex_doc, "0.14.3", "e61cec6cf9731d7d23d254266ab06ac1decbb7651c3d1568402ec535d387b6f7", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]},
"inet_cidr": {:hex, :inet_cidr, "1.0.1", "9038d0598eb2f7f4b4347c566b773c79e10edfb038633de9f55d538ba2703ac3", [:mix], []},
"mime": {:hex, :mime, "1.0.1", "05c393850524767d13a53627df71beeebb016205eb43bfbd92d14d24ec7a1b51", [:mix], []},
"plug": {:hex, :plug, "1.2.2", "cfbda521b54c92ab8ddffb173fbaabed8d8fc94bec07cd9bb58a84c1c501b0bd", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, optional: true]}, {:mime, "~> 1.0", [hex: :mime, optional: false]}]}}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 5:58 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39989
Default Alt Text
(3 KB)

Event Timeline