From 9467c800e50c495cbf07d02569b1a3e843bf1b94 Mon Sep 17 00:00:00 2001 From: akash-akya Date: Mon, 29 Jul 2024 22:19:45 +0530 Subject: [PATCH] Increase minimum supported elixir version to v1.12 --- .github/workflows/ci.yaml | 6 ------ lib/vix/vips/image.ex | 2 +- mix.exs | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ce5136..6bab86f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,12 +11,6 @@ jobs: strategy: matrix: include: - - elixir: 1.9.x - otp: 22.x - - elixir: 1.10.x - otp: 23.x - - elixir: 1.11.x - otp: 23.x - elixir: 1.12.x otp: 23.x - elixir: 1.13.x diff --git a/lib/vix/vips/image.ex b/lib/vix/vips/image.ex index 6d0cd56..7631853 100644 --- a/lib/vix/vips/image.ex +++ b/lib/vix/vips/image.ex @@ -278,7 +278,7 @@ defmodule Vix.Vips.Image do end # We can do this as a guard in later Elixir versions but - # Vix is intendede to run on a wide range of Elixir versions. + # Vix is intended to run on a wide range of Elixir versions. defp single_step_range?(%Range{} = range) do Map.get(range, :step) == 1 || !Map.has_key?(range, :step) diff --git a/mix.exs b/mix.exs index 4fb9960..a20a15a 100644 --- a/mix.exs +++ b/mix.exs @@ -8,7 +8,7 @@ defmodule Vix.MixProject do [ app: :vix, version: @version, - elixir: "~> 1.7", + elixir: "~> 1.12", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), compilers: [:elixir_make] ++ Mix.compilers(),