From f75e34211bf2b80b81751d00e066ed50491689c0 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Wed, 27 May 2026 20:36:16 +0300 Subject: [PATCH] Update dependencies mix: decimal 3.1.0 => 3.1.1 oban 2.22.1 => 2.23.0 --- lib/music_library/worker/refresh_scrobbles.ex | 2 +- mix.lock | 4 ++-- test/music_library_web/live/collection_live/index_test.exs | 2 +- test/music_library_web/live/maintenance_live/index_test.exs | 2 +- test/music_library_web/live/wishlist_live/index_test.exs | 2 +- test/music_library_web/live_helpers/record_actions_test.exs | 2 +- test/support/data_case.ex | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/music_library/worker/refresh_scrobbles.ex b/lib/music_library/worker/refresh_scrobbles.ex index c54f981c..dd3baecd 100644 --- a/lib/music_library/worker/refresh_scrobbles.ex +++ b/lib/music_library/worker/refresh_scrobbles.ex @@ -9,7 +9,7 @@ defmodule MusicLibrary.Worker.RefreshScrobbles do use Oban.Worker, queue: :last_fm, max_attempts: 3, - unique: [period: 60, states: [:available, :scheduled, :executing]] + unique: [period: 60, states: :incomplete] alias LastFm.{API, Config} alias MusicLibrary.ListeningStats diff --git a/mix.lock b/mix.lock index 3df7791f..b80d1c06 100644 --- a/mix.lock +++ b/mix.lock @@ -10,7 +10,7 @@ "cloak_ecto": {:hex, :cloak_ecto, "1.3.0", "0de127c857d7452ba3c3367f53fb814b0410ff9c680a8d20fbe8b9a3c57a1118", [:mix], [{:cloak, "~> 1.1.1", [hex: :cloak, repo: "hexpm", optional: false]}, {:ecto, "~> 3.0", [hex: :ecto, repo: "hexpm", optional: false]}], "hexpm", "314beb0c123b8a800418ca1d51065b27ba3b15f085977e65c0f7b2adab2de1cc"}, "credo": {:hex, :credo, "1.7.18", "5c5596bf7aedf9c8c227f13272ac499fe8eae6237bd326f2f07dfc173786f042", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "a189d164685fd945809e862fe76a7420c4398fa288d76257662aecb909d6b3e5"}, "db_connection": {:hex, :db_connection, "2.10.1", "d5465f6bcc125c1b8981c1dbf23c193ca16f446ec0b25832dc174f74f18be510", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "18ed94c6e627b4bf452dbd4df61b69a35a1e768525140bc1917b7a685026a6a3"}, - "decimal": {:hex, :decimal, "3.1.0", "9ede268cff827e6f0c4fb1b34747c82630dce5d7b877dfb22ec8f0cb25855fce", [:mix], [], "hexpm", "e8b3efb3bb3a13cb5e4268ffe128569067b1972e9dee013537c71a5b073168f9"}, + "decimal": {:hex, :decimal, "3.1.1", "430d87b04011ce6cbd4fd205be758311a81f87d552d40904abd00f015935b1d0", [:mix], [], "hexpm", "c5f25f2ced74a0587d03e6023f595db8e924c9d3922c8c8ffd9edfc4498cf1f6"}, "deep_merge": {:hex, :deep_merge, "1.0.0", "b4aa1a0d1acac393bdf38b2291af38cb1d4a52806cf7a4906f718e1feb5ee961", [:mix], [], "hexpm", "ce708e5f094b9cd4e8f2be4f00d2f4250c4095be93f8cd6d018c753894885430"}, "dialyxir": {:hex, :dialyxir, "1.4.7", "dda948fcee52962e4b6c5b4b16b2d8fa7d50d8645bbae8b8685c3f9ecb7f5f4d", [:mix], [{:erlex, ">= 0.2.8", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b34527202e6eb8cee198efec110996c25c5898f43a4094df157f8d28f27d9efe"}, "dominant_colors": {:hex, :dominant_colors, "0.1.4", "afdc765c5156ad3eb9016827e86061f778c5b1d4d879977317be80f32be375ba", [:mix], [{:rustler, "~> 0.30.0", [hex: :rustler, repo: "hexpm", optional: true]}, {:rustler_precompiled, "~> 0.7", [hex: :rustler_precompiled, repo: "hexpm", optional: false]}], "hexpm", "8196358f6491a051e84460c622bcbe01ef1daae9e539e13f9b304e3379f09e8b"}, @@ -49,7 +49,7 @@ "nimble_options": {:hex, :nimble_options, "1.1.1", "e3a492d54d85fc3fd7c5baf411d9d2852922f66e69476317787a7b2bb000a61b", [:mix], [], "hexpm", "821b2470ca9442c4b6984882fe9bb0389371b8ddec4d45a9504f00a66f650b44"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"}, "nimble_pool": {:hex, :nimble_pool, "1.1.0", "bf9c29fbdcba3564a8b800d1eeb5a3c58f36e1e11d7b7fb2e084a643f645f06b", [:mix], [], "hexpm", "af2e4e6b34197db81f7aad230c1118eac993acc0dae6bc83bac0126d4ae0813a"}, - "oban": {:hex, :oban, "2.22.1", "9d2a38cec95070b31c1e274fae55f3925089f62159d8f3facabee0454d55b257", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:igniter, "~> 0.5", [hex: :igniter, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: true]}, {:myxql, "~> 0.7", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.20", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 1.3", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "af2508c156c5b0ec30b21b0883babf7e2716af35ed5d264095896103fe3cea37"}, + "oban": {:hex, :oban, "2.23.0", "1867d0fa4e8c7685217b02cc2632e3ee86c93da770e9029ff71304d9e62e53d7", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:igniter, "~> 0.5", [hex: :igniter, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: true]}, {:myxql, "~> 0.7", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.20", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 1.3", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "8e5f0cec5abecce78dd08cb14dc5438db90ec3884987b44773ce76fe60dd3f81"}, "oban_met": {:hex, :oban_met, "1.2.0", "b58d4c5b6149c7c870ffe17ae98d2241bf851f21351c316f7aba03d6c1304045", [:mix], [{:oban, "~> 2.21", [hex: :oban, repo: "hexpm", optional: false]}], "hexpm", "5c81fd33beeb172603cf83bea760298eeb8709d584fbe79ae2d07b09917d6110"}, "oban_web": {:hex, :oban_web, "2.12.5", "b1f22166b39f3f6d5308ef65201253151ad5389ddeacdd401edc60b7f7853427", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: false]}, {:oban, "~> 2.21", [hex: :oban, repo: "hexpm", optional: false]}, {:oban_met, "~> 1.1", [hex: :oban_met, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.7", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 3.3 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 1.0", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:phoenix_pubsub, "~> 2.1", [hex: :phoenix_pubsub, repo: "hexpm", optional: false]}], "hexpm", "c83799073dafba3c53b87696a331901a89010e5caa2077f2dbf7af37dfeea706"}, "owl": {:hex, :owl, "0.13.0", "26010e066d5992774268f3163506972ddac0a7e77bfe57fa42a250f24d6b876e", [:mix], [{:ucwidth, "~> 0.2", [hex: :ucwidth, repo: "hexpm", optional: true]}], "hexpm", "59bf9d11ce37a4db98f57cb68fbfd61593bf419ec4ed302852b6683d3d2f7475"}, diff --git a/test/music_library_web/live/collection_live/index_test.exs b/test/music_library_web/live/collection_live/index_test.exs index 9b578707..8d6d76bb 100644 --- a/test/music_library_web/live/collection_live/index_test.exs +++ b/test/music_library_web/live/collection_live/index_test.exs @@ -1,6 +1,6 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do use MusicLibraryWeb.ConnCase - use Oban.Testing, repo: MusicLibrary.BackgroundRepo + use Oban.Testing, repo: MusicLibrary.BackgroundRepo, engine: Oban.Engines.Lite import MusicBrainz.Fixtures.Release import MusicBrainz.Fixtures.ReleaseGroup diff --git a/test/music_library_web/live/maintenance_live/index_test.exs b/test/music_library_web/live/maintenance_live/index_test.exs index edce835a..b4ea4341 100644 --- a/test/music_library_web/live/maintenance_live/index_test.exs +++ b/test/music_library_web/live/maintenance_live/index_test.exs @@ -1,6 +1,6 @@ defmodule MusicLibraryWeb.MaintenanceLive.IndexTest do use MusicLibraryWeb.ConnCase - use Oban.Testing, repo: MusicLibrary.BackgroundRepo + use Oban.Testing, repo: MusicLibrary.BackgroundRepo, engine: Oban.Engines.Lite import MusicLibrary.ArtistInfoFixtures import MusicLibrary.Fixtures.Records diff --git a/test/music_library_web/live/wishlist_live/index_test.exs b/test/music_library_web/live/wishlist_live/index_test.exs index 37d8eb2f..432ec594 100644 --- a/test/music_library_web/live/wishlist_live/index_test.exs +++ b/test/music_library_web/live/wishlist_live/index_test.exs @@ -1,6 +1,6 @@ defmodule MusicLibraryWeb.WishlistLive.IndexTest do use MusicLibraryWeb.ConnCase - use Oban.Testing, repo: MusicLibrary.BackgroundRepo + use Oban.Testing, repo: MusicLibrary.BackgroundRepo, engine: Oban.Engines.Lite import Ecto.Query, only: [from: 2] import MusicBrainz.Fixtures.ReleaseGroup diff --git a/test/music_library_web/live_helpers/record_actions_test.exs b/test/music_library_web/live_helpers/record_actions_test.exs index e107ad0e..013e6ee5 100644 --- a/test/music_library_web/live_helpers/record_actions_test.exs +++ b/test/music_library_web/live_helpers/record_actions_test.exs @@ -1,6 +1,6 @@ defmodule MusicLibraryWeb.LiveHelpers.RecordActionsTest do use MusicLibraryWeb.ConnCase, async: false - use Oban.Testing, repo: MusicLibrary.BackgroundRepo + use Oban.Testing, repo: MusicLibrary.BackgroundRepo, engine: Oban.Engines.Lite import MusicLibrary.Fixtures.Records diff --git a/test/support/data_case.ex b/test/support/data_case.ex index 3d34f166..70b26824 100644 --- a/test/support/data_case.ex +++ b/test/support/data_case.ex @@ -7,7 +7,7 @@ defmodule MusicLibrary.DataCase do using do quote do - use Oban.Testing, repo: MusicLibrary.BackgroundRepo + use Oban.Testing, repo: MusicLibrary.BackgroundRepo, engine: Oban.Engines.Lite import Ecto import Ecto.Changeset