Skip to content

Commit

Permalink
chore: Update libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
rai200890 committed Jun 23, 2021
1 parent 275d84f commit ab61f48
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
jobs:
build:
docker:
- image: elixir:1.8.2-alpine
- image: elixir:1.11.4-alpine
name: app
environment:
MIX_ENV: test
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.8.2
erlang 21.3.8
elixir 1.11.4-otp-23
erlang 23.3.2
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.4.0]

### Changed

- Update new_relic_agent to 1.27.3
- Update ecto_sql to 3.6

## [1.3.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM elixir:1.8.2-alpine
FROM elixir:1.11.4-alpine

WORKDIR app

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.4.0
12 changes: 6 additions & 6 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ defmodule EctoJobScheduler.MixProject do

defp deps do
[
{:ecto_job, "~> 3.0"},
{:ecto_sql, "~> 3.4"},
{:ecto_job, "~> 3.1"},
{:ecto_sql, "~> 3.6"},
{:postgrex, ">= 0.0.0"},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.5.6", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:ex_doc, "~> 0.14", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:new_relic_agent, "~> 1.24.3", optional: true},
{:mox, "~> 0.5", only: [:dev, :test], runtime: false}
{:dialyxir, "~> 1.1.0", only: [:dev], runtime: false},
{:new_relic_agent, ">= 1.27.3", optional: true},
{:mox, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
end
35 changes: 18 additions & 17 deletions mix.lock

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions test/job_queue_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ defmodule EctoJobScheduler.JobQueueTest do
assert Repo.all(unquote(job_queue)) == []

assert [
params: %{"type" => "TestJob"},
max_attempts: 5,
attempt: 1,
max_attempts: 5,
params: %{"type" => "TestJob"},
some: "thing"
] = Context.get()
end
Expand Down Expand Up @@ -69,9 +69,9 @@ defmodule EctoJobScheduler.JobQueueTest do
] = Repo.all(unquote(job_queue))

assert [
params: %{"type" => "TestJobError"},
max_attempts: 5,
attempt: 1,
max_attempts: 5,
params: %{"type" => "TestJobError"},
some: "thing"
] = Context.get()
end
Expand All @@ -94,9 +94,9 @@ defmodule EctoJobScheduler.JobQueueTest do
assert Repo.all(unquote(job_queue)) == []

assert [
params: %{"type" => "TestJobNotMultiSuccessful"},
max_attempts: 5,
attempt: 1,
max_attempts: 5,
params: %{"type" => "TestJobNotMultiSuccessful"},
some: "thing"
] = Context.get()
end
Expand Down Expand Up @@ -131,9 +131,9 @@ defmodule EctoJobScheduler.JobQueueTest do
] = Repo.all(unquote(job_queue))

assert [
params: %{"type" => "TestJobNotMultiError"},
max_attempts: 5,
attempt: 1,
max_attempts: 5,
params: %{"type" => "TestJobNotMultiError"},
some: "thing"
] = Context.get()
end
Expand Down

0 comments on commit ab61f48

Please sign in to comment.