Skip to content

Commit fb005ae

Browse files
committed
Version 2.1.0
1 parent 4931ab5 commit fb005ae

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

docs/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ GEM
267267
ethon (>= 0.9.0)
268268
tzinfo (1.2.9)
269269
thread_safe (~> 0.1)
270-
tzinfo-data (1.2021.1)
270+
tzinfo-data (1.2021.2)
271271
tzinfo (>= 1.0.0)
272272
unf (0.1.4)
273273
unf_ext

docs/additional_info/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 2.1.0 (27-Sep-2021)
4+
5+
* Prevent HTTPoison from leaking errors to higher modules (thanks, @dragonwasrobot).
6+
* Fixed docs (thanks, @kianmeng).
7+
38
## 2.0.0 (20-Sep-2021)
49

510
* Reworked configuration (thanks, @dragonwasrobot). Instead of saying `config :your_app, api_token: "LOKALISE_API_TOKEN"`, you should now provide config in the following way:

lib/elixir_lokalise_api/config.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ defmodule ElixirLokaliseApi.Config do
3535
|> read_from_system(default)
3636
end
3737

38+
# coveralls-ignore-start
3839
defp read_from_system({:system, env}, default), do: System.get_env(env) || default
40+
# coveralls-ignore-stop
3941
defp read_from_system(value, _default), do: value
4042
end

lib/elixir_lokalise_api/request.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ defmodule ElixirLokaliseApi.Request do
3434
else
3535
{:error, error} ->
3636
# HTTPoison error
37+
# coveralls-ignore-start
3738
{:error, error.reason}
39+
# coveralls-ignore-end
3840

3941
{:error, data, status} ->
4042
# Processor error

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule ElixirLokaliseApi.MixProject do
22
use Mix.Project
33

44
@source_url "https://github.com/lokalise/elixir-lokalise-api"
5-
@version "2.0.0"
5+
@version "2.1.0"
66

77
def project do
88
[

0 commit comments

Comments
 (0)