Skip to content

Commit

Permalink
Add the Application supervisor name back. Fixes #117
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Jun 22, 2020
1 parent b01e41b commit d29f2be
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Changelog for Money v5.2.1

This is the changelog for Money v5.2.1 released on June 23rd, 2020. For older changelogs please consult the release tag on [GitHub](https://github.com/kipcole9/money/tags)

### Bug Fixes

* Add back the name of the Application supervisor, `Money.Supervisor`. Thanks for the report of the regression to @jeroenvisser101. Fixes #117.

# Changelog for Money v5.2.0

This is the changelog for Money v5.2.0 released on May 30th, 2020. For older changelogs please consult the release tag on [GitHub](https://github.com/kipcole9/money/tags)
Expand Down
3 changes: 2 additions & 1 deletion lib/money/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ defmodule Money.Application do
Money.ExchangeRates.Supervisor
]

supervisor = Supervisor.start_link(children, strategy: :one_for_one)
opts = [strategy: :one_for_one, name: Money.Supervisor]
supervisor = Supervisor.start_link(children, opts)

if start_exchange_rate_service?() do
ExchangeRates.Supervisor.start_retriever()
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Money.Mixfile do
use Mix.Project

@version "5.2.0"
@version "5.2.1"

def project do
[
Expand Down

0 comments on commit d29f2be

Please sign in to comment.