Skip to content

Commit

Permalink
RTI 12237 upgrade elixir (#16)
Browse files Browse the repository at this point in the history
* upgrade to elixir 1.12 and newer flow

Fixes: RTI-12237 RTI-8201 RTI-8202
  • Loading branch information
maco authored Jun 2, 2022
1 parent 7067985 commit 4b54114
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions config/config.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
# and its dependencies with the aid of the Config module.
import Config

# This configuration is loaded before any dependency and is restricted
# to this project. If another project depends on this project, this
Expand Down
2 changes: 1 addition & 1 deletion examples/elixir_processor/config/config.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
use Mix.Config
import Config

config :logger, :console, metadata: :all
4 changes: 2 additions & 2 deletions examples/elixir_processor/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule ElixirProcessor.MixProject do
[
app: :elixir_processor,
version: "0.1.0",
elixir: "~> 1.7",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps()
]
Expand All @@ -21,7 +21,7 @@ defmodule ElixirProcessor.MixProject do

defp deps do
[
{:exmld, "~> 0.1.9"}
{:exmld, "~> 1.0.2"}
]
end
end
8 changes: 4 additions & 4 deletions examples/erlang_processor/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

{deps, [
{exmld,
{elixir, "exmld", "0.1.8"}},
{erlmld, "1.0.0"},
{git, "exmld", "1.0.2"}},
{erlmld, "1.0.2"},

%% these are deps of exmld. they need to be here so `rebar3
%% shell` works properly:
{flow,
{elixir, "flow", "0.14.2"}},
{elixir, "flow", "1.2"}},
{gen_stage,
{elixir, "gen_stage", "0.14.0"}}
{elixir, "gen_stage", "1.1.12"}}
]}.

{relx, [{release, { erlang_processor, "0.1.0" },
Expand Down
9 changes: 4 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
defmodule Exmld.Mixfile do
use Mix.Project

@version "1.0.1"
@version "1.0.2"
@name "exmld"
@repo "https://github.com/AdRoll/#{@name}"

def project do
[
app: :exmld,
version: @version,
elixir: "~> 1.5",
elixir: "~> 1.12",
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
Expand All @@ -24,14 +24,13 @@ defmodule Exmld.Mixfile do
def application do
[
extra_applications: [:logger],
applications: [:flow]
]
end

defp deps do
[
{:flow, "~> 0.14.2"},
{:erlmld, "~> 1.0.1"},
{:flow, "~> 1.2"},
{:erlmld, "~> 1.0.2"},
{:ex_doc, "~> 0.16", only: :dev, runtime: false}
]
end
Expand Down
8 changes: 4 additions & 4 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%{
"earmark_parser": {:hex, :earmark_parser, "1.4.13", "0c98163e7d04a15feb62000e1a891489feb29f3d10cb57d4f845c405852bbef8", [:mix], [], "hexpm", "d602c26af3a0af43d2f2645613f65841657ad6efc9f0e361c3b6c06b578214ba"},
"erlexec": {:hex, :erlexec, "1.10.9", "3cbb3476f942bfb8b68b85721c21c1835061cf6dd35f5285c2362e85b100ddc7", [:rebar3], [], "hexpm", "271e5b5f2d91cdb9887efe74d89026c199bfc69f074cade0d08dab60993fa14e"},
"erlmld": {:hex, :erlmld, "1.0.1", "2bf2209bbae349cea5c42ffdd33ff88f9e5761d68bfe96ad8e6755cd46f3b8af", [:rebar3], [{:erlexec, "1.10.9", [hex: :erlexec, repo: "hexpm", optional: false]}, {:jiffy, "1.0.8", [hex: :jiffy, repo: "hexpm", optional: false]}], "hexpm", "76dc2da19d5585f1fb8ca9fcf25022ae0cc8178557e07a098358a134000bda62"},
"erlmld": {:hex, :erlmld, "1.0.2", "a3dad389e0f07d3ad0bc9e99ead5ab1e3527365a9eb7169945098c1e8e504d6b", [:rebar3], [{:erlexec, "1.10.9", [hex: :erlexec, repo: "hexpm", optional: false]}, {:jiffy, "1.1.1", [hex: :jiffy, repo: "hexpm", optional: false]}], "hexpm", "c35739e93864da3321f6f316771b8e9712bc590fb6f67dd08403d3c901076aa3"},
"ex_doc": {:hex, :ex_doc, "0.24.2", "e4c26603830c1a2286dae45f4412a4d1980e1e89dc779fcd0181ed1d5a05c8d9", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "e134e1d9e821b8d9e4244687fb2ace58d479b67b282de5158333b0d57c6fb7da"},
"flow": {:hex, :flow, "0.14.3", "0d92991fe53035894d24aa8dec10dcfccf0ae00c4ed436ace3efa9813a646902", [:mix], [{:gen_stage, "~> 0.14.0", [hex: :gen_stage, repo: "hexpm", optional: false]}], "hexpm", "da6177f8d04f663a2894e38f9b55b293c69cb230c60f81bb8c090eb713aa4a45"},
"gen_stage": {:hex, :gen_stage, "0.14.3", "d0c66f1c87faa301c1a85a809a3ee9097a4264b2edf7644bf5c123237ef732bf", [:mix], [], "hexpm", "8453e2289d94c3199396eb517d65d6715ef26bcae0ee83eb5ff7a84445458d76"},
"jiffy": {:hex, :jiffy, "1.0.8", "60e36f00be35e5ac6e6cf2d4caf3bdf3103d4460aff385f543a8d7df2d6d9613", [:rebar3], [], "hexpm", "f9ae986ba5a0854eb48cf6a76192d9367086da86c20197da430630be7c087a4e"},
"flow": {:hex, :flow, "1.2.0", "515e03aa3d056cecc3e3f1e80f6ca4bbf5f45b13c88dee5db880b2f3f24f1caa", [:mix], [{:gen_stage, "~> 1.0", [hex: :gen_stage, repo: "hexpm", optional: false]}], "hexpm", "1b45bfc8a9202c5ec80b077c21df133561e56c56189ba4082dddccb6b5762525"},
"gen_stage": {:hex, :gen_stage, "1.1.2", "b1656cd4ba431ed02c5656fe10cb5423820847113a07218da68eae5d6a260c23", [:mix], [], "hexpm", "9e39af23140f704e2b07a3e29d8f05fd21c2aaf4088ff43cb82be4b9e3148d02"},
"jiffy": {:hex, :jiffy, "1.1.1", "aca10f47aa91697bf24ab9582c74e00e8e95474c7ef9f76d4f1a338d0f5de21b", [:rebar3], [], "hexpm", "62e1f0581c3c19c33a725c781dfa88410d8bff1bbafc3885a2552286b4785c4c"},
"makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"},
"makeup_elixir": {:hex, :makeup_elixir, "0.15.1", "b5888c880d17d1cc3e598f05cdb5b5a91b7b17ac4eaf5f297cb697663a1094dd", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.1", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "db68c173234b07ab2a07f645a5acdc117b9f99d69ebf521821d89690ae6c6ec8"},
"makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"},
Expand Down

0 comments on commit 4b54114

Please sign in to comment.