Skip to content

Commit

Permalink
Bump Elixir requirement to match Kino
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Aug 15, 2024
1 parent b44f4ab commit 2ccfb7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule KinoDB.MixProject do
version: @version,
description: @description,
name: "KinoDB",
elixir: "~> 1.13",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
Expand Down
9 changes: 3 additions & 6 deletions test/kino_db/sql_cell_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ defmodule KinoDB.SQLCellTest do
conn_pid = spawn_fake_postgrex_connection()

binding = [non_conn: self(), conn: conn_pid]
# TODO: Use Code.env_for_eval on Elixir v1.14+
env = :elixir.env_for_eval([])
env = Code.env_for_eval([])
SQLCell.scan_binding(kino.pid, binding, env)

connection = %{variable: "conn", type: "postgres"}
Expand All @@ -59,8 +58,7 @@ defmodule KinoDB.SQLCellTest do
conn_pid = spawn_fake_postgrex_connection()

binding = [conn: conn_pid]
# TODO: Use Code.env_for_eval on Elixir v1.14+
env = :elixir.env_for_eval([])
env = Code.env_for_eval([])
SQLCell.scan_binding(kino.pid, binding, env)

current_connection = %{variable: "conn1", type: "postgres"}
Expand All @@ -79,8 +77,7 @@ defmodule KinoDB.SQLCellTest do
conn_pid = spawn_fake_postgrex_connection()

binding = [conn: conn_pid]
# TODO: Use Code.env_for_eval on Elixir v1.14+
env = :elixir.env_for_eval([])
env = Code.env_for_eval([])
SQLCell.scan_binding(kino.pid, binding, env)

connection = %{variable: "conn", type: "postgres"}
Expand Down

0 comments on commit 2ccfb7d

Please sign in to comment.