Skip to content

Commit 4b54114

Browse files
authored
RTI 12237 upgrade elixir (#16)
* upgrade to elixir 1.12 and newer flow Fixes: RTI-12237 RTI-8201 RTI-8202
1 parent 7067985 commit 4b54114

File tree

6 files changed

+17
-18
lines changed

6 files changed

+17
-18
lines changed

config/config.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is responsible for configuring your application
2-
# and its dependencies with the aid of the Mix.Config module.
3-
use Mix.Config
2+
# and its dependencies with the aid of the Config module.
3+
import Config
44

55
# This configuration is loaded before any dependency and is restricted
66
# to this project. If another project depends on this project, this
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
use Mix.Config
1+
import Config
22

33
config :logger, :console, metadata: :all

examples/elixir_processor/mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule ElixirProcessor.MixProject do
55
[
66
app: :elixir_processor,
77
version: "0.1.0",
8-
elixir: "~> 1.7",
8+
elixir: "~> 1.12",
99
start_permanent: Mix.env() == :prod,
1010
deps: deps()
1111
]
@@ -21,7 +21,7 @@ defmodule ElixirProcessor.MixProject do
2121

2222
defp deps do
2323
[
24-
{:exmld, "~> 0.1.9"}
24+
{:exmld, "~> 1.0.2"}
2525
]
2626
end
2727
end

examples/erlang_processor/rebar.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
{deps, [
55
{exmld,
6-
{elixir, "exmld", "0.1.8"}},
7-
{erlmld, "1.0.0"},
6+
{git, "exmld", "1.0.2"}},
7+
{erlmld, "1.0.2"},
88

99
%% these are deps of exmld. they need to be here so `rebar3
1010
%% shell` works properly:
1111
{flow,
12-
{elixir, "flow", "0.14.2"}},
12+
{elixir, "flow", "1.2"}},
1313
{gen_stage,
14-
{elixir, "gen_stage", "0.14.0"}}
14+
{elixir, "gen_stage", "1.1.12"}}
1515
]}.
1616

1717
{relx, [{release, { erlang_processor, "0.1.0" },

mix.exs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
defmodule Exmld.Mixfile do
22
use Mix.Project
33

4-
@version "1.0.1"
4+
@version "1.0.2"
55
@name "exmld"
66
@repo "https://github.com/AdRoll/#{@name}"
77

88
def project do
99
[
1010
app: :exmld,
1111
version: @version,
12-
elixir: "~> 1.5",
12+
elixir: "~> 1.12",
1313
start_permanent: Mix.env == :prod,
1414
deps: deps(),
1515
package: package(),
@@ -24,14 +24,13 @@ defmodule Exmld.Mixfile do
2424
def application do
2525
[
2626
extra_applications: [:logger],
27-
applications: [:flow]
2827
]
2928
end
3029

3130
defp deps do
3231
[
33-
{:flow, "~> 0.14.2"},
34-
{:erlmld, "~> 1.0.1"},
32+
{:flow, "~> 1.2"},
33+
{:erlmld, "~> 1.0.2"},
3534
{:ex_doc, "~> 0.16", only: :dev, runtime: false}
3635
]
3736
end

mix.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%{
22
"earmark_parser": {:hex, :earmark_parser, "1.4.13", "0c98163e7d04a15feb62000e1a891489feb29f3d10cb57d4f845c405852bbef8", [:mix], [], "hexpm", "d602c26af3a0af43d2f2645613f65841657ad6efc9f0e361c3b6c06b578214ba"},
33
"erlexec": {:hex, :erlexec, "1.10.9", "3cbb3476f942bfb8b68b85721c21c1835061cf6dd35f5285c2362e85b100ddc7", [:rebar3], [], "hexpm", "271e5b5f2d91cdb9887efe74d89026c199bfc69f074cade0d08dab60993fa14e"},
4-
"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"},
4+
"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"},
55
"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"},
6-
"flow": {:hex, :flow, "0.14.3", "0d92991fe53035894d24aa8dec10dcfccf0ae00c4ed436ace3efa9813a646902", [:mix], [{:gen_stage, "~> 0.14.0", [hex: :gen_stage, repo: "hexpm", optional: false]}], "hexpm", "da6177f8d04f663a2894e38f9b55b293c69cb230c60f81bb8c090eb713aa4a45"},
7-
"gen_stage": {:hex, :gen_stage, "0.14.3", "d0c66f1c87faa301c1a85a809a3ee9097a4264b2edf7644bf5c123237ef732bf", [:mix], [], "hexpm", "8453e2289d94c3199396eb517d65d6715ef26bcae0ee83eb5ff7a84445458d76"},
8-
"jiffy": {:hex, :jiffy, "1.0.8", "60e36f00be35e5ac6e6cf2d4caf3bdf3103d4460aff385f543a8d7df2d6d9613", [:rebar3], [], "hexpm", "f9ae986ba5a0854eb48cf6a76192d9367086da86c20197da430630be7c087a4e"},
6+
"flow": {:hex, :flow, "1.2.0", "515e03aa3d056cecc3e3f1e80f6ca4bbf5f45b13c88dee5db880b2f3f24f1caa", [:mix], [{:gen_stage, "~> 1.0", [hex: :gen_stage, repo: "hexpm", optional: false]}], "hexpm", "1b45bfc8a9202c5ec80b077c21df133561e56c56189ba4082dddccb6b5762525"},
7+
"gen_stage": {:hex, :gen_stage, "1.1.2", "b1656cd4ba431ed02c5656fe10cb5423820847113a07218da68eae5d6a260c23", [:mix], [], "hexpm", "9e39af23140f704e2b07a3e29d8f05fd21c2aaf4088ff43cb82be4b9e3148d02"},
8+
"jiffy": {:hex, :jiffy, "1.1.1", "aca10f47aa91697bf24ab9582c74e00e8e95474c7ef9f76d4f1a338d0f5de21b", [:rebar3], [], "hexpm", "62e1f0581c3c19c33a725c781dfa88410d8bff1bbafc3885a2552286b4785c4c"},
99
"makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"},
1010
"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"},
1111
"makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"},

0 commit comments

Comments
 (0)