Elixir 1.7.2 / Erlang 21.0.4

pull/507/head
Luke Imhoff 6 years ago
parent 3e4a48785e
commit bf201f1a52
  1. 20
      .circleci/config.yml
  2. 4
      .tool-versions
  3. 4
      README.md
  4. 2
      apps/indexer/lib/indexer/sequence.ex
  5. 2
      mix.lock

@ -3,7 +3,7 @@ jobs:
build: build:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5-node-browsers - image: circleci/elixir:1.7.2-node-browsers
environment: environment:
MIX_ENV: test MIX_ENV: test
# match POSTGRES_PASSWORD for postgres image below # match POSTGRES_PASSWORD for postgres image below
@ -118,7 +118,7 @@ jobs:
check_formatted: check_formatted:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5 - image: circleci/elixir:1.7.2
environment: environment:
MIX_ENV: test MIX_ENV: test
@ -132,7 +132,7 @@ jobs:
credo: credo:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5 - image: circleci/elixir:1.7.2
environment: environment:
MIX_ENV: test MIX_ENV: test
@ -166,7 +166,7 @@ jobs:
dialyzer: dialyzer:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5 - image: circleci/elixir:1.7.2
environment: environment:
MIX_ENV: test MIX_ENV: test
@ -236,7 +236,7 @@ jobs:
gettext: gettext:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5 - image: circleci/elixir:1.7.2
environment: environment:
MIX_ENV: test MIX_ENV: test
@ -275,7 +275,7 @@ jobs:
sobelow: sobelow:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5 - image: circleci/elixir:1.7.2
environment: environment:
MIX_ENV: test MIX_ENV: test
@ -299,7 +299,7 @@ jobs:
test_geth_http: test_geth_http:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5-node-browsers - image: circleci/elixir:1.7.2-node-browsers
environment: environment:
MIX_ENV: test MIX_ENV: test
# match POSTGRES_PASSWORD for postgres image below # match POSTGRES_PASSWORD for postgres image below
@ -349,7 +349,7 @@ jobs:
test_geth_mox: test_geth_mox:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5-node-browsers - image: circleci/elixir:1.7.2-node-browsers
environment: environment:
MIX_ENV: test MIX_ENV: test
# match POSTGRES_PASSWORD for postgres image below # match POSTGRES_PASSWORD for postgres image below
@ -397,7 +397,7 @@ jobs:
test_parity_http: test_parity_http:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5-node-browsers - image: circleci/elixir:1.7.2-node-browsers
environment: environment:
MIX_ENV: test MIX_ENV: test
# match POSTGRES_PASSWORD for postgres image below # match POSTGRES_PASSWORD for postgres image below
@ -448,7 +448,7 @@ jobs:
test_parity_mox: test_parity_mox:
docker: docker:
# Ensure .tool-versions matches # Ensure .tool-versions matches
- image: circleci/elixir:1.6.5-node-browsers - image: circleci/elixir:1.7.2-node-browsers
environment: environment:
MIX_ENV: test MIX_ENV: test
# match POSTGRES_PASSWORD for postgres image below # match POSTGRES_PASSWORD for postgres image below

@ -1,3 +1,3 @@
elixir 1.6.5 elixir 1.7.1
erlang 20.3.2 erlang 21.0.4
nodejs 10.5.0 nodejs 10.5.0

@ -37,8 +37,8 @@ We use [Terraform](https://www.terraform.io/intro/getting-started/install.html)
The [development stack page](https://github.com/poanetwork/poa-explorer/wiki/Development-Stack) contains more information about these frameworks. The [development stack page](https://github.com/poanetwork/poa-explorer/wiki/Development-Stack) contains more information about these frameworks.
* [Erlang/OTP 20.3.2](https://github.com/erlang/otp) * [Erlang/OTP 21.0.4](https://github.com/erlang/otp)
* [Elixir 1.6.5](https://elixir-lang.org/) * [Elixir 1.7.1](https://elixir-lang.org/)
* [Postgres 10.3](https://www.postgresql.org/) * [Postgres 10.3](https://www.postgresql.org/)
* [Node.js 10.5.0](https://nodejs.org/en/) * [Node.js 10.5.0](https://nodejs.org/en/)
* [Automake](https://www.gnu.org/software/automake/) * [Automake](https://www.gnu.org/software/automake/)

@ -212,7 +212,7 @@ defmodule Indexer.Sequence do
{:ok, reducer.(range, initial)} {:ok, reducer.(range, initial)}
end end
defp reduce_chunked_range(first..last = _range, _, step, initial, reducer) do defp reduce_chunked_range(first..last, _, step, initial, reducer) do
{sign, comparator} = {sign, comparator} =
if step > 0 do if step > 0 do
{1, &Kernel.>=/2} {1, &Kernel.>=/2}

@ -21,7 +21,7 @@
"deep_merge": {:hex, :deep_merge, "0.1.1", "c27866a7524a337b6a039eeb8dd4f17d458fd40fbbcb8c54661b71a22fffe846", [:mix], []}, "deep_merge": {:hex, :deep_merge, "0.1.1", "c27866a7524a337b6a039eeb8dd4f17d458fd40fbbcb8c54661b71a22fffe846", [:mix], []},
"dialyxir": {:hex, :dialyxir, "0.5.1", "b331b091720fd93e878137add264bac4f644e1ddae07a70bf7062c7862c4b952", [:mix], []}, "dialyxir": {:hex, :dialyxir, "0.5.1", "b331b091720fd93e878137add264bac4f644e1ddae07a70bf7062c7862c4b952", [:mix], []},
"earmark": {:hex, :earmark, "1.2.5", "4d21980d5d2862a2e13ec3c49ad9ad783ffc7ca5769cf6ff891a4553fbaae761", [:mix], []}, "earmark": {:hex, :earmark, "1.2.5", "4d21980d5d2862a2e13ec3c49ad9ad783ffc7ca5769cf6ff891a4553fbaae761", [:mix], []},
"ecto": {:hex, :ecto, "2.2.8", "a4463c0928b970f2cee722cd29aaac154e866a15882c5737e0038bbfcf03ec2c", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]}, "ecto": {:hex, :ecto, "2.2.8", "a4463c0928b970f2cee722cd29aaac154e866a15882c5737e0038bbfcf03ec2c", [:mix], [{:db_connection, "~> 1.1", [repo: "hexpm", hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [repo: "hexpm", hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [repo: "hexpm", hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [repo: "hexpm", hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [repo: "hexpm", hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [repo: "hexpm", hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [repo: "hexpm", hex: :sbroker, optional: true]}], "hexpm"},
"elixir_make": {:hex, :elixir_make, "0.4.1", "6628b86053190a80b9072382bb9756a6c78624f208ec0ff22cb94c8977d80060", [:mix], []}, "elixir_make": {:hex, :elixir_make, "0.4.1", "6628b86053190a80b9072382bb9756a6c78624f208ec0ff22cb94c8977d80060", [:mix], []},
"ex_abi": {:hex, :ex_abi, "0.1.14", "425eb3dacbc284a907acdd79dd0657a66794bc823ee8ceae06e72f7b997ef48c", [:mix], [{:exth_crypto, "~> 0.1.4", [hex: :exth_crypto, repo: "hexpm", optional: false]}], "hexpm"}, "ex_abi": {:hex, :ex_abi, "0.1.14", "425eb3dacbc284a907acdd79dd0657a66794bc823ee8ceae06e72f7b997ef48c", [:mix], [{:exth_crypto, "~> 0.1.4", [hex: :exth_crypto, repo: "hexpm", optional: false]}], "hexpm"},
"ex_cldr": {:hex, :ex_cldr, "1.3.2", "8f4a00c99d1c537b8e8db7e7903f4bd78d82a7289502d080f70365392b13921b", [:mix], [{:abnf2, "~> 0.1", [hex: :abnf2, optional: false]}, {:decimal, "~> 1.4", [hex: :decimal, optional: false]}, {:gettext, "~> 0.13", [hex: :gettext, optional: true]}, {:poison, "~> 2.1 or ~> 3.0", [hex: :poison, optional: true]}]}, "ex_cldr": {:hex, :ex_cldr, "1.3.2", "8f4a00c99d1c537b8e8db7e7903f4bd78d82a7289502d080f70365392b13921b", [:mix], [{:abnf2, "~> 0.1", [hex: :abnf2, optional: false]}, {:decimal, "~> 1.4", [hex: :decimal, optional: false]}, {:gettext, "~> 0.13", [hex: :gettext, optional: true]}, {:poison, "~> 2.1 or ~> 3.0", [hex: :poison, optional: true]}]},

Loading…
Cancel
Save