diff --git a/README.md b/README.md index 19f4a9c..aa7edde 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # YandexTranslate A simple Elixir interface to Cloud Yandex Translate's translation API diff --git a/assets/yandex_translate.png b/assets/yandex_translate.png new file mode 100644 index 0000000..080751f Binary files /dev/null and b/assets/yandex_translate.png differ diff --git a/assets/yandex_translate.svg b/assets/yandex_translate.svg new file mode 100644 index 0000000..492b461 --- /dev/null +++ b/assets/yandex_translate.svg @@ -0,0 +1,17 @@ + + + + yandex_translate + Created with Sketch. + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/yandex_translate@2x.png b/assets/yandex_translate@2x.png new file mode 100644 index 0000000..2a33a68 Binary files /dev/null and b/assets/yandex_translate@2x.png differ diff --git a/mix.exs b/mix.exs index 3154f27..2065f87 100755 --- a/mix.exs +++ b/mix.exs @@ -1,6 +1,9 @@ -defmodule YandexTranslate.Mixfile do +defmodule YandexTranslate.MixProject do use Mix.Project + @version "0.3.0" + # @repo_url "https://github.com/negrienko/yandex_translate" + @repo_url "https://gl.negrienko.com/negrienko/yandex_translate" @description """ Translate word and phrases using the Yandex Translate API. See README.md for information. """ @@ -8,14 +11,20 @@ defmodule YandexTranslate.Mixfile do def project do [ app: :yandex_translate, - version: "0.1.0", + version: @version, elixir: "~> 1.8", description: @description, build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, package: package(), deps: deps(), - source_url: "https://gl.negrienko.com/negrienko/yandex_translate" + # source_url: @repo_url, + docs: [ + logo: "assets/yandex_translate.svg", + main: "YandexTranslate", + source_ref: @version, + source_url: @repo_url + ] ] end @@ -33,6 +42,7 @@ defmodule YandexTranslate.Mixfile do {:jason, "~> 1.1.2"}, {:mint, "~> 0.3.0"}, {:castore, "~> 0.1.2"}, + {:ex_spec, "~> 2.0.1", only: :test}, {:ex_doc, "~> 0.20.2", only: :dev}, {:remix, "~> 0.0.2", only: :dev} ] @@ -42,7 +52,7 @@ defmodule YandexTranslate.Mixfile do [ maintainers: ["Danylo Negriienko"], licenses: ["MIT"], - links: %{"git" => "https://gl.negrienko.com/negrienko/yandex_translate"} + links: %{"git" => @repo_url} ] end end diff --git a/mix.lock b/mix.lock index 064477a..fad3a10 100644 --- a/mix.lock +++ b/mix.lock @@ -4,6 +4,7 @@ "certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm"}, "earmark": {:hex, :earmark, "1.3.2", "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5", [:mix], [], "hexpm"}, "ex_doc": {:hex, :ex_doc, "0.20.2", "1bd0dfb0304bade58beb77f20f21ee3558cc3c753743ae0ddbb0fd7ba2912331", [:mix], [{:earmark, "~> 1.3", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"}, + "ex_spec": {:hex, :ex_spec, "2.0.1", "8bdbd6fa85995fbf836ed799571d44be6f9ebbcace075209fd0ad06372c111cf", [:mix], [], "hexpm"}, "hackney": {:hex, :hackney, "1.15.1", "9f8f471c844b8ce395f7b6d8398139e26ddca9ebc171a8b91342ee15a19963f4", [:rebar3], [{:certifi, "2.5.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.4", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"}, "httpoison": {:hex, :httpoison, "1.5.1", "0f55b5b673b03c5c327dac7015a67cb571b99b631acc0bc1b0b98dcd6b9f2104", [:mix], [{:hackney, "~> 1.8", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"}, "idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"},