Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
epinault committed Nov 9, 2023
1 parent 7354991 commit 1d651f0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
erlang 25.3.2.2
elixir 1.14.5
elixir 1.15.6
erlang 25.2
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 0.6.0 (2023-11-08)

### Changed
- support for Elixir 1.15. Bump some package dependencies
- change to use Uniq lib rather than the unmaintained elixir_uuid

## 0.5.0 (2023-08-16)

### Changed
Expand All @@ -13,4 +19,4 @@
* Use Redix instead of ExRedis as the adapter
* Bump Elixir version to 1.11
* Retool the internals of the library to use modern Elixir conventions
* Updates to the test suite so it can run against live redis in test
* Updates to the test suite so it can run against live redis in test
2 changes: 1 addition & 1 deletion lib/redis_mutex/lock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule RedisMutex.Lock do
key = unquote(key)
timeout = unquote(timeout)
expiry = unquote(expiry)
uuid = UUID.uuid1()
uuid = Uniq.UUID.uuid1()

RedisMutex.Lock.take_lock(key, uuid, timeout, expiry)

Expand Down
12 changes: 6 additions & 6 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ defmodule RedisMutex.Mixfile do
use Mix.Project

@source_url "https://github.com/podium/redis_mutex"
@version "0.5.0"
@version "0.6.0"

def project do
[
app: :redis_mutex,
version: @version,
elixir: "~> 1.11",
elixir: "~> 1.13",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description:
Expand All @@ -27,12 +27,12 @@ defmodule RedisMutex.Mixfile do

defp deps do
[
{:redix, ">= 0.0.0"},
{:elixir_uuid, "~> 1.2"},
{:redix, "~> 1.2"},
{:uniq, "~> 0.6"},

# Dev and test dependencies
{:credo, "~> 1.6", only: [:dev, :test]},
{:ex_doc, "~> 0.29", only: :dev}
{:credo, "~> 1.7", only: [:dev, :test]},
{:ex_doc, "~> 0.30", only: :dev}
]
end

Expand Down
1 change: 1 addition & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
"nimble_parsec": {:hex, :nimble_parsec, "1.3.1", "2c54013ecf170e249e9291ed0a62e5832f70a476c61da16f6aac6dca0189f2af", [:mix], [], "hexpm", "2682e3c0b2eb58d90c6375fc0cc30bc7be06f365bf72608804fb9cffa5e1b167"},
"redix": {:hex, :redix, "1.3.0", "f4121163ff9d73bf72157539ff23b13e38422284520bb58c05e014b19d6f0577", [:mix], [{:castore, "~> 0.1.0 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:nimble_options, "~> 0.5.0 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "60d483d320c77329c8cbd3df73007e51b23f3fae75b7693bc31120d83ab26131"},
"telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"},
"uniq": {:hex, :uniq, "0.6.1", "369660ecbc19051be526df3aa85dc393af5f61f45209bce2fa6d7adb051ae03c", [:mix], [{:ecto, "~> 3.0", [hex: :ecto, repo: "hexpm", optional: true]}], "hexpm", "6426c34d677054b3056947125b22e0daafd10367b85f349e24ac60f44effb916"},
}
2 changes: 1 addition & 1 deletion test/application_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule RedisMutex.ApplicationTest do
Tests various configuration scenarios
"""

use ExUnit.Case
use ExUnit.Case, async: false
doctest RedisMutex

setup do
Expand Down

0 comments on commit 1d651f0

Please sign in to comment.