Skip to content

Commit

Permalink
Poison version downgrade and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
craigp committed Oct 23, 2016
1 parent ebcbdd1 commit 0f2dac8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/slack_logger_backend/format_helper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule SlackLoggerBackend.FormatHelper do
Formats a log event for Slack.
"""
def format_event({level, message, module, function, file, line}) do
IO.puts "MESSAGE: #{message}"
{:ok, event} = %{attachments: [%{
fallback: "An #{level} level event has occurred: #{message}",
pretext: message,
Expand Down Expand Up @@ -44,7 +43,6 @@ defmodule SlackLoggerBackend.FormatHelper do
Formats a log event for Slack.
"""
def format_event({level, message, application, module, function, file, line}) do
IO.puts "MESSAGE: #{message}"
{:ok, event} = %{attachments: [%{
fallback: "An #{level} level event has occurred: #{message}",
pretext: message,
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule SlackLoggerBackend.Mixfile do
[
app: :slack_logger_backend,
description: "A logger backend for posting errors to Slack.",
version: "0.1.14",
version: "0.1.15",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
Expand All @@ -23,7 +23,7 @@ defmodule SlackLoggerBackend.Mixfile do
defp deps do
[
{:httpoison, "~> 0.8"},
{:poison, "~> 3.0"},
{:poison, "~> 2.2"},
{:gen_stage, "~> 0.7.0"},
{:poolboy, "~> 1.5.1"},
{:excoveralls, "~> 0.5", only: :test},
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"mime": {:hex, :mime, "1.0.1", "05c393850524767d13a53627df71beeebb016205eb43bfbd92d14d24ec7a1b51", [:mix], []},
"mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], []},
"plug": {:hex, :plug, "1.2.2", "cfbda521b54c92ab8ddffb173fbaabed8d8fc94bec07cd9bb58a84c1c501b0bd", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, optional: true]}, {:mime, "~> 1.0", [hex: :mime, optional: false]}]},
"poison": {:hex, :poison, "3.0.0", "625ebd64d33ae2e65201c2c14d6c85c27cc8b68f2d0dd37828fde9c6920dd131", [:mix], []},
"poison": {:hex, :poison, "2.2.0", "4763b69a8a77bd77d26f477d196428b741261a761257ff1cf92753a0d4d24a63", [:mix], []},
"poolboy": {:hex, :poolboy, "1.5.1", "6b46163901cfd0a1b43d692657ed9d7e599853b3b21b95ae5ae0a777cf9b6ca8", [:rebar], []},
"ranch": {:hex, :ranch, "1.2.1", "a6fb992c10f2187b46ffd17ce398ddf8a54f691b81768f9ef5f461ea7e28c762", [:make], []},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:rebar, :make], []},
Expand Down

0 comments on commit 0f2dac8

Please sign in to comment.