diff --git a/README.md b/README.md index 4f46f81..5585c71 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A thin API wrapper for [Open Exchange Rates](https://openexchangerates.org) First, add OXR to your list of dependencies in `mix.exs`: def deps do - [{:oxr, "~> 0.3.1"}] + [{:oxr, "~> 0.4.0"}] end Second, ensure OXR is started before your application: @@ -20,4 +20,4 @@ A thin API wrapper for [Open Exchange Rates](https://openexchangerates.org) mix escript.build - Then using ./oxr \ No newline at end of file + Then using ./oxr diff --git a/VERSION b/VERSION index 9e11b32..1d0ba9e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.1 +0.4.0 diff --git a/lib/cli.ex b/lib/cli.ex index 9ddc6aa..c6f8e21 100644 --- a/lib/cli.ex +++ b/lib/cli.ex @@ -95,6 +95,7 @@ defmodule OXR.CLI do usage get usage and plan information + --id (required) app id """ end diff --git a/mix.exs b/mix.exs index 0c43b27..7413fcd 100644 --- a/mix.exs +++ b/mix.exs @@ -6,13 +6,13 @@ defmodule OXR.Mixfile do def project do [app: :oxr, version: @version, - elixir: "~> 1.2.3", + elixir: ">= 1.2.3", description: "A thin API wrapper for Open Exchange Rates (https://openexchangerates.org)", - escript: escript, + escript: escript(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, - deps: deps, - package: package] + deps: deps(), + package: package()] end defp escript do @@ -36,8 +36,8 @@ defmodule OXR.Mixfile do # # Type "mix help deps" for more examples and options defp deps do - [{:poison, "~> 2.1"}, - {:httpoison, "~> 0.8.2"}] + [{:poison, ">= 2.1.0"}, + {:httpoison, ">= 0.11.2"}] end defp package do diff --git a/mix.lock b/mix.lock index 62a5fe0..7d34d27 100644 --- a/mix.lock +++ b/mix.lock @@ -1,8 +1,9 @@ -%{"certifi": {:hex, :certifi, "0.4.0"}, - "hackney": {:hex, :hackney, "1.5.7"}, - "httpoison": {:hex, :httpoison, "0.8.2"}, - "idna": {:hex, :idna, "1.2.0"}, - "metrics": {:hex, :metrics, "1.0.1"}, - "mimerl": {:hex, :mimerl, "1.0.2"}, - "poison": {:hex, :poison, "2.1.0"}, - "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.0"}} +%{"certifi": {:hex, :certifi, "1.2.1", "c3904f192bd5284e5b13f20db3ceac9626e14eeacfbb492e19583cf0e37b22be", [:rebar3], [], "hexpm"}, + "hackney": {:hex, :hackney, "1.8.6", "21a725db3569b3fb11a6af17d5c5f654052ce9624219f1317e8639183de4a423", [:rebar3], [{:certifi, "1.2.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "5.0.2", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"}, + "httpoison": {:hex, :httpoison, "0.12.0", "8fc3d791c5afe6beb0093680c667dd4ce712a49d89c38c3fe1a43100dd76cf90", [:mix], [{:hackney, "~> 1.8.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"}, + "idna": {:hex, :idna, "5.0.2", "ac203208ada855d95dc591a764b6e87259cb0e2a364218f215ad662daa8cd6b4", [:rebar3], [{:unicode_util_compat, "0.2.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"}, + "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm"}, + "mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], [], "hexpm"}, + "poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], [], "hexpm"}, + "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:make, :rebar], [], "hexpm"}, + "unicode_util_compat": {:hex, :unicode_util_compat, "0.2.0", "dbbccf6781821b1c0701845eaf966c9b6d83d7c3bfc65ca2b78b88b8678bfa35", [:rebar3], [], "hexpm"}}